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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x571a35
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5b8250]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x5b8250]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
call fcn.004c459b
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.004c459b
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.004c459b
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.004c459b
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.004c042a
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call fcn.004c293b
lea ecx, [esp + 0x134]
call fcn.004c99b8
and dword [esp + 0x290], 0
lea eax, [esp + 0xac]
push eax
call fcn.004c0455
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.004bf443
push eax
lea ecx, [esp + 0xb0]
call fcn.004bf666
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 1
call fcn.004bf2f3
lea ecx, [esp + 0xac]
call fcn.004bf443
push eax
call fcn.004c05e2
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x28]
dec eax
dec eax
je 0x4cb79b
dec eax
dec eax
jne 0x4cb7ce
mov eax, dword [edi]
mov ecx, edi
push 0x59c7ac
call dword [eax + 0x30]
push eax
call fcn.004c059f
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4cb89e
push esi
call fcn.004c059f
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
push esi
test eax, eax
jne 0x4cb748
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4cb89e
call fcn.004c059f
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4cb89e
push ebx
call fcn.0051d4c8
mov dword [0x5c0a3c], eax
pop ecx
test eax, eax
je 0x4cb788
push ebx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x5c0a3c]
call fcn.00538be0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, ebx
call fcn.004c0629
lea ebx, [edi + 0x2c]
jmp 0x4cb7ce
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.004bf443
mov ecx, eax
call fcn.004c0694
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 1
call fcn.004bf2f3
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 0x4cb81d
call dword [eax + 0x24]
mov ecx, eax
call fcn.004bf443
push eax
call fcn.005387ee
pop ecx
lea ecx, [esp + 0x24]
movzx esi, ax
call fcn.004bf2f3
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push 0x59c7bc
push esi
lea ecx, [esp + 0x148]
call fcn.004c99cf
mov esi, eax
jmp 0x4cb85c
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.004bf443
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x148]
call fcn.004c99cf
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 1
mov esi, eax
call fcn.004bf2f3
test esi, esi
jne 0x4cb87b
push 0x10
push str.Duilib
push 0x59c7d4
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.004c20c2
lea eax, [edi + 0x20]
mov ecx, ebx
push eax
call fcn.004c28ee
push 1
mov ecx, ebx
call fcn.004c0aea
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [esp + 0xac]
call fcn.004bf2f3
lea ecx, [esp + 0x134]
call fcn.004c8f26
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.0053aa3c
mov esp, ebp
pop ebp
ret 0x10