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

Disassembly:
push 0xffffffffffffffff
push 0x10041d76
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
lea eax, [esp + 0xdc]
push eax
lea esi, [esp + 0x80]
mov dword [esp + 0xd8], ebx
call fcn.10025b60
add esp, 4
mov byte [esp + 0xd4], 1
mov eax, dword [esp + 0x90]
cmp eax, ebx
lea ebp, [ebx + 0x10]
je 0x100136a3
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
xor esi, esi
cmp eax, ebx
jbe 0x10013144
cmp esi, eax
jbe 0x100130f8
call edi
mov eax, dword [esp + 0x90]
cmp dword [esp + 0x94], ebp
mov ecx, dword [esp + 0x80]
jae 0x1001310f
lea ecx, [esp + 0x80]
cmp byte [ecx + esi], 0x3d
jne 0x1001313d
cmp esi, eax
jbe 0x1001311b
call edi
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x10013132
lea eax, [esp + 0x80]
mov byte [eax + esi], 0x7c
mov eax, dword [esp + 0x90]
add esi, 1
cmp esi, eax
jb 0x100130f8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0xe8]
call fcn.10003890
cmp dword [esp + 0xf4], ebp
mov ebx, dword [esp + 0xe0]
jae 0x10013172
lea ebx, [esp + 0xe0]
mov eax, dword [esp + 0xf0]
lea ecx, [esp + 0xb4]
lea edi, [esp + 0x98]
call fcn.100246f0
mov ebx, edi
mov byte [esp + 0xd4], 2
call fcn.10022a10
xor eax, eax
mov ecx, edi
lea edx, [esp + 0x44]
call fcn.10023870
mov ebp, dword [esp + 0xf0]
and ebp, 0x80000001
jns 0x100131bc
dec ebp
or ebp, 0xfffffffe
inc ebp
xor edi, edi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
mov byte [esp + 0xd4], 4
mov ebx, dword [esp + 0x58]
cmp ebx, edi
jbe 0x10013219
nop
mov edx, edi
and edx, 1
cmp edx, ebp
jne 0x10013212
cmp edi, ebx
jbe 0x100131f3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x10013202
lea eax, [esp + 0x48]
mov bl, byte [eax + edi]
lea esi, [esp + 0x60]
call fcn.10015350
mov ebx, dword [esp + 0x58]
add edi, 1
cmp edi, ebx
jb 0x100131e0
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov eax, ebx
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x78], eax
xor ebx, ebx
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x70]
push ebx
lea eax, [esp + 0x48]
mov dword [esp + 0x74], esi
push eax
or eax, 0xffffffff
lea esi, [esp + 0xe4]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
call fcn.10003a60
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0xd4], 6
mov edi, dword [esp + 0xf0]
cmp edi, 0xf
je 0x100132df
push 1
push edi
lea ecx, [esp + 0x30]
call fcn.10003da0
test al, al
je 0x100132d8
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
jae 0x100132d5
lea eax, [esp + 0x2c]
mov byte [eax], 0
mov edi, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
cmp edx, 0x10
mov eax, dword [esp + 0xe0]
mov ecx, eax
jae 0x100132fb
lea ecx, [esp + 0xe0]
lea esi, [ecx + edi]
cmp esi, ebx
je 0x10013328
cmp edx, 0x10
mov ecx, eax
jae 0x10013310
lea ecx, [esp + 0xe0]
cmp ecx, esi
ja 0x10013328
cmp edx, 0x10
mov ecx, eax
jae 0x10013322
lea ecx, [esp + 0xe0]
add ecx, edi
cmp esi, ecx
jbe 0x10013340
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call edi
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xe0]
jmp 0x10013346
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ecx, [esp + 0xdc]
mov ebx, ecx
mov ebp, esi
cmp edx, 0x10
jb 0x100133c3
test eax, eax
mov esi, eax
je 0x10013387
cmp edx, 0x10
mov ecx, eax
jae 0x1001336a
lea ecx, [esp + 0xe0]
cmp ecx, esi
ja 0x10013387
cmp edx, 0x10
jae 0x1001337a
lea eax, [esp + 0xe0]
mov ecx, dword [esp + 0xf0]
add eax, ecx
cmp esi, eax
jbe 0x10013389
call edi
cmp ebx, 0xfffffffe
je 0x1001339f
test ebx, ebx
je 0x1001339d
lea edx, [esp + 0xdc]
cmp ebx, edx
je 0x1001339f
call edi
cmp ebp, esi
je 0x100134ac
cmp ebx, 0xfffffffe
mov esi, ebx
mov dword [esp + 0x24], ebp
je 0x100133d5
test ebx, ebx
jne 0x100133b8
call edi
cmp dword [ebx + 0x18], 0x10
jb 0x100133cc
mov eax, dword [ebx + 4]
jmp 0x100133cf
lea esi, [esp + 0xe0]
jmp 0x1001335c
lea eax, [ebx + 4]
cmp ebp, eax
ja 0x100133d5
call edi
cmp esi, 0xfffffffe
lea edi, [ebp - 1]
je 0x10013404
test esi, esi
jne 0x100133e7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0x10
jb 0x100133f2
mov eax, dword [esi + 4]
jmp 0x100133f5
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp edi, ecx
jb 0x10013404
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dl, byte [edi]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x18], dl
mov edx, dword [esp + 0x40]
cmp edx, 0x10
mov esi, eax
jae 0x1001341d
lea esi, [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esi, ecx
je 0x10013447
cmp edx, 0x10
mov ecx, eax
jae 0x10013430
lea ecx, [esp + 0x2c]
cmp ecx, esi
ja 0x10013447
cmp edx, 0x10
jae 0x1001343d
lea eax, [esp + 0x2c]
mov edx, dword [esp + 0x3c]
add eax, edx
cmp esi, eax
jbe 0x1001344d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.100153e0
cmp ebx, 0xfffffffe
je 0x10013491
test ebx, ebx
jne 0x10013479
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x18], 0x10
jb 0x10013484
mov eax, dword [ebx + 4]
jmp 0x10013487
lea eax, [ebx + 4]
cmp ebp, eax
ja 0x10013491
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xe0]
mov ebp, edi
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jmp 0x10013351
mov ecx, dword [esp + 0x3c]
cmp ecx, 5
jbe 0x1001353d
jae 0x100134c1
call edi
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x100134d0
lea eax, [esp + 0x2c]
mov bl, byte [eax + 5]
lea esi, [ecx - 5]
cmp esi, ecx
jbe 0x100134dc
call edi
cmp dword [esp + 0x40], 0x10
mov edi, dword [esp + 0x2c]
jae 0x100134eb
lea edi, [esp + 0x2c]
cmp dword [esp + 0x3c], 5
jae 0x100134f8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ebp, 0x10
cmp dword [esp + 0x40], ebp
jae 0x1001350b
lea eax, [esp + 0x2c]
mov cl, byte [edi + esi]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x3c]
lea esi, [eax - 5]
cmp esi, eax
jbe 0x10013522
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x40], ebp
mov eax, dword [esp + 0x2c]
jae 0x10013530
lea eax, [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov byte [eax + esi], bl
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1001359a
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
mov ecx, eax
jae 0x10013552
lea ecx, [esp + 0x2c]
mov bl, byte [ecx]
mov ecx, dword [esp + 0x3c]
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x10013565
call edi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
cmp edx, 0x10
mov ecx, eax
jae 0x10013576
lea ecx, [esp + 0x2c]
mov eax, ecx
mov dl, byte [ecx + esi]
mov byte [eax], dl
mov eax, dword [esp + 0x3c]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x10013588
call edi
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x10013597
lea eax, [esp + 0x2c]
mov byte [eax + esi], bl
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0x30]
mov ebp, 0xf
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov byte [esi + 4], 0
call fcn.10003890
mov ebx, 0x10
cmp dword [esp + 0x40], ebx
jb 0x100135d6
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x78], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edi
mov byte [esp + 0x2c], 0
jb 0x100135f6
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
jb 0x10013616
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xb0], 8
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
jb 0x1001363d
mov ecx, dword [esp + 0x9c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x94], ebx
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], di
jb 0x10013670
mov edx, dword [esp + 0x80]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xf4], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
jb 0x1001369f
mov eax, dword [esp + 0xe0]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
jmp 0x100136fa
mov esi, 0xf
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
cmp dword [esp + 0x94], ebp
jb 0x100136ca
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xf4], ebp
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jb 0x100136f8
mov edx, dword [esp + 0xe0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.1003ec9d
add esp, 0xc4
ret 0x1c