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

Disassembly:
push 0x2ec
mov eax, 0x4b5899
call fcn.0047fa2d
mov edi, ecx
push 0xfffffffffffffff0
call fcn.00405ba0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00405ba0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00405ba0
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov ecx, edi
sub eax, dword [ebp - 0x1c]
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 0
call fcn.00405ba0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.00427f6f
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call fcn.004275c0
lea ecx, [ebp - 0x270]
call fcn.0043eddb
and dword [ebp - 4], 0
call fcn.00427f34
push eax
lea ecx, [ebp - 0xa4]
call fcn.0042599d
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.00426202
test al, al
je 0x42f006
lea eax, [ebp - 0x128]
push eax
call fcn.00427d3b
pop ecx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.00425af0
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00425a85
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004260a5
push eax
lea ecx, [ebp - 0xa4]
call fcn.00425c9f
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00425a85
lea ecx, [ebp - 0xa4]
call fcn.004260a5
push eax
call fcn.0042bb73
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x2c]
dec eax
dec eax
je 0x42f0d1
dec eax
dec eax
jne 0x42f103
mov eax, dword [edi]
mov ecx, edi
push 0x4bd51c
call dword [eax + 0x34]
push eax
call fcn.00427f25
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x42f1e9
push esi
call fcn.00427f25
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2f8], eax
push esi
test eax, eax
jne 0x42f075
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x42f1e9
call fcn.00427f25
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42f1e9
push ebx
call fcn.004777e0
mov dword [0x4e8e10], eax
pop ecx
test eax, eax
je 0x42f0b7
push ebx
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x4e8e10]
call fcn.0047d190
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
push dword [0x4e8e10]
call fcn.0042bbbc
pop ecx
pop ecx
lea ebx, [edi + 0x2c]
jmp 0x42f103
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x30]
push 1
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004260a5
push eax
call fcn.0042bc20
pop ecx
pop ecx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00425a85
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp eax, 3
mov eax, dword [edi]
jne 0x42f16b
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x24]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004260a5
push eax
call fcn.00480768
pop ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00425a58
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00425a85
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push 0x4bd52c
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x270]
call fcn.0043f548
mov esi, eax
jmp 0x42f1b0
lea ecx, [ebp - 0x2f4]
push ecx
mov ecx, edi
lea esi, [edi + 0x28]
call dword [eax + 0x24]
push 0
push ebx
push esi
push 0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004260a5
push ecx
mov ecx, esp
push eax
call fcn.00425a69
lea ecx, [ebp - 0x270]
call fcn.0043f548
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00425a85
test esi, esi
jne 0x42f1cf
push 0x10
push str.Duilib
push 0x4bd544
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.00427676
lea eax, [edi + 0x20]
mov ecx, ebx
push eax
call fcn.004274dd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.00425a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0043e033
xor eax, eax
call fcn.0047f9eb
ret 0x10