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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x101b3820]
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 0x1015f3b5
or eax, 0xffffffff
jmp 0x1015fa93
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 0x1015f3d9
mov eax, 0xfffffffe
jmp 0x1015fa93
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 0x1015f3f1
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 0x1015f440
mov eax, 0xfffffffe
jmp 0x1015fa93
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x1015f46f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c], 0
je 0x1015f46b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
push eax
call fcn.10062951
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], 0
xor edx, edx
jne 0x1015f449
push 0x2f
push 0x5c
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1015fb40
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
jne 0x1015f49f
mov eax, 0xfffffffe
jmp 0x1015fa93
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x47c], ecx
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x14], 1
jne 0x1015f5f3
cmp dword [ebp + 0x10], 0
je 0x1015f4ca
mov dword [ebp - 0x4b8], 0x100
jmp 0x1015f4d4
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.101621d0
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x58], 0
jge 0x1015f516
mov dword [ebp - 0x480], 0xfffffffd
jmp 0x1015fa67
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.1015fbd0
add esp, 0xc
test eax, eax
jne 0x1015f54b
mov dword [ebp - 0x480], 0xfffffffd
jmp 0x1015fa67
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 0x1015fa93
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 0x1015f69a
mov dword [ebp - 0x4b4], 8
jmp 0x1015f6a4
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.10160350
add esp, 4
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x47c]
cmp dword [ecx + 0x48], 0
je 0x1015f6ef
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x14], 2
je 0x1015f703
mov dword [ebp - 0x480], 0xfffffffc
jmp 0x1015fa67
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
and ecx, 0x400
je 0x1015f725
mov dword [ebp - 0x480], 0xfffffffb
jmp 0x1015fa67
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.10160250
add esp, 0x10
test eax, eax
jne 0x1015f75e
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x1015fa67
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.1015f340
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.10164980
add esp, 0x10
cmp dword [ebp - 0x494], 0
ja 0x1015f7d0
cmp dword [ebp - 0x498], 0xffffffff
jb 0x1015f7de
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x4b0], ecx
jmp 0x1015f7e8
mov dword [ebp - 0x4b0], 0
mov edx, dword [ebp - 0x4b0]
push edx
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.10160910
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.101607a0
add esp, 0x34
test eax, eax
jne 0x1015f870
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x1015fa67
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 0x1015f8dd
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x1015fa67
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 0x1015f953
mov dword [ebp - 0x480], 0xfffffff8
jmp 0x1015fa67
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 0x1015f9b7
mov dword [ebp - 0x480], 0xfffffff8
jmp 0x1015fa67
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 0x1015fa63
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.10167e40
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xb0
push ecx
push 0x10160a00
mov edx, dword [ebp + 8]
add edx, 0xc8
push edx
call fcn.10167fe0
add esp, 0x10
test eax, eax
je 0x1015fa63
mov dword [ebp - 0x480], 0xfffffff7
jmp 0x1015fa67
xor eax, eax
jmp 0x1015fa93
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x1015fa89
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
push edx
call fcn.10062951
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
xor ecx, ecx
jne 0x1015fa67
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062440
mov esp, ebp
pop ebp
ret