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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0x94], eax
mov dword [esp + 0x2c], ecx
mov eax, edx
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x10]
push esi
mov dword [esp + 0x3c], ecx
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, eax
push 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], 0xffffffff
movaps xmmword [esp + 0x74], xmm0
movq qword [esp + 0x84], xmm0
call fcn.10179a00
add esp, 4
test eax, eax
jne 0x1017a058
mov esi, dword [esp + 0x18]
lea eax, [esi + esi*2]
shl eax, 3
mov dword [esp + 0x14], eax
call fcn.10160610
test eax, eax
jne 0x1017a053
push eax
push dword [esp + 0x18]
call fcn.100dfb50
add esp, 8
mov dword [esp + 0x80], eax
test eax, eax
je 0x1017a053
push dword [esp + 0x14]
push 0
push eax
call fcn.101ee530
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov edx, 0x10179b50
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ecx
mov ecx, dword [ecx + 0x10]
push eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x88], 0xffffffff
call fcn.10179960
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x1017a02c
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x10179d17
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
add eax, 0xc
mov dword [esp + 0x14], eax
cmp dword [eax], 0
je 0x10179d0b
xor ecx, ecx
mov eax, esi
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x14]
cmovae edx, ecx
or dword [edi], ecx
or dword [edi + 4], edx
mov ecx, dword [esp + 0x18]
inc esi
add eax, 0x18
mov dword [esp + 0x14], eax
cmp esi, ecx
jl 0x10179ce2
mov ecx, dword [esp + 0x40]
or edi, 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [esp + 0x7c]
jmp 0x10179d34
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x84], 0
jge 0x10179d91
xor edi, edi
mov dword [esp + 0x84], 0
test ecx, ecx
jle 0x10179e36
xor esi, esi
nop word [eax + eax]
mov eax, dword [esp + 0x80]
push dword [esp + 0x78]
lea edx, [eax + 8]
lea ecx, [eax + 0xc]
add edx, esi
add ecx, esi
call fcn.10179ad0
mov ecx, dword [esp + 0x80]
inc edi
add esp, 4
add esi, 0x18
cmp edi, ecx
jl 0x10179d60
jmp 0x10179e36
mov edx, bind
test ecx, ecx
jle 0x1017a026
mov esi, dword [esp + 0x80]
add esi, 8
cmp dword [esi + 4], 0
je 0x10179db3
cmp dword [esi], edx
cmovl edx, dword [esi]
add esi, 0x18
sub ecx, 1
jne 0x10179da8
cmp edx, 0x7fffffff
je 0x1017a026
mov edi, edx
mov dword [esp + 0x14], ecx
sub edi, dword [esp + 0x78]
lea eax, [edx + 1]
inc edi
mov dword [esp + 0x28], eax
xor edx, edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x1c], edx
nop word [eax + eax]
mov esi, dword [esp + 0x80]
push dword [esp + 0x28]
add esi, edx
lea edx, [esi + 8]
lea ecx, [esi + 0xc]
call fcn.10179ad0
add esp, 4
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
push edi
call fcn.10179ad0
mov eax, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x7c]
add edx, 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
cmp eax, ecx
jl 0x10179df0
mov edi, dword [esp + 0x84]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
xor esi, esi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
movlpd qword [esp + 0x28], xmm0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], eax
test ecx, ecx
jle 0x10179ff0
mov dword [esp + 0x14], edx
mov edx, esi
mov dword [esp + 0x1c], esi
nop dword [eax]
nop dword [eax + eax]
add edx, dword [esp + 0x80]
mov dword [esp + 0x5c], edx
mov eax, dword [edx + 0x14]
mov dword [esp + 0x64], eax
test eax, eax
je 0x10179fd0
mov eax, dword [esp + 0x78]
mov edx, dword [edx + 0x10]
add eax, edi
mov dword [esp + 0x34], edx
cmp edx, eax
jge 0x10179fd0
mov eax, dword [esp + 0x3c]
xor ecx, ecx
xor edi, edi
bts ecx, eax
cmp eax, 0x20
cmovae edi, ecx
xor ecx, edi
cmp eax, 0x40
mov dword [esp + 0x54], ecx
cmovae edi, ecx
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov eax, edx
sub eax, edi
xor edx, edx
xor edi, edi
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov eax, dword [esp + 0x18]
cmovae edx, edi
or eax, dword [ebp + 0x10]
or ecx, dword [ebp + 0xc]
and eax, dword [esp + 0x58]
and ecx, dword [esp + 0x54]
or ecx, eax
mov dword [esp + 0x48], edx
mov eax, 1
jne 0x10179f25
mov eax, 0x3e8
add esi, eax
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], esi
xor esi, esi
cmp dword [eax], esi
jle 0x10179f6e
nop dword [eax]
mov eax, edi
mov ecx, esi
call fcn.10220880
or dword [esp + 0x14], eax
inc esi
mov eax, dword [esp + 0x5c]
or dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
cmp esi, dword [eax]
jl 0x10179f50
mov esi, dword [esp + 0x64]
mov al, byte [esi]
test al, 0xfe
je 0x10179fc4
test al, al
jns 0x10179f8d
lea edx, [esp + 0x60]
mov ecx, esi
call fcn.10164dd0
mov ecx, dword [esp + 0x60]
jmp 0x10179f99
movzx ecx, al
mov eax, 1
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x34]
add esi, eax
mov eax, dword [esp + 0x78]
add edx, 0xfffffffe
mov edi, dword [esp + 0x38]
add edx, ecx
add eax, edi
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x34], edx
cmp edx, eax
jl 0x10179ee4
jmp 0x10179fcc
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
inc eax
add edx, 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edx
cmp eax, ecx
jl 0x10179e90
mov edx, dword [esp + 0x14]
cmp esi, dword [esp + 0x44]
jle 0x10179d30
mov eax, dword [esp + 0x40]
mov dword [eax + 4], edi
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x10], edx
mov dword [edi + 0xc], eax
mov edi, esi
mov dword [esp + 0x44], edi
jmp 0x10179d34
mov eax, dword [esp + 0x68]
mov dword [eax], edi
push dword [esp + 0x80]
call fcn.100dfd40
mov eax, dword [esp + 0x70]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
mov eax, 7
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret