Function at 0x490960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629526
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x690a1c]
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 0x490cf0
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.00427a00
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [esi + 0x1c], 0
je 0x490a8d
cmp dword [esi + 0x20], 0
jne 0x490a8d
push 0x6a015a
push 0x3a4
call fcn.004fa7fa
add esp, 8
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x490a25
mov ecx, eax
call fcn.0049bc90
jmp 0x490a27
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x20], eax
test eax, eax
je 0x490a8d
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.0047fec0
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.0049bd70
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.004087b0
cmp dword [esi + 0x38c], 0
je 0x490b04
cmp dword [esi + 0x388], 0
jne 0x490b04
push 0x6a015a
push 8
call fcn.004fa7fa
add esp, 8
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x490acb
push dword [esi + 4]
mov ecx, eax
call fcn.004badd0
jmp 0x490acd
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x388], eax
test eax, eax
je 0x490b04
push 0xffffffffffffffec
push dword [esi + 4]
call ebx
test eax, 0x80000
je 0x490af9
mov ecx, dword [esi + 0x388]
push 1
call fcn.004bb440
mov ecx, dword [esi + 0x388]
call fcn.004baf60
push dword [esi + 4]
lea ebx, [esi + 0xa4]
mov ecx, ebx
call fcn.00483d20
lea ecx, [ebp - 0x2f4]
call fcn.004a0860
mov dword [ebp - 4], 3
call fcn.00483c90
push eax
lea ecx, [ebp - 0x128]
call fcn.0047fe00
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 4
call fcn.0043f3b0
push eax
call fcn.00488530
add esp, 4
call fcn.00483ca0
sub eax, 2
je 0x490c1f
sub eax, 2
jne 0x490c52
push str.ZIPRES
call fcn.00483c80
push eax
call fcn.00483c70
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x490cda
push edi
call fcn.00483c70
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2f8], eax
push edi
test eax, eax
jne 0x490baa
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x490cda
call fcn.00483c70
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2fc], eax
test eax, eax
je 0x490cda
push 0x6a015a
push eax
call fcn.004fa738
add esp, 8
mov dword [0x6a0a68], eax
test eax, eax
je 0x490bfc
push dword [ebp - 0x2fc]
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x6a0a68]
call fcn.005e2e20
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x2fc]
push dword [0x6a0a68]
call fcn.00488590
mov edi, dword [ebp - 0x304]
add esp, 8
jmp 0x490c52
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.0043f3b0
push eax
call fcn.00488600
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac]
call fcn.004087b0
call fcn.00483ca0
cmp eax, 3
jne 0x490c79
push edi
call fcn.005f9936
add esp, 4
movzx eax, ax
push 0
push ebx
push dword [ebp - 0x300]
push 0x6405cc
push eax
jmp 0x490c89
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.004a2120
test eax, eax
je 0x490cda
push eax
mov ecx, ebx
call fcn.00483110
mov ecx, esi
lea eax, [esi + 0x14]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.00482ec0
push ebx
lea ecx, [esi + 0x2c]
call fcn.004bc8c0
push str.dlg_minbtn
mov ecx, ebx
call fcn.00483280
push str.dlg_closebtn
mov ecx, ebx
mov dword [esi + 0x28], eax
call fcn.00483280
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0x128]
call fcn.004087b0
lea ecx, [ebp - 0x2f4]
call fcn.0049f480
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.004fa103
mov esp, ebp
pop ebp
ret 0x10