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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x101b2820]
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 0x1015e315
or eax, 0xffffffff
jmp 0x1015e9f3
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 0x1015e339
mov eax, 0xfffffffe
jmp 0x1015e9f3
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 0x1015e351
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 0x1015e3a0
mov eax, 0xfffffffe
jmp 0x1015e9f3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x1015e3cf
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c], 0
je 0x1015e3cb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
push eax
call fcn.10061ca1
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], 0
xor edx, edx
jne 0x1015e3a9
push 0x2f
push 0x5c
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1015eaa0
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
jne 0x1015e3ff
mov eax, 0xfffffffe
jmp 0x1015e9f3
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x47c], ecx
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x14], 1
jne 0x1015e553
cmp dword [ebp + 0x10], 0
je 0x1015e42a
mov dword [ebp - 0x4b8], 0x100
jmp 0x1015e434
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.10161130
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x58], 0
jge 0x1015e476
mov dword [ebp - 0x480], 0xfffffffd
jmp 0x1015e9c7
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.1015eb30
add esp, 0xc
test eax, eax
jne 0x1015e4ab
mov dword [ebp - 0x480], 0xfffffffd
jmp 0x1015e9c7
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 0x1015e9f3
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 0x1015e5fa
mov dword [ebp - 0x4b4], 8
jmp 0x1015e604
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.1015f2b0
add esp, 4
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x47c]
cmp dword [ecx + 0x48], 0
je 0x1015e64f
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x14], 2
je 0x1015e663
mov dword [ebp - 0x480], 0xfffffffc
jmp 0x1015e9c7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
and ecx, 0x400
je 0x1015e685
mov dword [ebp - 0x480], 0xfffffffb
jmp 0x1015e9c7
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.1015f1b0
add esp, 0x10
test eax, eax
jne 0x1015e6be
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x1015e9c7
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.1015e2a0
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.101638e0
add esp, 0x10
cmp dword [ebp - 0x494], 0
ja 0x1015e730
cmp dword [ebp - 0x498], 0xffffffff
jb 0x1015e73e
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x4b0], ecx
jmp 0x1015e748
mov dword [ebp - 0x4b0], 0
mov edx, dword [ebp - 0x4b0]
push edx
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.1015f870
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.1015f700
add esp, 0x34
test eax, eax
jne 0x1015e7d0
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x1015e9c7
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 0x1015e83d
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x1015e9c7
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 0x1015e8b3
mov dword [ebp - 0x480], 0xfffffff8
jmp 0x1015e9c7
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 0x1015e917
mov dword [ebp - 0x480], 0xfffffff8
jmp 0x1015e9c7
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 0x1015e9c3
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.10166da0
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xb0
push ecx
push 0x1015f960
mov edx, dword [ebp + 8]
add edx, 0xc8
push edx
call fcn.10166f40
add esp, 0x10
test eax, eax
je 0x1015e9c3
mov dword [ebp - 0x480], 0xfffffff7
jmp 0x1015e9c7
xor eax, eax
jmp 0x1015e9f3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x1015e9e9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
push edx
call fcn.10061ca1
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
xor ecx, ecx
jne 0x1015e9c7
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061790
mov esp, ebp
pop ebp
ret