Function at 0x464ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608396
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2f8], ecx
mov eax, dword [ebp - 0x2f8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0
jne 0x46504a
xor eax, eax
jmp 0x4656f7
push 1
push str.599D92C1_4009_4675_A491_5AAE93C78267
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [ebp - 0x2f8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x328], eax
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
and eax, 0xff3fffff
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x2f8]
call fcn.00465b70
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 0x2f8]
call fcn.00464bd0
test eax, eax
je 0x4651dd
mov edx, dword [ebp - 0x2f8]
cmp dword [edx + 0x20], 0
jne 0x4651dd
push 0x687ae0
push 0x3a4
call fcn.00537468
add esp, 8
mov dword [ebp - 0x310], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x310], 0
je 0x46511c
mov ecx, dword [ebp - 0x310]
call fcn.00496e50
mov dword [ebp - 0x314], eax
jmp 0x465126
mov dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x330], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ebp - 0x330]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 0x2f8]
cmp dword [eax + 0x20], 0
je 0x4651dd
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [eax + 0x24]
call edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2f8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [edx + 0x20]
call eax
push eax
lea ecx, [ebp - 0x270]
call fcn.00467140
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, dword [ebp - 0x2f8]
mov ecx, dword [ecx + 0x20]
call fcn.00496fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.00467590
mov ecx, dword [ebp - 0x2f8]
call fcn.00464bb0
test eax, eax
je 0x4652cd
mov edx, dword [ebp - 0x2f8]
cmp dword [edx + 0x388], 0
jne 0x4652cd
push 0x687ae0
push 8
call fcn.00537468
add esp, 8
mov dword [ebp - 0x318], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x318], 0
je 0x465245
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x318]
call fcn.00497cf0
mov dword [ebp - 0x31c], eax
jmp 0x46524f
mov dword [ebp - 0x31c], 0
mov edx, dword [ebp - 0x31c]
mov dword [ebp - 0x334], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [ebp - 0x334]
mov dword [eax + 0x388], ecx
mov edx, dword [ebp - 0x2f8]
cmp dword [edx + 0x388], 0
je 0x4652cd
push 0xffffffffffffffec
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x338], eax
mov edx, dword [ebp - 0x338]
and edx, 0x80000
je 0x4652bc
push 1
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 0x388]
call fcn.00498510
mov ecx, dword [ebp - 0x2f8]
mov ecx, dword [ecx + 0x388]
call fcn.00497ee0
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.0045cca0
lea ecx, [ebp - 0x1ec]
call fcn.00492ad0
mov dword [ebp - 4], 3
call fcn.0045caf0
push eax
lea ecx, [ebp - 0xa4]
call fcn.00467100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.00468660
push eax
call fcn.004639a0
add esp, 4
call fcn.0045cb00
mov dword [ebp - 0x320], eax
cmp dword [ebp - 0x320], 2
je 0x465345
cmp dword [ebp - 0x320], 4
je 0x46539f
jmp 0x465538
push 1
lea ecx, [ebp - 0x2f4]
push ecx
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x340]
call fcn.00468660
push eax
call fcn.00463aa0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2f4]
call fcn.00467590
jmp 0x465538
push 0x61f738
call fcn.0045cae0
push eax
call fcn.0045cac0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0
jne 0x4653fb
mov dword [ebp - 0x344], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.00467590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.004649b0
mov eax, dword [ebp - 0x344]
jmp 0x4656f7
mov dword [ebp - 0x300], 0
mov ecx, dword [ebp - 0x2fc]
push ecx
call fcn.0045cac0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jne 0x46546a
mov edx, dword [ebp - 0x2fc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x348], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.00467590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.004649b0
mov eax, dword [ebp - 0x348]
jmp 0x4656f7
mov eax, dword [ebp - 0x2fc]
push eax
call fcn.0045cac0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x4654c2
mov dword [ebp - 0x34c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.00467590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.004649b0
mov eax, dword [ebp - 0x34c]
jmp 0x4656f7
push 0x687ae0
mov ecx, dword [ebp - 0x300]
push ecx
call fcn.00537115
add esp, 8
mov dword [ebp - 0x350], eax
mov edx, dword [ebp - 0x350]
mov dword [0x6864a4], edx
cmp dword [0x6864a4], 0
je 0x465515
mov eax, dword [ebp - 0x300]
push eax
mov ecx, dword [ebp - 0x324]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov edx, dword [0x6864a4]
push edx
call fcn.0058a470
add esp, 0xc
mov eax, dword [ebp - 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x300]
push ecx
mov edx, dword [0x6864a4]
push edx
call fcn.00463a20
add esp, 8
mov dword [ebp - 0x304], 0
call fcn.0045cb00
cmp eax, 3
jne 0x46559c
mov eax, dword [ebp - 0x30c]
push eax
call fcn.005b7898
add esp, 4
push eax
lea ecx, [ebp - 0x354]
call fcn.0045a0e0
push 0
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
push ecx
mov edx, dword [ebp - 0x328]
push edx
push 0x61f748
mov eax, dword [ebp - 0x354]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.004943d0
mov dword [ebp - 0x304], eax
jmp 0x4655da
push 0
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
push ecx
mov edx, dword [ebp - 0x328]
push edx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x360], esp
mov eax, dword [ebp - 0x30c]
push eax
call fcn.0045a100
lea ecx, [ebp - 0x1ec]
call fcn.004943d0
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 0
jne 0x465619
mov dword [ebp - 0x358], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.00467590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.004649b0
mov eax, dword [ebp - 0x358]
jmp 0x4656f7
mov ecx, dword [ebp - 0x304]
push ecx
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.0045b5d0
cmp dword [ebp - 0x2f8], 0
je 0x46564b
mov edx, dword [ebp - 0x2f8]
add edx, 0x14
mov dword [ebp - 0x32c], edx
jmp 0x465655
mov dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x32c]
push eax
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.0045b2f0
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
push ecx
mov ecx, dword [ebp - 0x2f8]
add ecx, 0x2c
call fcn.0049b520
push str.dlg_minbtn
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.0045b930
mov edx, dword [ebp - 0x2f8]
mov dword [edx + 0x28], eax
push str.dlg_closebtn
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.0045b930
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x24], eax
mov dword [ebp - 0x35c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.00467590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.004649b0
mov eax, dword [ebp - 0x35c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 0x10