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

Disassembly:
push 0xffffffffffffffff
push 0x100aea8d
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
cmp dword [esp + 0xbc], 0
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x14], ecx
je 0x10083286
mov edi, dword [eax + 0x38]
cmp dword [eax + 0x34], edi
lea esi, [eax + 0x30]
mov dword [esp + 0x18], esi
jbe 0x100830b0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x100830be
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
push ebx
push esi
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.10083950
push 2
xor esi, esi
push 0x100b9e34
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], esi
mov byte [esp + 0x4c], 0
call fcn.10002350
mov dword [esp + 0xac], esi
mov esi, dword [esp + 0x14]
mov edi, dword [esi]
cmp edi, dword [ebp + 0x14]
jbe 0x10083108
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, 0x10
cmp dword [ebp + 0x18], ebx
jb 0x10083117
mov eax, dword [ebp + 4]
jmp 0x1008311a
lea eax, [ebp + 4]
mov al, byte [eax + edi]
cmp al, 0x20
je 0x1008312d
cmp al, 9
je 0x1008312d
cmp al, 0xd
je 0x1008312d
cmp al, 0xa
jne 0x10083132
add dword [esi], 1
jmp 0x100830f7
mov ecx, dword [esi]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x58]
mov edx, ebp
call fcn.100821e0
add esp, 4
cmp dword [esp + 0x58], ebx
mov esi, dword [esp + 0x44]
jae 0x10083155
lea esi, [esp + 0x44]
mov edi, dword [eax + 0x14]
mov edx, edi
cmp edx, edi
jae 0x1008315e
mov ebx, dword [esp + 0x54]
cmp edi, ebx
mov ecx, edi
jb 0x1008316a
mov ecx, ebx
cmp dword [eax + 0x18], 0x10
jb 0x10083175
mov edx, dword [eax + 4]
jmp 0x10083178
lea edx, [eax + 4]
mov eax, ecx
mov ecx, esi
call fcn.100444e0
xor esi, esi
cmp eax, esi
jne 0x10083199
cmp edi, ebx
jae 0x10083190
or eax, 0xffffffff
jmp 0x10083197
xor eax, eax
cmp edi, ebx
setne al
cmp eax, esi
mov edi, 0x10
sete bl
mov byte [esp + 0xac], 0
cmp dword [esp + 0x3c], edi
jb 0x100831bc
mov ecx, dword [esp + 0x28]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
test bl, bl
jne 0x1008324a
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], esi
mov byte [esp + 0x60], bl
mov byte [esp + 0x78], bl
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x14]
add edx, 0xffffffff
push edx
push eax
push ebp
lea ecx, [esp + 0x68]
mov byte [esp + 0xb8], 4
call fcn.10082990
test al, al
je 0x10083261
mov esi, dword [esp + 0x18]
lea ebx, [esp + 0x5c]
call fcn.10083710
mov ecx, ebx
push ecx
mov byte [esp + 0xb0], 0
call fcn.10082760
jmp 0x100830f7
cmp dword [esp + 0x58], edi
jb 0x1008325d
mov edx, dword [esp + 0x44]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x10083288
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xb0], 0
call fcn.10082760
cmp dword [esp + 0x58], edi
jb 0x10083286
mov ecx, dword [esp + 0x44]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.100a4489
add esp, 0x9c
ret 0xc