Function at 0x4902a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x625276
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x68d9ac]
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 esi, ecx
mov eax, dword [esi]
call dword [eax + 0x18]
mov edi, eax
mov dword [ebp - 0x304], edi
test edi, edi
je 0x490630
push 1
push str.599D92C1_4009_4675_A491_5AAE93C78267
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [ebp - 0x300], eax
call ebx
and eax, 0xff3fffff
mov ecx, esi
push eax
push 0xfffffffffffffff0
call fcn.004278d0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [esi + 0x1c], 0
je 0x4903cd
cmp dword [esi + 0x20], 0
jne 0x4903cd
push 0x69cdca
push 0x3a4
call fcn.004fa13a
add esp, 8
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x490365
mov ecx, eax
call fcn.0049b5d0
jmp 0x490367
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x20], eax
test eax, eax
je 0x4903cd
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0x20]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0047f7e0
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 1
push ecx
push eax
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 0x20]
push eax
call fcn.0049b6b0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.004086c0
cmp dword [esi + 0x38c], 0
je 0x490444
cmp dword [esi + 0x388], 0
jne 0x490444
push 0x69cdca
push 8
call fcn.004fa13a
add esp, 8
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x49040b
push dword [esi + 4]
mov ecx, eax
call fcn.004ba700
jmp 0x49040d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x388], eax
test eax, eax
je 0x490444
push 0xffffffffffffffec
push dword [esi + 4]
call ebx
test eax, 0x80000
je 0x490439
mov ecx, dword [esi + 0x388]
push 1
call fcn.004bad70
mov ecx, dword [esi + 0x388]
call fcn.004ba890
push dword [esi + 4]
lea ebx, [esi + 0xa4]
mov ecx, ebx
call fcn.00483640
lea ecx, [ebp - 0x2f4]
call fcn.004a01a0
mov dword [ebp - 4], 3
call fcn.004835b0
push eax
lea ecx, [ebp - 0x128]
call fcn.0047f720
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 4
call fcn.0043ec80
push eax
call fcn.00487e70
add esp, 4
call fcn.004835c0
sub eax, 2
je 0x49055f
sub eax, 2
jne 0x490592
push str.ZIPRES
call fcn.004835a0
push eax
call fcn.00483590
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x49061a
push edi
call fcn.00483590
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2f8], eax
push edi
test eax, eax
jne 0x4904ea
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x49061a
call fcn.00483590
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2fc], eax
test eax, eax
je 0x49061a
push 0x69cdca
push eax
call fcn.004fa07a
add esp, 8
mov dword [0x69d6d8], eax
test eax, eax
je 0x49053c
push dword [ebp - 0x2fc]
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x69d6d8]
call fcn.005e2740
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x2fc]
push dword [0x69d6d8]
call fcn.00487ed0
mov edi, dword [ebp - 0x304]
add esp, 8
jmp 0x490592
mov eax, dword [esi]
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
push 1
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0043ec80
push eax
call fcn.00487f40
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac]
call fcn.004086c0
call fcn.004835c0
cmp eax, 3
jne 0x4905b9
push edi
call fcn.005f7512
add esp, 4
movzx eax, ax
push 0
push ebx
push dword [ebp - 0x300]
push 0x63c4dc
push eax
jmp 0x4905c9
push 0
push ebx
push dword [ebp - 0x300]
push 0
push ecx
mov eax, esp
mov dword [eax], edi
lea ecx, [ebp - 0x2f4]
call fcn.004a1a60
test eax, eax
je 0x49061a
push eax
mov ecx, ebx
call fcn.00482a30
mov ecx, esi
lea eax, [esi + 0x14]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.004827e0
push ebx
lea ecx, [esi + 0x2c]
call fcn.004bc1f0
push str.dlg_minbtn
mov ecx, ebx
call fcn.00482ba0
push str.dlg_closebtn
mov ecx, ebx
mov dword [esi + 0x28], eax
call fcn.00482ba0
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0x128]
call fcn.004086c0
lea ecx, [ebp - 0x2f4]
call fcn.0049edc0
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.004f9a43
mov esp, ebp
pop ebp
ret 0x10