Function at 0x43f090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497d00
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x43f2c1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push ecx
push 0x43f050
push 6
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
sub eax, edx
sar eax, 2
cmp eax, 1
jb 0x43f291
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.0043f4b0
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
mov edx, dword [ebp - 0x20]
sub ecx, edx
sar ecx, 2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
test ecx, ecx
je 0x43f291
lea eax, [ebx*4]
push 6
push dword [edx + eax]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43f27a
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x43f27a
xor ebx, ebx
movzx esi, word [edi]
add edi, 2
test esi, esi
je 0x43f26d
mov ecx, dword [ebp - 0x44]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x20]
push ecx
mov dword [ebp - 0x38], 0
mov eax, dword [eax + ecx]
lea ecx, [ebp - 0x30]
dec eax
movq qword [ebp - 0x30], xmm0
shl eax, 4
or eax, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [esi + 1]
push eax
call fcn.0042cab0
lea eax, [esi + esi]
mov byte [ebp - 4], 1
push eax
push edi
push dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
call fcn.004819b0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x43f214
mov ecx, dword [ebp - 0x24]
cmp dword [eax + 0x10], ecx
jae 0x43f201
mov eax, dword [eax + 8]
jmp 0x43f205
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x43f1f7
cmp esi, edx
je 0x43f214
cmp ecx, dword [esi + 0x10]
jae 0x43f23d
lea eax, [ebp - 0x24]
push ecx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0043f890
mov ecx, dword [ebp - 0x3c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.0043f8c0
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f243
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x38]
lea ecx, [esi + 0x14]
call fcn.00408870
add edi, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0040aca0
inc ebx
cmp ebx, 0xf
jle 0x43f180
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
inc ebx
mov edx, dword [ebp - 0x20]
sub eax, edx
sar eax, 2
mov dword [ebp - 0x40], ebx
cmp ebx, eax
jb 0x43f143
test edx, edx
je 0x43f2c1
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x43f2b7
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f2df
push ecx
push edx
call fcn.0047ea92
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e577
mov esp, ebp
pop ebp
ret 4
call fcn.004821b3
int3