Function at 0x437d60
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f959
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x47b0b0]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x47b0b0]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0x20
sub eax, edx
push eax
mov eax, dword [esp + 0x24]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.004206d0
lea eax, [edi + 0x24]
push eax
mov ecx, ebx
call fcn.00423240
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x112], 1
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x178], 0
mov eax, dword [0x47ced8]
cmp byte [eax], 0
jne 0x437ed0
lea ecx, [esp + 0x11c]
call fcn.00420760
lea ecx, [esp + 0x24]
mov byte [esp + 0x178], 1
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x437e8c
push eax
lea ecx, [esp + 0x120]
call fcn.00436bb0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x437ea1
push eax
call fcn.0044e444
add esp, 4
mov ecx, dword [esp + 0x11c]
call fcn.004208a0
mov byte [esp + 0x178], 0
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x120]
cmp eax, ecx
je 0x437ed0
push eax
call fcn.0044e444
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
sub eax, 2
je 0x437fa3
sub eax, 2
jne 0x437fdb
mov esi, dword [0x47f320]
mov eax, dword [edi]
test esi, esi
cmove esi, dword [0x47f324]
push 0x471c94
mov ecx, edi
call dword [eax + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4380b8
mov eax, dword [0x47f320]
test eax, eax
cmove eax, dword [0x47f324]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
push esi
test eax, eax
jne 0x437f49
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x6c]
call fcn.0041feb0
jmp 0x4380da
mov eax, dword [0x47f320]
test eax, eax
cmove eax, dword [0x47f324]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x437f3b
push ebx
call fcn.0044cff1
add esp, 4
mov dword [0x47f334], eax
test eax, eax
je 0x437f90
push ebx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x47f334]
call fcn.00450620
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, ebx
call fcn.00420920
lea ebx, [edi + 0x2c]
jmp 0x437fdb
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov byte [esp + 0x178], 2
mov ecx, dword [eax]
call fcn.004209a0
mov byte [esp + 0x178], 0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x437fdb
push eax
call fcn.0044e444
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [esp + 0x24]
push ecx
cmp eax, 3
mov eax, dword [edi]
mov ecx, edi
jne 0x438032
call dword [eax + 0x24]
push dword [eax]
call fcn.0044d503
movzx esi, ax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
add esp, 4
cmp eax, ecx
je 0x438015
push eax
call fcn.0044e444
add esp, 4
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push 0x471c98
push esi
lea ecx, [esp + 0x80]
call fcn.0041e0c0
mov esi, eax
jmp 0x438078
lea esi, [edi + 0x28]
call dword [eax + 0x24]
push 0
push ebx
push esi
mov byte [esp + 0x184], 3
mov ecx, dword [eax]
push 0
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x80]
call fcn.0041e0c0
mov esi, eax
mov byte [esp + 0x178], 0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x438078
push eax
call fcn.0044e444
add esp, 4
test esi, esi
jne 0x438097
push 0x10
push str.Duilib
push 0x471ca4
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.004225a0
lea eax, [edi + 0x20]
push eax
mov ecx, ebx
call fcn.00423150
mov eax, dword [edi]
mov ecx, edi
mov byte [edi + 0xe4], 1
call dword [eax + 0x18]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4380c9
push eax
call fcn.0044e444
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4380da
push eax
call fcn.0044e444
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0044d04f
mov esp, ebp
pop ebp
ret 0x10