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

Disassembly:
push 0xffffffffffffffff
push 0x1008f120
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
xorps xmm0, xmm0
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x44], 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1005f3f0
push dword [ebp + 4]
push dword [ebp]
call fcn.10009c60
mov eax, dword [ebp]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
sub ecx, esi
mov dword [ebp + 4], eax
mov eax, 0x81848da9
imul ecx
add edx, ecx
sar edx, 9
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x1005f945
add esi, 0x78
push esi
mov ecx, ebp
call fcn.1001aa40
add esi, 0x3f4
dec edi
jne 0x1005f934
mov ecx, dword [esp + 0x20]
mov eax, 0x92492493
mov esi, dword [esp + 0x1c]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x1005f975
add esi, 0x18
push esi
mov ecx, ebp
call fcn.1001aa40
add esi, 0x38
dec edi
jne 0x1005f967
mov ecx, dword [ebp]
mov esi, dword [ebp + 4]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp ecx, esi
je 0x1005fafe
mov edx, esi
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
push eax
call fcn.10045c90
mov edx, dword [ebp + 4]
mov ecx, dword [ebp]
mov byte [esp + 0x20], 0
push dword [esp + 0x20]
call fcn.10045dd0
mov ecx, eax
add esp, 0xc
sub ecx, dword [ebp]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.10044f00
mov esi, dword [ebp]
cmp esi, dword [ebp + 4]
je 0x1005fafe
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x1005fa9d
cmp dword [esi + 0x14], 8
jb 0x1005fa05
mov ecx, dword [esi]
jmp 0x1005fa07
mov ecx, esi
mov edi, 0xc
cmp ebx, edi
cmovb edi, ebx
test edi, edi
je 0x1005fa31
mov edx, str.000000000000
lea ebx, [ebx]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1005fa41
add ecx, 2
add edx, 2
dec edi
jne 0x1005fa20
xor eax, eax
test eax, eax
jne 0x1005fa59
cmp ebx, 0xc
jae 0x1005fa4f
or eax, 0xffffffff
jmp 0x1005fa57
movzx eax, word [ecx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x1005fa33
xor eax, eax
cmp ebx, 0xc
setne al
test eax, eax
sete al
test al, al
jne 0x1005fa9d
xor edi, edi
test ebx, ebx
je 0x1005fa98
cmp dword [esi + 0x14], 8
jb 0x1005fa70
mov eax, dword [esi]
jmp 0x1005fa72
mov eax, esi
movzx eax, word [eax + edi*2]
push eax
call dword [sym.imp.MSVCR120.dll_towlower]
add esp, 4
movzx ecx, ax
cmp dword [esi + 0x14], 8
jb 0x1005fa8d
mov eax, dword [esi]
jmp 0x1005fa8f
mov eax, esi
mov word [eax + edi*2], cx
inc edi
cmp edi, ebx
jb 0x1005fa66
add esi, 0x18
jmp 0x1005faef
push dword [esp + 0x18]
mov edx, dword [ebp + 4]
lea ecx, [esi + 0x18]
push esi
call fcn.10045790
mov ebx, dword [ebp + 4]
add esp, 8
lea edi, [ebx - 0x18]
cmp edi, ebx
je 0x1005faeb
lea ebx, [ebx]
cmp dword [edi + 0x14], 8
jb 0x1005fad1
push dword [edi]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
add edi, 0x18
cmp edi, ebx
jne 0x1005fac0
add dword [ebp + 4], 0xffffffe8
cmp esi, dword [ebp + 4]
jne 0x1005f9f0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x44], 0
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x1005fb39
push dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.10045960
push ebp
call ebx
add esp, 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x44], 0xffffffff
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x1005fb82
mov edi, dword [esp + 0x2c]
mov esi, ebp
cmp ebp, edi
je 0x1005fb64
mov ecx, esi
call fcn.1004a270
add esi, 0x3f4
cmp esi, edi
jne 0x1005fb53
push ebp
call ebx
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10081b94
add esp, 0x34
ret 4