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

Disassembly:
push 0xffffffffffffffff
push 0x10352a87
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x18], 0
cmp dword [ebx + 0x10], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
jne 0x1017862c
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x18], 1
jmp 0x1017894c
mov edx, esi
mov ecx, ebx
call fcn.10152130
test al, al
jne 0x10178651
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1017864a
mov eax, dword [esi]
jmp 0x1017864c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x10178679
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x18], 1
jmp 0x1017894c
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x9c], 1
lea edx, [esp + 0x44]
mov ecx, ebx
call fcn.10152040
test al, al
jne 0x101786d3
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 0
cmovae eax, dword [esp + 0x44]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x44]
cmp ebp, eax
je 0x101786e7
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebp
call fcn.100cd9d0
cmp dword [esp + 0x54], 0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jne 0x1017879d
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push eax
push dword [esp + 0x3c]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.100cd9d0
mov byte [esp + 0xb4], 2
mov byte [esp + 0xb4], 1
lea ecx, [esp + 0x44]
call fcn.1017c4b0
add esp, 0x18
mov byte [esp + 0x9c], 3
lea ecx, [esp + 0x44]
push eax
call fcn.100cd650
mov byte [esp + 0x9c], 1
cmp dword [esp + 0x40], 8
jb 0x10178766
push dword [esp + 0x2c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [esp + 0x54], eax
jne 0x1017879d
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
mov dword [esp + 0x18], 1
jmp 0x10178922
mov ecx, esi
call fcn.101527f0
test al, al
jne 0x101787af
mov ecx, esi
call fcn.10152ed0
mov ecx, esi
call fcn.101527f0
test al, al
jne 0x101787f9
mov esi, dword [esp + 0x20]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x78], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], al
lea ecx, [esp + 0x44]
call fcn.100cd690
jmp 0x1017894c
lea eax, [esp + 0x44]
mov edx, esi
push eax
lea ecx, [esp + 0x78]
call fcn.1014e6a0
add esp, 4
mov byte [esp + 0x9c], 4
lea edx, [esp + 0x74]
push str..lc.tmp
lea ecx, [esp + 0x60]
call fcn.100ce2a0
add esp, 4
mov byte [esp + 0x9c], 5
lea ecx, [esp + 0x5c]
call fcn.101526a0
test al, al
je 0x10178896
mov esi, 1
push str..lc.tmp
push esi
lea ecx, [esp + 0x7c]
call fcn.100cc2a0
push eax
lea eax, [esp + 0x68]
push str._s__u__s
push eax
call fcn.1014db00
add esp, 0x14
lea ecx, [esp + 0x5c]
call fcn.101526a0
test al, al
je 0x10178896
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], 0
cmovae eax, dword [esp + 0x5c]
xor ecx, ecx
inc esi
mov word [eax], cx
cmp esi, 0x2710
jb 0x10178843
xor eax, eax
mov dword [edi + 0x14], 7
cmp dword [esp + 0x6c], eax
mov dword [edi + 0x10], 0
mov word [edi], ax
je 0x101788bb
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.100cd880
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 4
cmp dword [esp + 0x70], 8
jb 0x101788db
push dword [esp + 0x5c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov byte [esp + 0x9c], 1
cmp dword [esp + 0x88], 8
jb 0x10178909
push dword [esp + 0x74]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov word [esp + 0x74], ax
mov dword [esp + 0x84], eax
mov byte [esp + 0x9c], al
cmp dword [esp + 0x58], 8
jb 0x10178939
push dword [esp + 0x44]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov eax, edi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1033d458
add esp, 0x8c
ret 0x14