Function at 0x1000a500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10032598
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10043230]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x10043230]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x1000a766
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jae 0x1000a766
xor ebx, ebx
xor edi, edi
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edi
call dword [eax + 0x58]
cmp ebx, dword [eax + 0x404]
jae 0x1000a762
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], eax
mov word [esp + 0x50], ax
push dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov eax, dword [eax + 0x400]
mov edx, dword [edi + eax]
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp word [edx], ax
jne 0x1000a5de
xor ecx, ecx
jmp 0x1000a5f6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a5e3
sub ecx, edi
mov edi, dword [esp + 0x18]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.10003db0
cmp dword [esp + 0x4c], 8
jb 0x1000a614
push dword [esp + 0x38]
call fcn.1001c318
add esp, 4
xor eax, eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
call fcn.10003bc0
cmp dword [esp + 0x30], 8
jb 0x1000a64c
push dword [esp + 0x1c]
call fcn.1001c318
add esp, 4
mov eax, dword [esi]
push dword [esp + 0x14]
mov ecx, esi
call dword [eax + 0x58]
mov eax, dword [eax + 0x400]
mov edx, dword [eax + edi + 4]
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
cmp word [edx], ax
je 0x1000a695
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000a682
sub eax, edi
mov edi, dword [esp + 0x18]
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.10003db0
cmp dword [esp + 0x64], 8
jb 0x1000a6b3
push dword [esp + 0x50]
call fcn.1001c318
add esp, 4
xor eax, eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
call fcn.10003bc0
cmp dword [esp + 0x30], 8
jb 0x1000a6eb
push dword [esp + 0x1c]
call fcn.1001c318
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
call fcn.1000aca0
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x64], 8
jb 0x1000a714
push dword [esp + 0x50]
call fcn.1001c318
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x1000a73e
push dword [esp + 0x38]
call fcn.1001c318
add esp, 4
mov ecx, dword [esp + 0x14]
xor eax, eax
inc ebx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
add edi, 0x1c
jmp 0x1000a566
mov eax, ebx
jmp 0x1000a768
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1001bb54
mov esp, ebp
pop ebp
ret 8