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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp esi, dword [edi]
jb 0x1009a110
mov eax, esi
sub eax, dword [edi + 4]
cmp eax, dword [edi + 0x10]
je 0x1009a82e
push dword [edi + 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10081690
cmp byte [ebp - 0x18], 0
mov esi, dword [ebp - 0x1c]
jne 0x1009a1bf
movzx ebx, byte [esi]
cmp ebx, 0x80
jae 0x1009a11e
inc esi
jmp 0x1009a14d
movzx ecx, byte [esi + 1]
add ebx, 0xffffff80
mov eax, ecx
shl eax, 7
add ebx, eax
cmp ecx, 0x80
jae 0x1009a139
add esi, 2
jmp 0x1009a14d
push ebx
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.10082080
mov ebx, dword [ebp - 0x20]
add esp, 0xc
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x1009a1bd
mov eax, ebx
shr eax, 3
dec eax
cmp eax, 9
ja case.default.0x1009a160
jmp dword [eax*4 + 0x1009a860]
cmp bl, 0xa
jne case.default.0x1009a160
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x14], 0
or dword [ebx + 8], 1
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x1009a188
and ecx, 0xfffffffc
jmp 0x1009a199
mov eax, ecx
shr eax, 1
test al, 1
je 0x1009a194
xor ecx, ecx
jmp 0x1009a199
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebx + 0x90]
call fcn.100474b0
push edi
push esi
push eax
call fcn.10081850
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x1009a0e2
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp bl, 0x12
jne case.default.0x1009a160
mov ebx, dword [ebp - 8]
dec esi
lea ecx, [ebx + 0x14]
nop word [eax + eax]
mov eax, dword [ebx + 0x1c]
inc esi
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x1009a20c
mov edx, dword [ecx]
cmp edx, dword [eax]
jge 0x1009a205
mov eax, dword [eax + edx*4 + 4]
mov dword [ebp - 4], eax
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [ebx + 0x14]
mov dword [ebp - 0xc], ecx
jmp 0x1009a240
mov eax, dword [eax]
cmp eax, dword [ebx + 0x18]
jne 0x1009a219
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x10]
inc eax
push eax
call fcn.10055870
mov eax, dword [ebx + 0x1c]
inc dword [eax]
push dword [ebx + 0x10]
call fcn.100a3840
mov ecx, dword [ebx + 0x1c]
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov dword [ecx + edx*4 + 4], eax
mov eax, dword [ebp - 0xc]
inc dword [eax]
push esi
push dword [ebp - 4]
mov ecx, edi
call fcn.100a5220
mov esi, eax
test esi, esi
je 0x1009a1bd
cmp esi, dword [edi]
jae 0x1009a0e6
cmp byte [esi], 0x12
mov ecx, dword [ebp - 0xc]
je 0x1009a1e0
jmp 0x1009a0e2
cmp bl, 0x1a
jne case.default.0x1009a160
mov ebx, dword [ebp - 8]
dec esi
nop dword [eax + eax]
mov eax, dword [ebx + 0x2c]
inc esi
test eax, eax
je 0x1009a2a8
mov ecx, dword [ebx + 0x24]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1009a2a3
mov eax, dword [eax + ecx*4 + 4]
mov dword [ebp - 4], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 4]
jmp 0x1009a2d2
cmp edx, dword [ebx + 0x28]
jne 0x1009a2b5
mov eax, dword [ebx + 0x28]
lea ecx, [ebx + 0x20]
inc eax
push eax
call fcn.10055870
mov eax, dword [ebx + 0x2c]
inc dword [eax]
push dword [ebx + 0x20]
call fcn.100a3240
mov edx, dword [ebx + 0x24]
add esp, 4
mov ecx, dword [ebx + 0x2c]
mov dword [ecx + edx*4 + 4], eax
inc dword [ebx + 0x24]
push esi
push eax
mov ecx, edi
call fcn.100a50e0
mov esi, eax
test esi, esi
je 0x1009a1bd
cmp esi, dword [edi]
jae 0x1009a0e6
cmp byte [esi], 0x1a
je 0x1009a280
jmp 0x1009a0e2
cmp bl, 0x22
jne case.default.0x1009a160
mov ebx, dword [ebp - 8]
dec esi
mov eax, dword [ebx + 0x3c]
inc esi
test eax, eax
je 0x1009a32c
mov ecx, dword [ebx + 0x34]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1009a327
mov eax, dword [eax + ecx*4 + 4]
mov dword [ebp - 4], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 4]
jmp 0x1009a356
cmp edx, dword [ebx + 0x38]
jne 0x1009a339
mov eax, dword [ebx + 0x38]
lea ecx, [ebx + 0x30]
inc eax
push eax
call fcn.10055870
mov eax, dword [ebx + 0x3c]
inc dword [eax]
push dword [ebx + 0x30]
call fcn.100a33e0
mov edx, dword [ebx + 0x34]
add esp, 4
mov ecx, dword [ebx + 0x3c]
mov dword [ecx + edx*4 + 4], eax
inc dword [ebx + 0x34]
push esi
push eax
mov ecx, edi
call fcn.100a5180
mov esi, eax
test esi, esi
je 0x1009a1bd
cmp esi, dword [edi]
jae 0x1009a0e6
cmp byte [esi], 0x22
je 0x1009a304
jmp 0x1009a0e2
cmp bl, 0x2a
jne case.default.0x1009a160
mov ebx, dword [ebp - 8]
dec esi
mov eax, dword [ebx + 0x4c]
inc esi
test eax, eax
je 0x1009a3ad
mov ecx, dword [ebx + 0x44]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1009a3a8
mov eax, dword [eax + ecx*4 + 4]
mov dword [ebp - 4], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x44], eax
jmp 0x1009a3dc
cmp edx, dword [ebx + 0x48]
jne 0x1009a3ba
mov eax, dword [ebx + 0x48]
lea ecx, [ebx + 0x40]
inc eax
push eax
call fcn.10055870
mov eax, dword [ebx + 0x4c]
inc dword [eax]
push dword [ebx + 0x40]
call fcn.100a32f0
mov ecx, dword [ebx + 0x44]
mov edx, eax
mov eax, dword [ebx + 0x4c]
add esp, 4
mov dword [ebp - 4], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [ebx + 0x44]
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x1009a3e9
inc esi
jmp 0x1009a3fd
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.10081f10
mov esi, dword [ebp - 0x2c]
add esp, 0xc
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x1009a1bd
sub eax, dword [edi + 4]
lea edx, [eax + esi]
xor eax, eax
test edx, edx
mov dword [ebp - 0xc], edx
cmovs eax, edx
add eax, dword [edi + 4]
add dword [edi + 0x44], 0xffffffff
mov dword [edi], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x10], eax
mov dword [edi + 0x10], edx
js 0x1009a1bd
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.10098f10
mov esi, eax
test esi, esi
je 0x1009a1bd
inc dword [edi + 0x44]
cmp dword [edi + 0x3c], 0
jne 0x1009a1bd
mov eax, dword [edi + 0x10]
xor ecx, ecx
sub eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov dword [edi + 0x10], eax
cmovs ecx, eax
add ecx, dword [edi + 4]
mov dword [edi], ecx
cmp esi, ecx
jae 0x1009a0e2
cmp byte [esi], 0x2a
je 0x1009a388
jmp 0x1009a0e2
cmp bl, 0x32
jne case.default.0x1009a160
mov ebx, dword [ebp - 8]
dec esi
mov eax, dword [ebx + 0x5c]
inc esi
test eax, eax
je 0x1009a4af
mov ecx, dword [ebx + 0x54]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1009a4aa
mov eax, dword [eax + ecx*4 + 4]
mov dword [ebp - 0x10], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0x10]
jmp 0x1009a4d9
cmp edx, dword [ebx + 0x58]
jne 0x1009a4bc
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x50]
inc eax
push eax
call fcn.10055870
mov eax, dword [ebx + 0x5c]
inc dword [eax]
push dword [ebx + 0x50]
call fcn.100a3840
mov edx, dword [ebx + 0x54]
add esp, 4
mov ecx, dword [ebx + 0x5c]
mov dword [ecx + edx*4 + 4], eax
inc dword [ebx + 0x54]
push esi
push eax
mov ecx, edi
call fcn.100a5220
mov esi, eax
test esi, esi
je 0x1009a1bd
cmp esi, dword [edi]
jae 0x1009a0e6
cmp byte [esi], 0x32
je 0x1009a487
jmp 0x1009a0e2
cmp bl, 0x3a
jne case.default.0x1009a160
mov ecx, dword [ebp - 8]
call fcn.100a89f0
movzx edx, byte [esi]
mov dword [ebp - 0x10], eax
cmp edx, 0x80
jae 0x1009a520
inc esi
jmp 0x1009a534
push edx
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.10081f10
mov esi, dword [ebp - 0x34]
add esp, 0xc
mov edx, dword [ebp - 0x30]
test esi, esi
je 0x1009a1bd
sub edx, dword [edi + 4]
xor eax, eax
mov ebx, dword [edi + 0x10]
add edx, esi
mov dword [ebp - 4], edx
cmovs eax, edx
mov dword [edi + 0x10], edx
add eax, dword [edi + 4]
add dword [edi + 0x44], 0xffffffff
mov dword [edi], eax
js 0x1009a1bd
mov ecx, dword [ebp - 0x10]
push edi
push esi
call fcn.100a0230
mov esi, eax
test esi, esi
je 0x1009a1bd
inc dword [edi + 0x44]
cmp dword [edi + 0x3c], 0
jne 0x1009a1bd
sub ebx, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [edi + 0x10]
add eax, ebx
mov dword [edi + 0x10], eax
cmovs ecx, eax
add ecx, dword [edi + 4]
mov dword [edi], ecx
jmp 0x1009a0e2
cmp bl, 0x42
jne case.default.0x1009a160
mov ebx, dword [ebp - 8]
dec esi
mov eax, dword [ebx + 0x6c]
inc esi
test eax, eax
je 0x1009a5cb
mov ecx, dword [ebx + 0x64]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1009a5c6
mov eax, dword [eax + ecx*4 + 4]
mov dword [ebp - 4], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x64], eax
jmp 0x1009a5fa
cmp edx, dword [ebx + 0x68]
jne 0x1009a5d8
mov eax, dword [ebx + 0x68]
lea ecx, [ebx + 0x60]
inc eax
push eax
call fcn.10055870
mov eax, dword [ebx + 0x6c]
inc dword [eax]
push dword [ebx + 0x60]
call fcn.100a3f40
mov ecx, dword [ebx + 0x64]
mov edx, eax
mov eax, dword [ebx + 0x6c]
add esp, 4
mov dword [ebp - 4], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [ebx + 0x64]
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x1009a607
inc esi
jmp 0x1009a61b
push eax
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.10081f10
mov esi, dword [ebp - 0x3c]
add esp, 0xc
mov eax, dword [ebp - 0x38]
test esi, esi
je 0x1009a1bd
sub eax, dword [edi + 4]
lea edx, [eax + esi]
xor eax, eax
test edx, edx
mov dword [ebp - 0xc], edx
cmovs eax, edx
add eax, dword [edi + 4]
add dword [edi + 0x44], 0xffffffff
mov dword [edi], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x10], eax
mov dword [edi + 0x10], edx
js 0x1009a1bd
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.1009c250
mov esi, eax
test esi, esi
je 0x1009a1bd
inc dword [edi + 0x44]
cmp dword [edi + 0x3c], 0
jne 0x1009a1bd
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov eax, dword [edi + 0x10]
add eax, ecx
xor ecx, ecx
test eax, eax
mov dword [edi + 0x10], eax
cmovs ecx, eax
add ecx, dword [edi + 4]
mov dword [edi], ecx
cmp esi, ecx
jae 0x1009a0e2
cmp byte [esi], 0x42
je 0x1009a5a6
jmp 0x1009a0e2
cmp bl, 0x4a
jne case.default.0x1009a160
mov ebx, dword [ebp - 8]
dec esi
nop dword [eax]
mov eax, dword [ebx + 0x7c]
inc esi
test eax, eax
je 0x1009a6d5
mov ecx, dword [ebx + 0x74]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1009a6d0
mov eax, dword [eax + ecx*4 + 4]
mov dword [ebp - 4], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
jmp 0x1009a704
cmp edx, dword [ebx + 0x78]
jne 0x1009a6e2
mov eax, dword [ebx + 0x78]
lea ecx, [ebx + 0x70]
inc eax
push eax
call fcn.10055870
mov eax, dword [ebx + 0x7c]
inc dword [eax]
push dword [ebx + 0x70]
call fcn.100a3370
mov ecx, dword [ebx + 0x74]
mov edx, eax
mov eax, dword [ebx + 0x7c]
add esp, 4
mov dword [ebp - 4], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [ebx + 0x74]
movzx edx, byte [esi]
cmp edx, 0x80
jae 0x1009a712
inc esi
jmp 0x1009a726
push edx
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.10081f10
mov esi, dword [ebp - 0x44]
add esp, 0xc
mov edx, dword [ebp - 0x40]
test esi, esi
je 0x1009a1bd
mov eax, esi
sub eax, dword [edi + 4]
add edx, eax
xor eax, eax
test edx, edx
mov dword [ebp - 0xc], edx
cmovs eax, edx
add eax, dword [edi + 4]
add dword [edi + 0x44], 0xffffffff
mov dword [edi], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x10], eax
mov dword [edi + 0x10], edx
js 0x1009a1bd
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.10099540
mov esi, eax
test esi, esi
je 0x1009a1bd
inc dword [edi + 0x44]
cmp dword [edi + 0x3c], 0
jne 0x1009a1bd
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov eax, dword [edi + 0x10]
add eax, ecx
xor ecx, ecx
test eax, eax
mov dword [edi + 0x10], eax
cmovs ecx, eax
add ecx, dword [edi + 4]
mov dword [edi], ecx
cmp esi, ecx
jae 0x1009a0e2
cmp byte [esi], 0x4a
je 0x1009a6b0
jmp 0x1009a0e2
cmp bl, 0x52
jne case.default.0x1009a160
mov ebx, dword [ebp - 8]
dec esi
lea ecx, [ebx + 0x80]
call fcn.100550a0
push edi
inc esi
push esi
push eax
call fcn.10081850
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1009a1bd
cmp esi, dword [edi]
jae 0x1009a0e6
cmp byte [esi], 0x52
je 0x1009a7b1
jmp 0x1009a0e2
mov eax, ebx
and al, 7
cmp al, 4
je 0x1009a84d
test ebx, ebx
je 0x1009a84d
mov ecx, dword [ebp - 8]
add ecx, 4
test byte [ecx], 1
je 0x1009a816
mov eax, dword [ecx]
push edi
and eax, 0xfffffffc
push esi
add eax, 4
push eax
push 0
push ebx
call fcn.10080550
add esp, 0x14
jmp 0x1009a1b3
call fcn.100290c0
push edi
push esi
push eax
push 0
push ebx
call fcn.10080550
add esp, 0x14
jmp 0x1009a1b3
test eax, eax
jle 0x1009a1bf
cmp dword [edi + 8], 0
jne 0x1009a1bf
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
mov dword [edi + 0x3c], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8