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

Disassembly:
push 0x150
mov eax, 0x457d3f
call fcn.00456899
mov edi, ecx
push 0xfffffffffffffff0
call fcn.00406aa3
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00406aa3
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00406aa3
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
xor esi, esi
sub eax, dword [ebp - 0x1c]
mov ecx, edi
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call fcn.00406aa3
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.0040808f
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.0040785c
lea ecx, [ebp - 0x158]
call fcn.0041c38f
mov dword [ebp - 4], esi
call fcn.00408054
push eax
lea ecx, [ebp - 0xa8]
call fcn.0040dc39
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.0040e373
test al, al
je 0x40f3e8
lea eax, [ebp - 0x64]
push eax
call fcn.00407e85
pop ecx
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.0040ddcf
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0040dd52
mov eax, dword [edi]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040de59
push eax
lea ecx, [ebp - 0xa8]
call fcn.0040def8
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0040dd52
lea ecx, [ebp - 0xa8]
call fcn.0040de59
push eax
call fcn.0040b5a5
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x2c]
dec eax
sub eax, 1
je 0x40f4b9
dec eax
sub eax, 1
jne 0x40f4e5
mov eax, dword [edi]
mov ecx, edi
push 0x459978
call dword [eax + 0x34]
push eax
call fcn.00408045
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40f5bd
push esi
call fcn.00408045
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x15c], eax
push esi
test eax, eax
jne 0x40f45b
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x40f5bd
call fcn.00408045
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x40f5bd
push ebx
call fcn.00405d8e
mov dword [0x471cd0], eax
pop ecx
test eax, eax
je 0x40f49d
push ebx
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x471cd0]
call fcn.0043e5c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
push dword [0x471cd0]
call fcn.0040b5e7
pop ecx
pop ecx
lea ebx, [edi + 0x2c]
xor esi, esi
jmp 0x40f4e5
mov eax, dword [edi]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x30]
push 1
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040de59
push eax
call fcn.0040b64b
pop ecx
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0040dd52
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x64]
cmp eax, 3
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x40f541
call dword [eax + 0x24]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040de59
push eax
call fcn.0044603b
pop ecx
lea ecx, [ebp - 0x64]
movzx esi, ax
mov byte [ebp - 4], 1
call fcn.0040dd52
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
push 0
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push 0x459980
push esi
lea ecx, [ebp - 0x158]
call fcn.0041cf7c
mov esi, eax
jmp 0x40f57c
call dword [eax + 0x24]
mov edx, edi
mov byte [ebp - 4], 6
neg edx
lea ecx, [edi + 0x28]
push esi
sbb edx, edx
push ebx
and edx, ecx
mov ecx, eax
push edx
push esi
call fcn.0040de59
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x158]
call fcn.0041cf7c
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.0040dd52
test esi, esi
jne 0x40f59b
push 0x10
push str.Duilib
push 0x45998c
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.00407906
mov edx, edi
lea eax, [edi + 0x20]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.004077a2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0xa8]
call fcn.0040dd52
lea ecx, [ebp - 0x158]
call fcn.0041b6b7
xor eax, eax
call fcn.00456854
ret 0x10