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

Disassembly:
mov eax, 0x1021aed7
call fcn.10210210
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x70]
and dword [esp + 0x60], 0
mov eax, dword [ebp + 0xcc]
test eax, eax
je 0x1009a7a8
mov ebx, dword [eax - 4]
jmp 0x1009a7aa
xor ebx, ebx
lea ecx, [edi + 0x24]
mov dword [esp + 0x3c], ebx
push 0
call fcn.1004d1b8
test ebx, ebx
jne 0x1009a7d5
xor eax, eax
mov dword [ebp + 0xb8], eax
mov dword [ebp + 0xb0], eax
mov dword [ebp + 0xb4], eax
jmp 0x1009a9a4
mov ecx, dword [esp + 0x74]
push ebp
lea ecx, [ecx + 0x504]
call fcn.10086776
mov ecx, dword [esp + 0x74]
push ebp
lea ecx, [ecx + 0x514]
call fcn.10086776
and dword [edi + 0x14], 0
mov ecx, ebp
push dword [esp + 0x6c]
mov edx, dword [ebp]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x4c]
push eax
call dword [edx + 0x480]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
inc ecx
cmp byte [esp + 0x78], 0
mov dword [esp + 0x38], ecx
jne 0x1009a838
cmp dword [ebp + 0xb4], 0x7fffffff
jne 0x1009a838
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x38], eax
and dword [esp + 0x18], 0
xor edx, edx
mov dword [esp + 0x70], edx
mov ecx, edx
mov dword [esp + 0x10], edx
mov eax, edx
mov dword [esp + 0x2c], ecx
mov esi, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], edx
test ebx, ebx
jle 0x1009a98a
mov ebx, eax
jmp 0x1009a877
xor edx, edx
mov eax, dword [ebp + 0xcc]
mov ebx, dword [eax + ebx*4]
test ebx, ebx
je 0x1009a915
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x1009a896
mov eax, dword [0x102b7738]
jmp 0x1009a8ab
cmp eax, dword [0x102b7738]
jne 0x1009a8ab
push edx
push ecx
push dword [esp + 0x74]
mov ecx, ebx
call fcn.10079533
and dword [esp + 0x30], 0
lea ecx, [esp + 0x30]
push eax
call fcn.1000fd99
mov byte [esp + 0x60], 1
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x488]
cmp eax, 0x80000000
je 0x1009a905
test eax, eax
je 0x1009a905
mov eax, dword [esi + 0x490]
cmp eax, 0x80000000
je 0x1009a9c9
cmp eax, 3
jne 0x1009a9c9
push dword [edi + 8]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp + 0x88]
push dword [esp + 0x74]
call dword [eax + 0x11c]
mov byte [esp + 0x60], 0
test esi, esi
je 0x1009a915
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, eax
jl 0x1009a875
cmp edx, eax
jge 0x1009a97e
mov eax, dword [esp + 0x40]
lea ecx, [edi + 0x24]
add dword [edi + 0x14], eax
lea eax, [ebx - 1]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], edx
call fcn.1004cd01
push dword [esp + 0x78]
push ebx
push dword [esp + 0x78]
push ecx
mov ecx, esp
and dword [ecx], 0
push dword [esp + 0x84]
call fcn.1000fd99
push ebp
push dword [esp + 0x80]
mov ecx, edi
call fcn.1009a625
add dword [edi + 0x14], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
cmp eax, esi
cmovg esi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp + 0xb8], eax
mov dword [ebp + 0xb0], ecx
mov dword [ebp + 0xb4], esi
or dword [esp + 0x60], 0xffffffff
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x1009a9b6
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
push dword [ebx + 0x74]
push dword [ebx + 0x70]
push 0
push 0x400000
call fcn.100022cf
add esp, 0x10
test al, al
jne 0x1009a905
push dword [ebx + 0x74]
push dword [ebx + 0x70]
push 0
push 0x800000
call fcn.100022cf
add esp, 0x10
test al, al
jne 0x1009a905
push dword [ebp + 0x8c]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp + 0x88]
push dword [esp + 0x74]
call dword [eax + 0x11c]
mov ecx, ebx
call fcn.1001741e
test al, al
je 0x1009aa49
mov eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x4c]
add eax, dword [ebx + 0x3c]
add eax, dword [esp + 0x18]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x60]
add eax, dword [ebx + 0x50]
add eax, dword [ebx + 0x40]
mov dword [ebx + 0x7c], eax
jmp 0x1009a905
mov eax, dword [ebp]
lea ecx, [esp + 0x44]
and dword [esp + 0x24], 0
and dword [esp + 0x34], 0
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push dword [esp + 0x20]
mov ecx, ebp
push dword [esp + 0x88]
push dword [esp + 0x84]
call dword [eax + 0x13c]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x24]
and dword [esp + 0x10], 0
cmp dword [esi + 0x448], 6
mov dword [esp + 0x18], eax
jne 0x1009aab4
cmp dword [esi + 0x44c], 0xa
jne 0x1009aab4
push ebx
push ebp
push dword [esp + 0x74]
mov ecx, edi
call fcn.10099191
mov dword [esp + 0x10], eax
cmp dword [esi + 0x468], 6
jne 0x1009aaf0
cmp dword [esi + 0x46c], 0xa
jne 0x1009aaf0
push ebx
push ebp
push dword [esp + 0x74]
mov ecx, edi
call fcn.10099151
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jg 0x1009aaf4
push ebx
push ebp
push dword [esp + 0x74]
mov ecx, edi
call fcn.10099151
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x1009aaf4
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x1009ab37
cmp dword [esi + 0x428], ecx
je 0x1009ab1f
cmp dword [esi + 0x428], 4
jne 0x1009ab11
mov eax, dword [esi + 0x42c]
jmp 0x1009ab13
xor eax, eax
test eax, eax
jne 0x1009ab1f
mov eax, dword [ebx + 0x88]
jmp 0x1009ab33
push dword [ebp + 0x88]
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x70]
call dword [eax + 0x134]
mov dword [esp + 0x10], eax
mov edi, dword [ebx + 0x3c]
xor eax, eax
test edi, edi
mov ecx, ebx
cmovns edi, eax
call fcn.1006bb31
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x4c]
mov ecx, dword [esp + 0x14]
add eax, edi
mov edi, dword [esp + 0x10]
add edi, eax
cmp dword [esp + 0x70], ecx
jge 0x1009ac51
mov eax, dword [ebx + 0x44]
add eax, edi
add eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x38]
jg 0x1009abae
mov eax, dword [esi + 0x4dc]
xor edx, edx
cmp eax, 0x80000000
cmove eax, edx
test al, 1
jne 0x1009abae
mov edx, dword [esp + 0x6c]
mov ecx, ebx
call fcn.10097109
xor ecx, ecx
mov eax, dword [eax + 0x4dc]
cmp eax, 0x80000000
cmove eax, ecx
test al, 2
je 0x1009ac51
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x1009abc1
mov edx, dword [esp + 0x40]
add dword [ebx + 0x14], edx
mov dword [esp + 0x48], eax
lea edi, [ecx - 1]
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], edi
push eax
lea ecx, [ebx + 0x24]
call fcn.1004cd01
push dword [esp + 0x78]
push dword [esp + 0x18]
push dword [esp + 0x78]
push ecx
mov ecx, esp
and dword [ecx], 0
push dword [esp + 0x84]
call fcn.1000fd99
push ebp
push dword [esp + 0x80]
mov ecx, ebx
call fcn.1009a625
add dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x20]
and dword [esp + 0x18], 0
and dword [esp + 0x10], 0
cmp dword [esp + 0x28], ecx
mov edx, dword [esp + 0x14]
cmovg ecx, dword [esp + 0x28]
mov dword [esp + 0x28], ecx
xor ecx, ecx
and dword [ebx + 0x18], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edi
mov byte [esp + 0x60], cl
test esi, esi
je 0x1009ac97
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [esp + 0x1c]
jmp 0x1009a915
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x6c]
add dword [esp + 0x1c], edi
call dword [eax + 0x318]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
push dword [esp + 0x6c]
cmovg ecx, eax
mov eax, dword [ebx]
mov dword [esp + 0x30], ecx
mov ecx, ebx
call dword [eax + 0x324]
mov ecx, dword [esp + 0x24]
add eax, ecx
add dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
mov byte [esp + 0x60], 0
test esi, esi
je 0x1009ac48
jmp 0x1009ac41
mov edi, dword [esp + 0x1c]
jmp 0x1009a919