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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x10021994]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
xor eax, eax
push ebp
push esi
push edi
xor edi, edi
push 0x28
mov dword [esp + 0x50], edi
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov word [esp + 0x71], ax
mov byte [esp + 0x73], al
call fcn.1000fb90
push edi
push edi
mov esi, eax
push edi
neg esi
sbb esi, esi
push edi
push edi
and esi, 0xffffff07
push 1
mov ebx, 1
add esi, 0x122
call fcn.10002f20
push esi
call fcn.1000fc10
call fcn.1000cdd0
xor esi, esi
push eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], esi
call fcn.100152d0
push 0x11a
call fcn.1000fb90
add esp, 0x28
test eax, eax
je 0x10009955
mov dword [esp + 0x24], 0x124
jmp 0x10009967
push 0x7b
mov dword [esp + 0x28], 0x7d
call fcn.1000fc10
add esp, 4
call fcn.1000cdd0
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
lea ebx, [ebx]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.1000f530
mov ebx, eax
add esp, 8
sub eax, 0x11c
mov dword [esp + 0x34], ebx
je 0x100099e8
sub eax, 4
jne 0x10009cf2
test esi, esi
je 0x100099b6
push 0x10
call fcn.10016180
add esp, 4
call fcn.1000cdd0
push eax
mov dword [esp + 0x18], eax
call fcn.10014d90
push 0x3a
call fcn.1000fc10
push 0
push 0
mov dword [esp + 0x38], 1
call fcn.10009540
push ebp
call fcn.10015560
jmp 0x10009ce0
test esi, esi
je 0x100099f6
push 0xf
call fcn.10016180
add esp, 4
call fcn.1000cdd0
mov dword [esp + 0x14], eax
movsx eax, word [0x10021980]
push eax
call fcn.1000b600
add esp, 4
mov word [0x10021980], 0
jmp 0x10009a24
mov edi, dword [esp + 0x4c]
add dword [esp + 0x18], 1
push 1
call fcn.100186b0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.10018680
push 0
push 2
call fcn.100164b0
push 0
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.10014370
mov edx, dword [esp + 0x54]
mov esi, eax
mov eax, dword [esp + 0x64]
push edx
push eax
call fcn.10018660
push 0
call fcn.100186b0
add esp, 0x30
cmp esi, 8
je 0x10009a8a
push 8
call fcn.10016180
add esp, 4
mov dword [esp + 0x10], 0
push 0
push 3
call fcn.100164b0
mov eax, dword [esp + 0x18]
add esp, 8
test edi, edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], ecx
je 0x10009ac8
cmp dword [edi + 0x24], eax
jge 0x10009ab7
mov dword [esp + 0x1c], edi
mov edi, dword [edi]
test edi, edi
jne 0x10009aa6
jmp 0x10009ac8
jne 0x10009ac8
push eax
push 0x28
call fcn.10016180
mov eax, dword [esp + 0x18]
add esp, 8
mov edx, dword [esp + 0x14]
push edx
mov ebx, eax
call fcn.1000cdf0
push 0x2c
mov ebp, eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10009af1
push 0x67
call fcn.10016180
add esp, 4
push 0x2c
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
test ebp, ebp
je 0x10009b1c
mov ecx, esi
sub ecx, ebp
mov eax, ebp
lea edx, [ecx + 4]
jmp 0x10009b10
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10009b10
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0
mov dword [esi], edi
push 0x117
mov dword [edx], esi
call fcn.1000fb90
add esp, 4
test eax, eax
je 0x10009c93
push 1
call fcn.100186b0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.10018680
push 0
push 2
call fcn.100164b0
push 0
push 0
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.10014370
mov ecx, dword [esp + 0x68]
mov esi, eax
mov eax, dword [esp + 0x60]
push eax
push ecx
call fcn.10018660
push 0
call fcn.100186b0
add esp, 0x30
cmp esi, 8
je 0x10009ba4
push 8
call fcn.10016180
add esp, 4
mov dword [esp + 0x20], 0
push 0
push 3
call fcn.100164b0
mov eax, dword [esp + 0x18]
add esp, 8
cmp dword [esp + 0x20], eax
jg 0x10009bc8
push 0x32
call fcn.10016180
mov eax, dword [esp + 0x14]
add esp, 4
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jg 0x10009c93
lea esp, [esp]
mov edi, dword [esp + 0x4c]
add dword [esp + 0x18], 1
test edi, edi
lea edx, [esp + 0x4c]
mov dword [esp + 0x1c], edx
je 0x10009c17
cmp dword [edi + 0x24], eax
jge 0x10009c06
mov dword [esp + 0x1c], edi
mov edi, dword [edi]
test edi, edi
jne 0x10009bf5
jmp 0x10009c17
jne 0x10009c17
push eax
push 0x28
call fcn.10016180
mov eax, dword [esp + 0x18]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x14]
push eax
call fcn.1000cdf0
push 0x2c
mov ebp, eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10009c40
push 0x67
call fcn.10016180
add esp, 4
push 0x2c
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
test ebp, ebp
je 0x10009c6c
mov ecx, esi
sub ecx, ebp
mov eax, ebp
lea edx, [ecx + 4]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10009c60
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0
mov dword [esi], edi
mov dword [edx], esi
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jle 0x10009be0
push 0x2c
call fcn.1000fb90
add esp, 4
test eax, eax
jne 0x10009a20
push 0x3a
call fcn.1000fc10
call fcn.1000b6b0
mov word [0x10021980], ax
mov eax, dword [esp + 0x18]
push eax
call fcn.10014d90
push 0
push 0
call fcn.10009540
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10015560
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
add esp, 0x14
cmp ebx, dword [esp + 0x24]
je 0x10009d0c
jmp 0x10009980
cmp ebx, dword [esp + 0x24]
je 0x10009d0c
push 2
call fcn.10016180
add esp, 4
mov dword [0x100223cc], 1
mov edx, dword [esp + 0x38]
push edx
call fcn.10014d90
add esp, 4
test esi, esi
jne 0x10009d40
push ebp
call fcn.1000cdf0
add esp, 4
lea edx, [esp + 0x78]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x10009d30
jmp 0x10009d5f
mov eax, dword [esp + 0x14]
push eax
call fcn.1000cdf0
add esp, 4
lea edx, [esp + 0x78]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x10009d51
mov edx, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x7c]
push ecx
push edx
call fcn.10015300
add esp, 0xc
test edi, edi
mov esi, edi
je 0x10009d98
lea esp, [esp]
mov ecx, dword [esi + 0x24]
push 0
lea eax, [esi + 4]
push eax
push ecx
call fcn.10015300
mov esi, dword [esi]
add esp, 0xc
test esi, esi
jne 0x10009d80
push ebp
call fcn.10014d90
add esp, 4
test edi, edi
mov eax, edi
je 0x10009dbe
mov edi, dword [sym.imp.MSVCR80.dll_free]
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x10009db0
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001b1c6
add esp, 0x8c
ret