Function at 0x10007610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10061040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xa
movzx eax, dx
push eax
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10007664
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1000788d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x1000767f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1000788d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x1000769b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1000788d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x100076b0
lea edi, [eax + 6]
jmp 0x1000788d
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
push 0x80
cmova eax, dword [ebp + 8]
push 0x40
push 0x8101
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002088e
mov edi, eax
add esp, 0x14
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
jne 0x10007855
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.1000a9a0
lea ecx, [ebp - 0x2c]
call fcn.10007120
add esp, 0x18
push 0x100599c0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.1000a880
mov esi, eax
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.1000a9a0
lea ecx, [ebp - 0x48]
call fcn.10007120
add esp, 0x18
mov edx, eax
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
jbe 0x10007738
mov esi, dword [esi]
cmp dword [edx + 0x14], 7
mov ecx, dword [edx + 0x10]
jbe 0x10007743
mov edx, dword [edx]
cmp ecx, eax
je 0x1000774b
xor bl, bl
jmp 0x10007779
test ecx, ecx
jne 0x10007753
mov bl, 1
jmp 0x10007779
sub edx, esi
movzx eax, word [edx + esi]
mov ebx, eax
mov dword [ebp - 0x30], ebx
movzx ebx, word [esi]
cmp ax, bx
jne 0x100077f9
add esi, 2
sub ecx, 1
jne 0x10007755
xor eax, eax
test eax, eax
sete bl
mov ecx, dword [ebp - 0x34]
cmp ecx, 7
jbe 0x100077b3
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100077a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100078e1
push ecx
push edx
call fcn.1001754d
add esp, 8
mov ecx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp ecx, 7
jbe 0x10007812
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10007808
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100078e1
jmp 0x10007808
cmp word [ebp - 0x30], bx
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x10007774
push ecx
push edx
call fcn.1001754d
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
test bl, bl
cmovne edi, eax
cmp ecx, 7
jbe 0x1000788d
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10007849
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100078e6
push ecx
push edx
call fcn.1001754d
add esp, 8
jmp 0x1000788d
push dword [ebp - 0x30]
push esi
push eax
call fcn.1001f9b8
add esp, 0xc
push dword [ebp - 0x14]
test eax, eax
jns 0x10007878
call fcn.1001f073
add esp, 4
mov edi, 0x21
jmp 0x1000788d
call fcn.1001f073
add esp, 4
test eax, eax
jns 0x1000788b
mov edi, 9
jmp 0x1000788d
xor edi, edi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x100078c3
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100078b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100078eb
push ecx
push edx
call fcn.1001754d
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100170dc
mov esp, ebp
pop ebp
ret
call fcn.1001ef91
call fcn.1001ef91
call fcn.1001ef91
int3