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

Disassembly:
push 0xffffffffffffffff
push 0x10042df9
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x20], eax
xor ebp, ebp
mov dword [esp + 0xd8], ebp
mov ebx, dword [esp + 0xf4]
add ebx, 0xffffffff
cmp ebx, ebp
jl 0x10014790
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0xf4]
jbe 0x1001472e
call edi
mov eax, dword [esp + 0xe4]
mov esi, 8
cmp dword [esp + 0xf8], esi
jae 0x1001474a
lea eax, [esp + 0xe4]
cmp word [eax + ebx*2], 0x20
je 0x1001477a
cmp ebx, dword [esp + 0xf4]
jbe 0x1001475c
call edi
cmp dword [esp + 0xf8], esi
mov eax, dword [esp + 0xe4]
jae 0x10014773
lea eax, [esp + 0xe4]
cmp word [eax + ebx*2], 9
jne 0x1001478b
mov eax, 1
lea esi, [esp + 0xe0]
call fcn.100026b0
sub ebx, 1
jns 0x10014723
push 0xa
push 0xd
lea edi, [esp + 0xe8]
call fcn.10022860
push 0x10047818
mov ecx, edi
push 0x1004781c
push ecx
call fcn.10022760
add esp, 0x14
mov ebx, 1
push ebx
push 0x10047818
lea esi, [esp + 0x64]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
call fcn.100025e0
mov byte [esp + 0xd8], bl
mov esi, dword [esp + 0x60]
mov ebp, 8
cmp dword [esp + 0x74], ebp
jae 0x100147f4
lea esi, [esp + 0x60]
push esi
lea eax, [esp + 0xe4]
call fcn.100228c0
add esp, 4
push esi
lea eax, [esp + 0xe4]
call fcn.10022930
add esp, 4
cmp dword [esp + 0xf4], 0
je 0x10014834
push 0
lea edx, [esp + 0x60]
push edx
or eax, 0xffffffff
lea esi, [esp + 0xe8]
call fcn.100023d0
cmp dword [esp + 0x74], ebp
mov eax, dword [esp + 0x60]
jae 0x10014842
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x70]
push ecx
push eax
lea eax, [esp + 0xe8]
call fcn.100156a0
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x10014ac9
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0xe4]
push eax
xor ecx, ecx
lea esi, [esp + 0x9c]
call fcn.10002070
mov byte [esp + 0xd8], 2
cmp dword [esp + 0xa8], 0
je 0x10014a08
lea ecx, [esp + 0x1c]
push ecx
xor eax, eax
mov edx, esi
mov dword [esp + 0x20], 0x3d
call fcn.100022f0
mov edi, eax
cmp edi, 0xffffffff
je 0x10014a08
mov edx, esi
push edi
push edx
xor ecx, ecx
lea esi, [esp + 0xb8]
call fcn.10002070
xor eax, eax
mov ebp, 7
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
mov bl, 4
lea ecx, [edi + 1]
mov byte [esp + 0xd8], bl
cmp ecx, dword [esp + 0xa8]
jae 0x10014940
push 0xffffffffffffffff
lea eax, [esp + 0x98]
push eax
lea esi, [esp + 0x2c]
call fcn.10002070
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x80]
mov byte [esp + 0xe0], 5
call fcn.100020a0
mov edi, 8
mov byte [esp + 0xd8], bl
cmp dword [esp + 0x3c], edi
jb 0x10014945
mov ecx, dword [esp + 0x28]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x10014945
mov edi, 8
cmp dword [esp + 0xc4], 0
je 0x100149b7
cmp dword [esp + 0x8c], 0
je 0x100149b7
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.10003810
mov esi, dword [esp + 0x20]
push eax
mov byte [esp + 0xdc], 6
call fcn.10003710
cmp dword [esp + 0x58], edi
jb 0x10014995
mov edx, dword [esp + 0x44]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
jb 0x100149b7
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x90], edi
jb 0x100149cd
mov ecx, dword [esp + 0x7c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov byte [esp + 0xd8], 2
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
jb 0x10014a03
mov edx, dword [esp + 0xb4]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, 8
mov ecx, dword [esp + 0x18]
add ecx, 1
cmp ecx, dword [esp + 0xf4]
jae 0x10014ab0
push 0xffffffffffffffff
lea eax, [esp + 0xe4]
push eax
lea esi, [esp + 0x2c]
call fcn.10002070
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xe8]
mov byte [esp + 0xe0], 7
call fcn.100020a0
cmp dword [esp + 0x3c], ebp
jb 0x10014a5a
mov ecx, dword [esp + 0x28]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x74], ebp
mov eax, dword [esp + 0x60]
jae 0x10014a68
lea eax, [esp + 0x60]
mov edx, dword [esp + 0x70]
push edx
push eax
lea eax, [esp + 0xe8]
call fcn.100156a0
mov ebx, 1
mov esi, eax
mov byte [esp + 0xd8], bl
cmp dword [esp + 0xac], ebp
mov dword [esp + 0x18], esi
jb 0x10014aa5
mov eax, dword [esp + 0x98]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, 0xffffffff
jne 0x10014861
jmp 0x10014ac9
cmp dword [esp + 0xac], ebp
jb 0x10014ac9
mov ecx, dword [esp + 0x98]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x74], ebp
jb 0x10014adc
mov edx, dword [esp + 0x60]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp dword [esp + 0xf8], ebp
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], eax
mov word [esp + 0x60], ax
jb 0x10014b08
mov eax, dword [esp + 0xe4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1003ec9d
add esp, 0xc8
ret 0x20