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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ccc6c
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4f86c0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4f86c0]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub eax, edx
mov ecx, dword [esp + 0x14]
push 0x20
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 + 0x3c]
mov ecx, ebx
call fcn.0042d590
lea eax, [edi + 0x34]
mov ecx, ebx
push eax
call fcn.00430550
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov byte [esp + 0x1e8], 1
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x290], 0
mov eax, dword [0x4f97b0]
cmp word [eax], 0
jne 0x4321ea
lea ecx, [esp + 0x1f4]
call fcn.0042d620
mov byte [esp + 0x290], 1
lea ecx, [esp + 0x24]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4321a6
push eax
lea ecx, [esp + 0x1f8]
call fcn.0042c0a0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x4321bb
push eax
call fcn.004a8344
add esp, 4
mov ecx, dword [esp + 0x1f4]
call fcn.0042d760
mov byte [esp + 0x290], 0
lea ecx, [esp + 0x1f8]
mov eax, dword [esp + 0x1f4]
cmp eax, ecx
je 0x4321ea
push eax
call fcn.004a8344
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
sub eax, 2
je 0x4322c0
sub eax, 2
jne 0x4322f8
mov esi, dword [0x4fc154]
mov ecx, edi
mov eax, dword [edi]
test esi, esi
push 0x4e793c
cmove esi, dword [0x4fc158]
call dword [eax + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4323ce
mov eax, dword [0x4fc154]
test eax, eax
push esi
cmove eax, dword [0x4fc158]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
push esi
test eax, eax
jne 0x432266
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0xac]
call fcn.00415f70
jmp 0x4323f6
mov eax, dword [0x4fc154]
test eax, eax
cmove eax, dword [0x4fc158]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x432255
push ebx
call fcn.004a6e80
add esp, 4
mov dword [0x4fc160], eax
test eax, eax
je 0x4322ad
push ebx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x4fc160]
call fcn.004acff0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, ebx
call fcn.0042d7f0
lea ebx, [edi + 0x3c]
jmp 0x4322f8
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov byte [esp + 0x290], 2
mov ecx, dword [eax]
call fcn.0042d8a0
mov byte [esp + 0x290], 0
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp eax, ecx
je 0x4322f8
push eax
call fcn.004a8344
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [esp + 0x24]
cmp eax, 3
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x43234f
call dword [eax + 0x24]
push dword [eax]
call fcn.004c835c
movzx esi, ax
lea ecx, [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, ecx
je 0x432332
push eax
call fcn.004a8344
add esp, 4
push 0
push ebx
lea eax, [edi + 0x38]
push eax
push 0x4e86a8
push esi
lea ecx, [esp + 0xc0]
call fcn.00433930
mov esi, eax
jmp 0x432395
lea esi, [edi + 0x38]
call dword [eax + 0x24]
push 0
push ebx
push esi
mov byte [esp + 0x29c], 3
mov ecx, dword [eax]
push 0
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0xc0]
call fcn.00433930
mov esi, eax
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x432395
push eax
call fcn.004a8344
add esp, 4
test esi, esi
jne 0x4323b4
push 0x10
push str.Duilib
push 0x4e86c0
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.0042f900
lea eax, [edi + 0x30]
mov ecx, ebx
push eax
call fcn.00430460
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4323e2
push eax
call fcn.004a8344
add esp, 4
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4323f6
push eax
call fcn.004a8344
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.004a768e
mov esp, ebp
pop ebp
ret 0x10