Function at 0x43f100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f036
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x5854b4]
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 0x43f15a
xor eax, eax
jmp 0x43f807
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.00408470
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 0x2f8]
call fcn.0043ece0
test eax, eax
je 0x43f2ed
mov edx, dword [ebp - 0x2f8]
cmp dword [edx + 0x20], 0
jne 0x43f2ed
push 0x58c7d0
push 0x3a4
call fcn.004d7e35
add esp, 8
mov dword [ebp - 0x310], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x310], 0
je 0x43f22c
mov ecx, dword [ebp - 0x310]
call fcn.00463eb0
mov dword [ebp - 0x314], eax
jmp 0x43f236
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 0x43f2ed
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.00433180
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.00464000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.00433420
mov ecx, dword [ebp - 0x2f8]
call fcn.0043ecc0
test eax, eax
je 0x43f3dd
mov edx, dword [ebp - 0x2f8]
cmp dword [edx + 0x388], 0
jne 0x43f3dd
push 0x58c7d0
push 8
call fcn.004d7e35
add esp, 8
mov dword [ebp - 0x318], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x318], 0
je 0x43f355
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x318]
call fcn.00464cc0
mov dword [ebp - 0x31c], eax
jmp 0x43f35f
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 0x43f3dd
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 0x43f3cc
push 1
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 0x388]
call fcn.004654c0
mov ecx, dword [ebp - 0x2f8]
mov ecx, dword [ecx + 0x388]
call fcn.00464eb0
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.004378a0
lea ecx, [ebp - 0x1ec]
call fcn.0045fc80
mov dword [ebp - 4], 3
call fcn.004377b0
push eax
lea ecx, [ebp - 0xa4]
call fcn.00433140
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.00406cd0
push eax
call fcn.0043d910
add esp, 4
call fcn.004377c0
mov dword [ebp - 0x320], eax
cmp dword [ebp - 0x320], 2
je 0x43f455
cmp dword [ebp - 0x320], 4
je 0x43f4af
jmp 0x43f648
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.00406cd0
push eax
call fcn.0043da10
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2f4]
call fcn.00433420
jmp 0x43f648
push 0x54cf38
call fcn.004377a0
push eax
call fcn.00437780
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x2fc], 0
jne 0x43f50b
mov dword [ebp - 0x344], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.00433420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.0043eb40
mov eax, dword [ebp - 0x344]
jmp 0x43f807
mov dword [ebp - 0x300], 0
mov ecx, dword [ebp - 0x2fc]
push ecx
call fcn.00437780
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jne 0x43f57a
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.00433420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.0043eb40
mov eax, dword [ebp - 0x348]
jmp 0x43f807
mov eax, dword [ebp - 0x2fc]
push eax
call fcn.00437780
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x43f5d2
mov dword [ebp - 0x34c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.00433420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.0043eb40
mov eax, dword [ebp - 0x34c]
jmp 0x43f807
push 0x58c7d0
mov ecx, dword [ebp - 0x300]
push ecx
call fcn.004d7a0d
add esp, 8
mov dword [ebp - 0x350], eax
mov edx, dword [ebp - 0x350]
mov dword [0x58ca3c], edx
cmp dword [0x58ca3c], 0
je 0x43f625
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 [0x58ca3c]
push edx
call fcn.00510d00
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 [0x58ca3c]
push edx
call fcn.0043d990
add esp, 8
mov dword [ebp - 0x304], 0
call fcn.004377c0
cmp eax, 3
jne 0x43f6ac
mov eax, dword [ebp - 0x30c]
push eax
call fcn.0052227b
add esp, 4
push eax
lea ecx, [ebp - 0x354]
call fcn.00435700
push 0
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
push ecx
mov edx, dword [ebp - 0x328]
push edx
push 0x54cf48
mov eax, dword [ebp - 0x354]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00461490
mov dword [ebp - 0x304], eax
jmp 0x43f6ea
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.00406210
lea ecx, [ebp - 0x1ec]
call fcn.00461490
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 0
jne 0x43f729
mov dword [ebp - 0x358], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.00433420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.0043eb40
mov eax, dword [ebp - 0x358]
jmp 0x43f807
mov ecx, dword [ebp - 0x304]
push ecx
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.00436830
cmp dword [ebp - 0x2f8], 0
je 0x43f75b
mov edx, dword [ebp - 0x2f8]
add edx, 0x14
mov dword [ebp - 0x32c], edx
jmp 0x43f765
mov dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x32c]
push eax
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.00436570
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
push ecx
mov ecx, dword [ebp - 0x2f8]
add ecx, 0x2c
call fcn.00467450
push str.dlg_minbtn
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.00436b90
mov edx, dword [ebp - 0x2f8]
mov dword [edx + 0x28], eax
push str.dlg_closebtn
mov ecx, dword [ebp - 0x2f8]
add ecx, 0xa4
call fcn.00436b90
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.00433420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.0043eb40
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.004d77de
mov esp, ebp
pop ebp
ret 0x10