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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x574ef5
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5bb250]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x5bb250]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
call fcn.004c444d
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.004c444d
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.004c444d
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
mov ecx, edi
sub eax, dword [esp + 0x18]
push 0x20
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0
call fcn.004c444d
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.004c02da
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call fcn.004c27eb
lea ecx, [esp + 0x134]
call fcn.004c986a
and dword [esp + 0x290], 0
lea eax, [esp + 0xac]
push eax
call fcn.004c0305
pop ecx
mov byte [esp + 0x290], 1
lea ecx, [esp + 0x24]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov ecx, eax
mov byte [esp + 0x290], 2
call fcn.004bf2f3
push eax
lea ecx, [esp + 0xb0]
call fcn.004bf516
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 1
call fcn.004bf1a3
lea ecx, [esp + 0xac]
call fcn.004bf2f3
push eax
call fcn.004c0492
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x28]
dec eax
dec eax
je 0x4cb64d
dec eax
dec eax
jne 0x4cb680
mov eax, dword [edi]
mov ecx, edi
push 0x59f57c
call dword [eax + 0x30]
push eax
call fcn.004c044f
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4cb750
push esi
call fcn.004c044f
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
push esi
test eax, eax
jne 0x4cb5fa
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4cb750
call fcn.004c044f
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4cb750
push ebx
call fcn.00520986
mov dword [0x5c3a3c], eax
pop ecx
test eax, eax
je 0x4cb63a
push ebx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x5c3a3c]
call fcn.0053c3c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, ebx
call fcn.004c04d9
lea ebx, [edi + 0x2c]
jmp 0x4cb680
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
mov byte [esp + 0x290], 3
call fcn.004bf2f3
mov ecx, eax
call fcn.004c0544
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 1
call fcn.004bf1a3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [esp + 0x24]
cmp eax, 3
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x4cb6cf
call dword [eax + 0x24]
mov ecx, eax
call fcn.004bf2f3
push eax
call fcn.0053bfd8
pop ecx
lea ecx, [esp + 0x24]
movzx esi, ax
call fcn.004bf1a3
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push 0x59f58c
push esi
lea ecx, [esp + 0x148]
call fcn.004c9881
mov esi, eax
jmp 0x4cb70e
lea esi, [edi + 0x28]
call dword [eax + 0x24]
push 0
push ebx
push esi
push 0
mov ecx, eax
mov byte [esp + 0x2a0], 4
call fcn.004bf2f3
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x148]
call fcn.004c9881
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 1
mov esi, eax
call fcn.004bf1a3
test esi, esi
jne 0x4cb72d
push 0x10
push str.Duilib
push 0x59f5a4
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.004c1f72
lea eax, [edi + 0x20]
mov ecx, ebx
push eax
call fcn.004c279e
push 1
mov ecx, ebx
call fcn.004c099a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [esp + 0xac]
call fcn.004bf1a3
lea ecx, [esp + 0x134]
call fcn.004c8dd8
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.0053e21c
mov esp, ebp
pop ebp
ret 0x10