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

Disassembly:
push ebp
sub esp, 0x1cc
lea ebp, [esp - 4]
mov eax, dword [0x5af640]
xor eax, ebp
mov dword [ebp + 0x1cc], eax
push 0x124
mov eax, 0x547a78
call fcn.00522f6b
push 0xfffffffffffffff0
mov esi, ecx
call fcn.004f6d14
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call fcn.004f6d14
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004f6d14
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push 0x20
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
xor ebx, ebx
push eax
push dword [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x28]
push ebx
call fcn.004f6d14
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 4]
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.004f3604
lea eax, [esi + 0x24]
push eax
mov ecx, edi
call fcn.004f3e45
lea ecx, [ebp]
call fcn.004fb4b8
lea eax, [ebp + 0x148]
push eax
mov dword [ebp - 4], ebx
call fcn.004f362c
pop ecx
mov eax, dword [esi]
lea ecx, [ebp - 0xac]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004f8b0a
push eax
lea ecx, [ebp + 0x148]
call fcn.004f8d0c
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.004f8b57
lea ecx, [ebp + 0x148]
call fcn.004f8b0a
push eax
call fcn.004f376a
mov eax, dword [esi]
pop ecx
mov ecx, esi
call dword [eax + 0x28]
dec eax
dec eax
je 0x500280
dec eax
dec eax
jne 0x5002b2
mov eax, dword [esi]
push str.ZIPRES
mov ecx, esi
call dword [eax + 0x30]
push eax
call fcn.004f3739
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x500393
push eax
call fcn.004f3739
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x500223
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x500393
call fcn.004f3739
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x500393
push eax
call fcn.004508c5
pop ecx
mov dword [0x5b63b8], eax
cmp eax, ebx
je 0x500265
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x5b63b8]
call fcn.00523990
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x18]
push dword [0x5b63b8]
call fcn.004f37b0
pop ecx
pop ecx
jmp 0x5002b2
mov eax, dword [esi]
lea ecx, [ebp - 0xac]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
push 1
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004f8b0a
push eax
call fcn.004f3810
pop ecx
pop ecx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.004f8b57
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
cmp eax, 3
mov eax, dword [esi]
jne 0x50030e
lea ecx, [ebp - 0xac]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004f8b0a
push eax
call fcn.00526892
movzx eax, ax
pop ecx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.004f8b57
push ebx
push edi
lea eax, [esi + 0x28]
push eax
push 0x58e010
push dword [ebp - 0x14]
lea ecx, [ebp]
call fcn.004fbce0
mov dword [ebp - 0x10], eax
jmp 0x50034e
lea ecx, [ebp - 0x130]
push ecx
mov ecx, esi
call dword [eax + 0x24]
push ebx
push edi
lea edx, [esi + 0x28]
push edx
push ebx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004f8b0a
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp]
mov dword [ebp - 0x14], esp
call fcn.004fbce0
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
call fcn.004f8b57
cmp dword [ebp - 0x10], ebx
jne 0x50036e
push 0x10
push str.Duilib
push 0x57f2bc
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004f68c9
lea eax, [esi + 0x20]
push eax
mov ecx, edi
call fcn.004f3dfc
push 1
mov ecx, edi
call fcn.004f3a5e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp + 0x148]
mov byte [ebp - 4], bl
call fcn.004f8b57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004f76a8
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 + 0x1cc]
xor ecx, ebp
call fcn.00522f5c
add ebp, 0x1d0
leave
ret 0x10