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

Disassembly:
push 0x268
mov eax, 0x649818
call fcn.004c2130
mov edi, ecx
push 0xfffffffffffffff0
call fcn.0046d82e
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.0046d82e
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0046d82e
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.0046d82e
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 4]
lea ebx, [edi + 0x38]
mov ecx, ebx
call fcn.00465f26
mov ecx, edi
lea eax, [edi + 0x30]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.004658b3
lea ecx, [ebp - 0x270]
call fcn.0046ba37
and dword [ebp - 4], 0
call fcn.00465ed9
mov ecx, eax
call fcn.0046a338
test al, al
je 0x46f97c
lea eax, [ebp - 0x128]
push eax
call fcn.00465d6e
pop ecx
mov eax, dword [edi]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x24]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0045403f
push eax
lea ecx, [ebp - 0x128]
call fcn.00469da8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.00469ca4
lea ecx, [ebp - 0x128]
call fcn.0045403f
push eax
call fcn.00468c0f
pop ecx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0
call fcn.00469ca4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
dec eax
sub eax, 1
je 0x46fa39
dec eax
sub eax, 1
jne 0x46fa6b
mov eax, dword [edi]
mov ecx, edi
push str.ZIPRES
call dword [eax + 0x38]
push eax
call fcn.00465eca
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46fb62
push esi
call fcn.00465eca
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x274], eax
push esi
test eax, eax
jne 0x46f9dd
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x46fb62
call fcn.00465eca
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x46fb62
push ebx
call fcn.0044223c
mov dword [0x711f50], eax
pop ecx
test eax, eax
je 0x46fa1f
push ebx
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x711f50]
call fcn.0049d3b0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
push dword [0x711f50]
call fcn.00468c58
pop ecx
pop ecx
lea ebx, [edi + 0x38]
jmp 0x46fa6b
mov eax, dword [edi]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, edi
call dword [eax + 0x34]
push 1
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0045403f
push eax
call fcn.00468cba
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.00469ca4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
lea ecx, [ebp - 0xa4]
cmp eax, 3
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x46facd
call dword [eax + 0x28]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0045403f
push eax
call fcn.004a610f
pop ecx
lea ecx, [ebp - 0xa4]
movzx esi, ax
mov byte [ebp - 4], 0
call fcn.00469ca4
mov ecx, edi
lea eax, [edi + 0x34]
neg ecx
push 0
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push 0x655290
push esi
lea ecx, [ebp - 0x270]
call fcn.0046c4ec
mov esi, eax
jmp 0x46fb0d
call dword [eax + 0x28]
mov edx, edi
mov byte [ebp - 4], 5
neg edx
lea ecx, [edi + 0x34]
push 0
sbb edx, edx
push ebx
and edx, ecx
mov ecx, eax
push edx
push 0
call fcn.0045403f
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x270]
call fcn.0046c4ec
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00469ca4
test esi, esi
jne 0x46fb2c
push 0x10
push str.Duilib
push 0x6552a8
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.004658d1
mov edx, edi
lea eax, [edi + 0x2c]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.004657f9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, ebx
call fcn.00465fd8
call fcn.004701e4
push eax
mov ecx, ebx
call fcn.00468696
lea ecx, [ebp - 0x270]
call fcn.0046e1f4
xor eax, eax
call fcn.004c20eb
ret 0x10