Function at 0x10007d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x1015c520
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101b23cc]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x410]
mov eax, dword [ebp + 0x414]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0x418]
mov dword [ebp - 0x18], edx
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp], esi
mov byte [ebp - 4], 1
cmp ebx, esi
je 0x10007e13
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 1
cdq
push esi
push 2
push edx
push eax
call fcn.100fcc60
mov edi, eax
add eax, 0x80000000
adc edx, esi
test edx, edx
ja 0x10007e13
jb 0x10007dd6
cmp eax, 0xffffffff
ja 0x10007e13
cmp edi, 0x400
jg 0x10007df9
push edi
call fcn.100017a0
add esp, 4
test al, al
je 0x10007df9
mov eax, edi
call fcn.100fcb70
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10007e05
push edi
lea ecx, [ebp - 0x14]
call fcn.10001860
mov esi, dword [ebp - 0x14]
push 0
push edi
push ebx
push eax
call fcn.10001100
test eax, eax
jne 0x10007e50
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10007e27
lea ecx, [ebp]
call fcn.10002f60
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10007e46
mov eax, esi
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
push eax
call fcn.100fbfbf
add esp, 4
test esi, esi
jne 0x10007e32
mov eax, 0x8007000e
jmp 0x10007f96
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x10007e70
call fcn.10001b50
mov edi, eax
jmp 0x10007f5d
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x10007e8f
call fcn.10001b50
jmp 0x10007f54
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10007ea8
call fcn.10001b50
jmp 0x10007f54
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
mov dword [ebp - 0x1c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x10007ee9
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10007ed0
lea ecx, [ebp]
call fcn.10002f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001730
mov eax, 0x8007000e
jmp 0x10007f96
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp]
call fcn.10005300
mov dword [ebp - 4], 1
jmp 0x10007f1d
mov eax, dword [ebp]
test eax, eax
jne 0x10007f2b
mov edi, 0x8007000e
jmp 0x10007f56
push edi
mov ecx, dword [ebp - 0x18]
push ecx
push edi
push eax
call fcn.100019f0
add esp, 0x10
mov edx, dword [ebp]
mov byte [edx + edi], 0
mov eax, dword [ebp + 0x41c]
push eax
mov ecx, dword [ebp]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10007990
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov byte [ebp - 4], 0
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x10007f71
lea ecx, [ebp]
call fcn.10002f60
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10007f94
lea esp, [esp]
mov eax, esi
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
push eax
call fcn.100fbfbf
add esp, 4
test esi, esi
jne 0x10007f80
mov eax, edi
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.100fc49a
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10