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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x631c82
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ecx
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.00422cc0
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x42a3e6
push ecx
lea ecx, [edi + 0x3b4]
call fcn.004206c0
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0
mov byte [ebp - 0x1b8], 1
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
push 0x6cf1e8
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0
call fcn.00420830
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa4]
cmp word [eax], 0
jne 0x42a4b7
lea ecx, [ebp - 0x128]
call fcn.00422d50
push eax
lea ecx, [ebp - 0xa4]
call fcn.00420aa0
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x124]
cmp eax, ecx
je 0x42a476
push eax
call fcn.006140b6
add esp, 4
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x42a49a
push eax
lea ecx, [ebp - 0xa4]
call fcn.004208f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x128]
cmp eax, ecx
je 0x42a4b7
push eax
call fcn.006140b6
add esp, 4
mov ecx, dword [ebp - 0xa4]
call fcn.00422e80
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
sub eax, 2
je 0x42a69a
sub eax, 2
jne 0x42a62f
cmp dword [0x6d9240], eax
jne 0x42a62f
mov esi, dword [0x6d9230]
mov ecx, edi
mov eax, dword [edi]
test esi, esi
push str.ZIPRES
cmove esi, dword [0x6d9228]
call dword [eax + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x42a82b
mov eax, dword [0x6d9230]
test eax, eax
push esi
cmove eax, dword [0x6d9228]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push esi
test ebx, ebx
jne 0x42a53c
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x42a82b
mov eax, dword [0x6d9230]
test eax, eax
cmove eax, dword [0x6d9228]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x6d923c], eax
test eax, eax
je 0x42a82b
push eax
call fcn.005c386a
add esp, 4
mov dword [0x6d9240], eax
test eax, eax
je 0x42a58c
push dword [0x6d923c]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x6d9240]
call fcn.005fe040
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esi, dword [0x6d923c]
mov ecx, str.membuffer
mov ebx, dword [0x6d9240]
mov eax, dword [0x6cf270]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a5d6
test dx, dx
je 0x42a5d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a5d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a5b0
xor eax, eax
jmp 0x42a5db
sbb eax, eax
or eax, 1
test eax, eax
je 0x42a62c
cmp byte [0x6cf178], 0
je 0x42a601
mov ecx, dword [0x6d922c]
test ecx, ecx
je 0x42a601
call fcn.00437010
mov dword [0x6d922c], 0
push str.membuffer
mov ecx, 0x6cf270
call fcn.00420b50
cmp byte [0x6cf178], 0
je 0x42a62c
push 3
mov edx, esi
mov ecx, ebx
call fcn.00436c90
add esp, 4
mov dword [0x6d922c], eax
lea ebx, [edi + 0x2c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x1ac]
cmp eax, 3
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x42a79b
call dword [eax + 0x24]
push dword [eax]
call fcn.0060c37b
movzx esi, ax
lea ecx, [ebp - 0x1a8]
mov eax, dword [ebp - 0x1ac]
add esp, 4
cmp eax, ecx
je 0x42a673
push eax
call fcn.006140b6
add esp, 4
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
push 0
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push 0x6a51e0
push esi
lea ecx, [ebp - 0x2f4]
call fcn.00443020
mov esi, eax
jmp 0x42a7e4
mov eax, dword [edi]
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov byte [ebp - 4], 3
mov esi, dword [eax]
mov ecx, esi
mov eax, dword [0x6cf270]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a6db
test dx, dx
je 0x42a6d7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a6db
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a6b5
xor eax, eax
jmp 0x42a6e0
sbb eax, eax
or eax, 1
test eax, eax
mov al, byte [0x6cf178]
jne 0x42a6f1
cmp al, 1
je 0x42a775
test al, al
je 0x42a70e
mov ecx, dword [0x6d922c]
test ecx, ecx
je 0x42a70e
call fcn.00437010
mov dword [0x6d922c], 0
push esi
mov ecx, 0x6cf270
call fcn.00420b50
push 0x6cf1e8
lea ecx, [ebp - 0x128]
mov byte [0x6cf178], 1
call fcn.00420830
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x128]
push dword [0x6cf270]
call fcn.004208f0
mov ecx, dword [ebp - 0x128]
xor edx, edx
push 2
call fcn.00436c90
mov dword [0x6d922c], eax
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x128]
add esp, 4
cmp eax, ecx
je 0x42a775
push eax
call fcn.006140b6
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a8]
mov eax, dword [ebp - 0x1ac]
cmp eax, ecx
je 0x42a62f
push eax
call fcn.006140b6
add esp, 4
jmp 0x42a62f
call dword [eax + 0x24]
mov ecx, edi
mov byte [ebp - 4], 5
mov edx, dword [eax]
neg ecx
push 0
sbb ecx, ecx
lea eax, [edi + 0x28]
and ecx, eax
push ebx
push ecx
push 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x2f4]
mov dword [eax], edx
call fcn.00443020
mov esi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1a8]
cmp eax, ecx
je 0x42a7e4
push eax
call fcn.006140b6
add esp, 4
test esi, esi
jne 0x42a803
push 0x10
push str.Duilib
push 0x6a51f8
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.004255c0
mov edx, edi
lea eax, [edi + 0x20]
neg edx
sbb edx, edx
and edx, eax
je 0x42a824
push edx
lea ecx, [edi + 0x39c]
call fcn.004206c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
cmp eax, ecx
je 0x42a844
push eax
call fcn.006140b6
add esp, 4
mov eax, dword [ebp - 0x2f4]
test eax, eax
je 0x42a857
push eax
call fcn.006140b6
add esp, 4
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x42a86a
push eax
call fcn.006140b6
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 0x10