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

Disassembly:
push 0xffffffffffffffff
push 0x101579d1
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x9c]
lea eax, [esp + 0x68]
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov ecx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov edi, 1
mov dword [esp + 0x8c], edi
mov edx, dword [esp + 0x78]
mov byte [edx], 0
mov dword [esp + 0x8c], 2
lea ecx, [esp + 0x34]
call fcn.100e7e56
mov byte [esp + 0x8c], 3
push ebp
lea eax, [esp + 0x38]
push eax
push 0x101615a8
push esi
call fcn.10048510
add esp, 0x10
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x1000a11c
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call fcn.10009b80
mov dword [esp + 0x2c], edi
mov byte [esp + 0x8c], 2
lea ecx, [esp + 0x34]
call fcn.100e819e
mov byte [esp + 0x8c], 0
lea ecx, [esp + 0x68]
call fcn.10006310
mov eax, ebx
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100f611a
add esp, 0x7c
ret
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov byte [esp + 0x8c], 5
xor edi, edi
cmp eax, ebp
jg 0x1000a2d2
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, ebp
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, 0xffffffff
test eax, eax
jle 0x1000a1eb
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], eax
test ebp, ebp
jle 0x1000a1d9
xor edx, edx
mov esi, dword [edx + edi + 8]
mov ecx, dword [edx + edi + 0x14]
lea eax, [edx + edi]
mov ebx, esi
sub ebx, ecx
cmp ebx, dword [esp + 0xa0]
jg 0x1000a19c
sub ecx, esi
cmp ecx, dword [esp + 0xa0]
jg 0x1000a1c9
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 0x10]
jle 0x1000a1c9
mov ebx, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [eax], ebx
mov ebx, dword [eax + 0x10]
mov dword [eax + 4], ebx
mov ebx, dword [eax + 0x14]
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x1c]
lea eax, [edx + eax + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov edi, dword [esp + 0x1c]
add edx, 0xc
sub ebp, 1
jne 0x1000a171
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
sub ebp, 1
sub dword [esp + 0x18], 1
mov dword [esp + 0x30], ebp
jne 0x1000a16b
mov ebp, dword [esp + 0x20]
sub ebp, edi
mov eax, 0x2aaaaaab
imul ebp
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
xor esi, esi
add ecx, edx
je 0x1000a27c
xor ebp, ebp
test esi, esi
jle 0x1000a21e
push 0x101615a9
push 0x101615a8
lea ecx, [esp + 0x70]
call fcn.10009bf0
mov edi, dword [esp + 0x1c]
mov edi, dword [edi + ebp]
test edi, edi
jl 0x1000a3ea
cmp edi, dword [esp + 0x3c]
jge 0x1000a3ea
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + edi*4]
mov eax, ecx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1000a240
sub eax, edi
add eax, ecx
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.10009bf0
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add esi, 1
add eax, edx
add ebp, 0xc
cmp esi, eax
jb 0x1000a203
mov dword [ebx + 0x10], ebx
mov dword [ebx + 0x14], ebx
mov byte [esp + 0x8c], 7
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov esi, eax
sub eax, edi
add eax, 1
cmp eax, 0xffffffff
ja 0x1000a44c
test eax, eax
jbe 0x1000a44c
cmp eax, 0x10
jbe 0x1000a40a
cmp eax, 0x80
mov dword [esp + 0x18], eax
jbe 0x1000a3ef
push eax
call fcn.100e4ac0
jmp 0x1000a3f9
xor ebp, ebp
lea ecx, [esp + 0x54]
call fcn.100e7e56
mov byte [esp + 0x8c], 6
cmp edi, ebp
jl 0x1000a3ea
cmp edi, dword [esp + 0x3c]
jge 0x1000a3ea
mov edx, dword [esp + 0x38]
mov eax, dword [edx + edi*4]
push ebp
lea ecx, [esp + 0x58]
push ecx
push 0x101615d8
push eax
call fcn.10048510
add esp, 0x10
cmp eax, 6
jne 0x1000a3aa
mov ebx, dword [esp + 0x5c]
cmp ebx, 2
mov dword [esp + 0x48], edi
jle 0x1000a3ea
mov ebp, dword [esp + 0x58]
mov esi, dword [ebp + 8]
call fcn.10008860
cmp ebx, 3
mov dword [esp + 0x4c], eax
jle 0x1000a3ea
mov esi, dword [ebp + 0xc]
call fcn.10008860
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x24]
lea edx, [esp + 0x17]
lea ecx, [esp + 0x48]
je 0x1000a373
push edx
push ecx
push eax
call fcn.10009080
add esp, 0xc
add dword [esp + 0x20], 0xc
jmp 0x1000a383
push 1
push 1
push edx
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.100c3810
mov byte [esp + 0x8c], 5
lea ecx, [esp + 0x54]
call fcn.100e819e
mov ebx, dword [esp + 0x28]
add edi, 1
cmp edi, dword [esp + 0x18]
jl 0x1000a2d0
jmp 0x1000a13a
lea edx, [esp + 0x17]
push edx
push 0x10160a44
mov ecx, ebx
call fcn.10009b00
mov dword [esp + 0x2c], 1
mov byte [esp + 0x8c], 5
lea ecx, [esp + 0x54]
call fcn.100e819e
mov byte [esp + 0x8c], 3
lea ecx, [esp + 0x1c]
call fcn.10009a00
jmp 0x1000a0d6
jmp fcn.100e4be9
lea ecx, [esp + 0x18]
push ecx
call fcn.100e4790
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], eax
add eax, edx
mov dword [ebx], eax
cmp esi, edi
mov eax, dword [ebx + 0x14]
je 0x1000a420
sub esi, edi
push esi
push edi
push eax
call fcn.100f7fd0
add esp, 0xc
add eax, esi
mov dword [ebx + 0x10], eax
mov byte [eax], 0
mov byte [esp + 0x8c], 5
mov dword [esp + 0x2c], 1
mov byte [esp + 0x8c], 3
lea ecx, [esp + 0x1c]
call fcn.10009a00
jmp 0x1000a0d6
push 0x10161590
call fcn.100e4a20