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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47f8fc
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x49d4b0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x49d4b0]
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.0041ea80
lea eax, [edi + 0x34]
mov ecx, ebx
push eax
call fcn.00421a40
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 [0x49e720]
cmp word [eax], 0
jne 0x4236da
lea ecx, [esp + 0x1f4]
call fcn.0041eb10
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 0x423696
push eax
lea ecx, [esp + 0x1f8]
call fcn.0041d590
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x4236ab
push eax
call fcn.0045f9a9
add esp, 4
mov ecx, dword [esp + 0x1f4]
call fcn.0041ec50
mov byte [esp + 0x290], 0
lea ecx, [esp + 0x1f8]
mov eax, dword [esp + 0x1f4]
cmp eax, ecx
je 0x4236da
push eax
call fcn.0045f9a9
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
sub eax, 2
je 0x4237b0
sub eax, 2
jne 0x4237e8
mov esi, dword [0x4a0ed0]
mov ecx, edi
mov eax, dword [edi]
test esi, esi
push 0x48edf8
cmove esi, dword [0x4a0ed4]
call dword [eax + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4238be
mov eax, dword [0x4a0ed0]
test eax, eax
push esi
cmove eax, dword [0x4a0ed4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
push esi
test eax, eax
jne 0x423756
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0xac]
call fcn.004136b0
jmp 0x4238e6
mov eax, dword [0x4a0ed0]
test eax, eax
cmove eax, dword [0x4a0ed4]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x423745
push ebx
call fcn.00460265
add esp, 4
mov dword [0x4a0edc], eax
test eax, eax
je 0x42379d
push ebx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x4a0edc]
call fcn.00464c60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, ebx
call fcn.0041ece0
lea ebx, [edi + 0x3c]
jmp 0x4237e8
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.0041ed90
mov byte [esp + 0x290], 0
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp eax, ecx
je 0x4237e8
push eax
call fcn.0045f9a9
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 0x42383f
call dword [eax + 0x24]
push dword [eax]
call fcn.00479d14
movzx esi, ax
lea ecx, [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, ecx
je 0x423822
push eax
call fcn.0045f9a9
add esp, 4
push 0
push ebx
lea eax, [edi + 0x38]
push eax
push 0x48f568
push esi
lea ecx, [esp + 0xc0]
call fcn.00424ee0
mov esi, eax
jmp 0x423885
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.00424ee0
mov esi, eax
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x423885
push eax
call fcn.0045f9a9
add esp, 4
test esi, esi
jne 0x4238a4
push 0x10
push str.Duilib
push 0x48f580
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.00420df0
lea eax, [edi + 0x30]
mov ecx, ebx
push eax
call fcn.00421950
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4238d2
push eax
call fcn.0045f9a9
add esp, 4
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4238e6
push eax
call fcn.0045f9a9
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.0045f8b2
mov esp, ebp
pop ebp
ret 0x10