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

Disassembly:
push 0xffffffffffffffff
push 0x100b23c8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
mov edi, edx
lea edx, [esp + 0x30]
xor ebx, ebx
push edx
mov esi, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], ebx
call fcn.100a33f0
add esp, 4
test al, al
je 0x100981a5
sub esp, 0x48
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call fcn.100981c0
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
push esi
call fcn.10098b20
cmp esi, ebx
mov dword [esp + 0x2c], ebx
jbe 0x10098118
mov dword [esp + 0x24], ebx
jmp 0x10097e10
mov esi, 7
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
lea ecx, [esp + 0x3c]
push ecx
push edi
mov ecx, ebp
mov dword [esp + 0x98], 2
call fcn.100a3660
add esp, 8
test al, al
je 0x10098162
lea edx, [esp + 0x58]
push edx
push edi
mov ecx, ebp
call fcn.100a3660
add esp, 8
test al, al
je 0x100981a9
lea eax, [esp + 0x34]
push eax
mov esi, ebp
mov dword [esp + 0x38], ebx
call fcn.100a33f0
add esp, 4
test al, al
je 0x100981a9
mov esi, dword [esp + 0x34]
push esi
lea ecx, [esp + 0x78]
push ecx
call fcn.10098530
test esi, esi
jbe 0x10098047
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x78]
test esi, esi
je 0x10097ed8
mov ecx, dword [esp + 0x7c]
sub ecx, esi
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10097ee2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esi, edx
push esi
push edi
mov ecx, ebp
call fcn.100a3660
add esp, 8
test al, al
je 0x100981a9
mov esi, dword [esp + 0x78]
test esi, esi
je 0x10097f25
mov ecx, dword [esp + 0x7c]
sub ecx, esi
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10097f2f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + esi + 0x1c]
push ecx
push edi
mov ecx, ebp
call fcn.100a3660
add esp, 8
test al, al
je 0x100981a9
mov esi, dword [esp + 0x78]
test esi, esi
je 0x10097f70
mov ecx, dword [esp + 0x7c]
sub ecx, esi
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10097f7a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
lea eax, [edx + esi + 0x38]
push eax
push edi
mov ecx, ebp
call fcn.100a3660
add esp, 8
test al, al
je 0x100981a9
mov edi, ebx
lea esi, [esp + 0x74]
call fcn.100985e0
mov edi, dword [esp + 0x18]
add eax, 0x54
push eax
push edi
mov ecx, ebp
call fcn.100a3660
add esp, 8
test al, al
je 0x100981a9
lea ecx, [esp + 0x28]
push ecx
mov esi, ebp
mov dword [esp + 0x2c], 0
call fcn.100a33f0
add esp, 4
test al, al
je 0x100981a9
mov edi, ebx
lea esi, [esp + 0x74]
call fcn.100985e0
mov edx, dword [esp + 0x28]
mov dword [eax + 0x70], edx
call fcn.100985e0
mov edi, dword [esp + 0x18]
add eax, 0x74
push eax
mov esi, ebp
call fcn.100a33f0
add esp, 4
test al, al
je 0x100981a9
mov edi, ebx
lea esi, [esp + 0x74]
call fcn.100985e0
add eax, 0x78
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.100a3660
add esp, 8
test al, al
je 0x100981a9
add dword [esp + 0x1c], 0x94
add ebx, 1
cmp ebx, dword [esp + 0x34]
jb 0x10097eb3
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x10098070
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x2c], eax
jb 0x10098076
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 4]
add esi, dword [esp + 0x24]
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x44]
mov ecx, esi
call fcn.10002570
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x1c]
lea eax, [esp + 0x60]
call fcn.10002570
lea ecx, [esp + 0x74]
push ecx
add esi, 0x38
push esi
call fcn.10098380
lea ebx, [esp + 0x74]
mov dword [esp + 0x90], 0xffffffff
call fcn.10069560
mov esi, 8
cmp dword [esp + 0x70], esi
jb 0x100980d4
mov edx, dword [esp + 0x5c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x54], esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], di
jb 0x100980f8
mov eax, dword [esp + 0x40]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x2c]
add dword [esp + 0x24], 0x48
mov edi, dword [esp + 0x18]
add eax, 1
xor ebx, ebx
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
jb 0x10097e10
lea eax, [esp + 0x20]
push eax
mov esi, ebp
mov dword [esp + 0x24], ebx
call fcn.100a33f0
add esp, 4
test al, al
je 0x100981a5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov dword [edx], ecx
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100a4489
add esp, 0x80
ret 8
lea ebx, [esp + 0x74]
call fcn.10069560
mov edi, 8
cmp dword [esp + 0x70], edi
jb 0x10098183
mov ecx, dword [esp + 0x5c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp dword [esp + 0x54], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
jb 0x100981a5
mov edx, dword [esp + 0x40]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x1009813b
lea esi, [esp + 0x3c]
call fcn.10069510
xor al, al
jmp 0x1009813b