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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x101d8820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x490], 0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x498], xmm0
cmp dword [ebp + 8], 0
jne 0x1017d175
or eax, 0xffffffff
jmp 0x1017d853
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x498], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x494], edx
cmp dword [ebp + 0xc], 0
jne 0x1017d199
mov eax, 0xfffffffe
jmp 0x1017d853
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x48c]
add ecx, 1
mov dword [ebp - 0x4bc], ecx
mov edx, dword [ebp - 0x48c]
mov al, byte [edx]
mov byte [ebp - 0x485], al
add dword [ebp - 0x48c], 1
cmp byte [ebp - 0x485], 0
jne 0x1017d1b1
mov ecx, dword [ebp - 0x48c]
sub ecx, dword [ebp - 0x4bc]
mov dword [ebp - 0x4c0], ecx
mov edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x484], edx
cmp dword [ebp - 0x484], 0
jne 0x1017d200
mov eax, 0xfffffffe
jmp 0x1017d853
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x1017d22f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c], 0
je 0x1017d22b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
push eax
call fcn.1006ca41
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], 0
xor edx, edx
jne 0x1017d209
push 0x2f
push 0x5c
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1017d900
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
jne 0x1017d25f
mov eax, 0xfffffffe
jmp 0x1017d853
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x47c], ecx
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x14], 1
jne 0x1017d3b3
cmp dword [ebp + 0x10], 0
je 0x1017d28a
mov dword [ebp - 0x4b8], 0x100
jmp 0x1017d294
mov dword [ebp - 0x4b8], 0
mov eax, dword [ebp - 0x4b8]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0x47c]
push eax
call fcn.1017ff90
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x58], 0
jge 0x1017d2d6
mov dword [ebp - 0x480], 0xfffffffd
jmp 0x1017d827
lea eax, [ebp - 0x478]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
push edx
mov eax, dword [ebp - 0x47c]
push eax
call fcn.1017d990
add esp, 0xc
test eax, eax
jne 0x1017d30b
mov dword [ebp - 0x480], 0xfffffffd
jmp 0x1017d827
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x450]
mov dword [ecx + 0x68], edx
mov eax, dword [ebp - 0x44c]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x448]
mov dword [ecx + 0x60], edx
mov eax, dword [ebp - 0x444]
mov dword [ecx + 0x64], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x458]
mov dword [ecx + 0x70], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x470]
mov dword [eax + 0x78], ecx
mov edx, dword [ebp - 0x46c]
mov dword [eax + 0x7c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x438]
mov dword [eax + 0xa0], ecx
mov edx, dword [ebp - 0x434]
mov dword [eax + 0xa4], edx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x462]
mov word [eax + 0xa8], cx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x43c]
mov dword [edx + 0x4e008], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x460]
mov dword [ecx + 0x4e010], edx
mov eax, dword [ebp - 0x45c]
mov dword [ecx + 0x4e014], eax
xor eax, eax
jmp 0x1017d853
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
and edx, 0xf
mov dword [ebp - 0x4a0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x58], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x70], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax + 0x78], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [edx + 0xa0], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0xa4], eax
xor ecx, ecx
mov edx, dword [ebp + 8]
add edx, 0x80
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov word [edx + 0x1c], cx
cmp dword [ebp - 0x4a0], 0
je 0x1017d45a
mov dword [ebp - 0x4b4], 8
jmp 0x1017d464
mov dword [ebp - 0x4b4], 0
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x4b4]
mov word [eax + 0xa8], cx
mov edx, dword [ebp + 8]
mov dword [edx + 0x4e008], 0
mov eax, dword [ebp - 0x47c]
push eax
call fcn.1017e110
add esp, 4
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x47c]
cmp dword [ecx + 0x48], 0
je 0x1017d4af
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x14], 2
je 0x1017d4c3
mov dword [ebp - 0x480], 0xfffffffc
jmp 0x1017d827
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
and ecx, 0x400
je 0x1017d4e5
mov dword [ebp - 0x480], 0xfffffffb
jmp 0x1017d827
mov edx, dword [ebp - 0x49c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
push ecx
mov edx, dword [eax + 0x78]
push edx
mov eax, dword [ebp - 0x47c]
push eax
call fcn.1017e010
add esp, 0x10
test eax, eax
jne 0x1017d51e
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x1017d827
mov ecx, dword [ebp - 0x49c]
xor edx, edx
add ecx, dword [ebp - 0x498]
adc edx, dword [ebp - 0x494]
mov dword [ebp - 0x498], ecx
mov dword [ebp - 0x494], edx
push 0
call fcn.1017d100
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4e010], eax
mov dword [ecx + 0x4e014], edx
lea edx, [ebp - 0x4a4]
push edx
lea eax, [ebp - 0x4a8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x4e014]
push edx
mov eax, dword [ecx + 0x4e010]
push eax
call fcn.10182740
add esp, 0x10
cmp dword [ebp - 0x494], 0
ja 0x1017d590
cmp dword [ebp - 0x498], 0xffffffff
jb 0x1017d59e
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x4b0], ecx
jmp 0x1017d5a8
mov dword [ebp - 0x4b0], 0
mov edx, dword [ebp - 0x4b0]
push edx
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.1017e6d0
add esp, 0x10
mov dword [ebp - 0x490], eax
movzx ecx, word [ebp - 0x4a4]
push ecx
movzx edx, word [ebp - 0x4a8]
push edx
push 0x808
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xa8]
push ecx
push 0
push 0
push 0
push 0
push 0
movzx edx, word [ebp - 0x490]
push edx
movzx eax, word [ebp - 0x484]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x80
push ecx
mov edx, dword [ebp - 0x47c]
push edx
call fcn.1017e560
add esp, 0x34
test eax, eax
jne 0x1017d630
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x1017d827
mov eax, dword [ebp - 0x49c]
xor ecx, ecx
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x78]
adc ecx, dword [edx + 0x7c]
mov edx, dword [ebp + 8]
mov dword [edx + 0xa0], eax
mov dword [edx + 0xa4], ecx
push 0x1e
mov eax, dword [ebp + 8]
add eax, 0x80
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
push edx
mov eax, dword [ecx + 0xa0]
push eax
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x44]
push edx
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x3c]
call ecx
add esp, 0x14
cmp eax, 0x1e
je 0x1017d69d
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x1017d827
mov edx, dword [ebp - 0x47c]
mov dword [ebp - 0x4ac], edx
mov eax, dword [ebp - 0x49c]
add eax, 0x1e
xor ecx, ecx
mov edx, dword [ebp + 8]
add eax, dword [edx + 0x78]
adc ecx, dword [edx + 0x7c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], eax
mov dword [edx + 0x7c], ecx
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
push ecx
mov edx, dword [eax + 0x78]
push edx
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp - 0x47c]
mov eax, dword [edx + 0x3c]
call eax
add esp, 0x14
cmp eax, dword [ebp - 0x484]
je 0x1017d713
mov dword [ebp - 0x480], 0xfffffff8
jmp 0x1017d827
mov ecx, dword [ebp - 0x484]
xor edx, edx
mov eax, dword [ebp + 8]
add ecx, dword [eax + 0x78]
adc edx, dword [eax + 0x7c]
mov eax, dword [ebp + 8]
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], edx
mov ecx, dword [ebp - 0x490]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
push ecx
mov edx, dword [eax + 0x78]
push edx
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp - 0x47c]
mov eax, dword [edx + 0x3c]
call eax
add esp, 0x14
cmp eax, dword [ebp - 0x490]
je 0x1017d777
mov dword [ebp - 0x480], 0xfffffff8
jmp 0x1017d827
mov ecx, dword [ebp - 0x490]
xor edx, edx
mov eax, dword [ebp + 8]
add ecx, dword [eax + 0x78]
adc edx, dword [eax + 0x7c]
mov eax, dword [ebp + 8]
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], edx
cmp dword [ebp - 0x4a0], 0
je 0x1017d823
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x47c]
mov dword [ecx + 0xb0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [eax + 0xb8], edx
mov ecx, dword [ecx + 0x7c]
mov dword [eax + 0xbc], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0xc0], 0
mov dword [edx + 0xc4], 0
push 0
push 0xfffffffffffffff1
mov eax, dword [ebp - 0x4a0]
push eax
call fcn.10185c00
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xb0
push ecx
push 0x1017e7c0
mov edx, dword [ebp + 8]
add edx, 0xc8
push edx
call fcn.10185da0
add esp, 0x10
test eax, eax
je 0x1017d823
mov dword [ebp - 0x480], 0xfffffff7
jmp 0x1017d827
xor eax, eax
jmp 0x1017d853
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x1017d849
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
push edx
call fcn.1006ca41
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
xor ecx, ecx
jne 0x1017d827
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006c530
mov esp, ebp
pop ebp
ret