Function at 0x407d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438010
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x516c24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
push 6
push 0x43a23c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x407d5e
xor al, al
jmp 0x407f8b
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x407d83
xor al, al
jmp 0x407f8b
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x407da4
xor al, al
jmp 0x407f8b
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x407dc9
xor al, al
jmp 0x407f8b
mov eax, dword [ebp - 0x28]
push eax
call fcn.004168a6
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00418e00
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
call fcn.004168a6
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x34]
push eax
call fcn.00419380
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
add edx, 4
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00418e00
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00408210
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x407e6c
xor al, al
jmp 0x407f8b
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov al, byte [ecx + 4]
mov byte [edx + 4], al
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x407f62
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 4]
add ecx, 1
push ecx
call fcn.004168a6
add esp, 4
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 4]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
call fcn.00419380
add esp, 0xc
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 4]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
lea ecx, [eax + edx + 5]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call fcn.00418e00
add esp, 0xc
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 4]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + edx + 5]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004168a6
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call fcn.00419380
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 4]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax + 9]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
call fcn.00418e00
add esp, 0xc
jmp 0x407f74
mov dword [ebp - 4], 0xffffffff
jmp 0x407f89
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4