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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49240c
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4b04dc]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x4b04dc]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [ebx + 4]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 4]
push 0x20
sub edx, ecx
push edx
mov edx, dword [esp + 0x24]
sub esi, edx
push esi
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 4]
lea esi, [ebx + 0x2c]
mov edi, esi
call fcn.0043cb20
lea eax, [ebx + 0x24]
push eax
call fcn.0043faa0
xor eax, eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov byte [esp + 0x162], 1
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], eax
lea edi, [esp + 0x74]
mov dword [esp + 0x180], eax
call fcn.0043cb90
mov byte [esp + 0x180], 1
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [eax]
test eax, eax
je 0x4552b1
push eax
mov eax, edi
call fcn.004542b0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x4552c6
push eax
call fcn.00476c90
add esp, 4
mov eax, dword [esp + 0x74]
call fcn.0043ccd0
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
sub eax, 2
je 0x4553d1
sub eax, 2
jne 0x45540b
mov edi, dword [0x4b60dc]
test edi, edi
jne 0x4552fa
mov edi, dword [0x4b60d8]
mov edx, dword [ebx]
mov eax, dword [edx + 0x30]
push 0x4a0844
mov ecx, ebx
call eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x4554e9
mov eax, dword [0x4b60dc]
test eax, eax
jne 0x45532c
mov eax, dword [0x4b60d8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x455369
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x78]
cmp eax, edx
je 0x455358
push eax
call fcn.00476c90
add esp, 4
lea esi, [esp + 0xbc]
call fcn.00441350
jmp 0x455526
mov eax, dword [0x4b60dc]
test eax, eax
jne 0x455377
mov eax, dword [0x4b60d8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x455391
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
cmp eax, ecx
jmp 0x45534d
push edi
call fcn.00475963
add esp, 4
mov dword [0x4b60f0], eax
test eax, eax
je 0x4553be
mov edx, dword [esp + 0x18]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [0x4b60f0]
push eax
call fcn.0047b540
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.0043cd50
jmp 0x455408
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x180], 2
mov ecx, dword [eax]
call fcn.0043cdd0
mov byte [esp + 0x180], 1
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x45540b
push eax
call fcn.00476c90
add esp, 4
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
cmp eax, 3
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
jne 0x455467
call edx
mov eax, dword [eax]
push eax
call fcn.00479670
movzx edi, ax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
add esp, 4
cmp eax, ecx
je 0x45544a
push eax
call fcn.00476c90
add esp, 4
push 0
push esi
lea eax, [ebx + 0x28]
push eax
push 0x4a084c
push edi
lea ecx, [esp + 0xd0]
call fcn.0043a6b0
mov edi, eax
jmp 0x4554b0
lea edi, [ebx + 0x28]
call edx
push 0
push esi
push edi
push 0
push ecx
mov byte [esp + 0x194], 3
mov eax, dword [eax]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x28], esp
call fcn.0043a6b0
mov edi, eax
mov byte [esp + 0x180], 1
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x4554b0
push eax
call fcn.00476c90
add esp, 4
test edi, edi
jne 0x4554cf
push 0x10
push str.Duilib
push 0x4a0858
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
mov edi, esi
call fcn.0043ee80
lea eax, [ebx + 0x20]
push eax
call fcn.0043f9c0
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x4554fe
push eax
call fcn.00476c90
add esp, 4
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x455512
push eax
call fcn.00476c90
add esp, 4
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x455526
push eax
call fcn.00476c90
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00475dcc
mov esp, ebp
pop ebp
ret 0x10