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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x101b4820]
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 0x101601c5
or eax, 0xffffffff
jmp 0x101608a3
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 0x101601e9
mov eax, 0xfffffffe
jmp 0x101608a3
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 0x10160201
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 0x10160250
mov eax, 0xfffffffe
jmp 0x101608a3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x1016027f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c], 0
je 0x1016027b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
push eax
call fcn.100630b1
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], 0
xor edx, edx
jne 0x10160259
push 0x2f
push 0x5c
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10160950
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
jne 0x101602af
mov eax, 0xfffffffe
jmp 0x101608a3
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x47c], ecx
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x14], 1
jne 0x10160403
cmp dword [ebp + 0x10], 0
je 0x101602da
mov dword [ebp - 0x4b8], 0x100
jmp 0x101602e4
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.10162fe0
add esp, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x58], 0
jge 0x10160326
mov dword [ebp - 0x480], 0xfffffffd
jmp 0x10160877
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.101609e0
add esp, 0xc
test eax, eax
jne 0x1016035b
mov dword [ebp - 0x480], 0xfffffffd
jmp 0x10160877
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 0x101608a3
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 0x101604aa
mov dword [ebp - 0x4b4], 8
jmp 0x101604b4
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.10161160
add esp, 4
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x47c]
cmp dword [ecx + 0x48], 0
je 0x101604ff
mov edx, dword [ebp - 0x47c]
cmp dword [edx + 0x14], 2
je 0x10160513
mov dword [ebp - 0x480], 0xfffffffc
jmp 0x10160877
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
and ecx, 0x400
je 0x10160535
mov dword [ebp - 0x480], 0xfffffffb
jmp 0x10160877
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.10161060
add esp, 0x10
test eax, eax
jne 0x1016056e
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x10160877
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.10160150
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.10165790
add esp, 0x10
cmp dword [ebp - 0x494], 0
ja 0x101605e0
cmp dword [ebp - 0x498], 0xffffffff
jb 0x101605ee
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x4b0], ecx
jmp 0x101605f8
mov dword [ebp - 0x4b0], 0
mov edx, dword [ebp - 0x4b0]
push edx
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.10161720
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.101615b0
add esp, 0x34
test eax, eax
jne 0x10160680
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x10160877
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 0x101606ed
mov dword [ebp - 0x480], 0xfffffff9
jmp 0x10160877
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 0x10160763
mov dword [ebp - 0x480], 0xfffffff8
jmp 0x10160877
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 0x101607c7
mov dword [ebp - 0x480], 0xfffffff8
jmp 0x10160877
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 0x10160873
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.10168c50
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xb0
push ecx
push 0x10161810
mov edx, dword [ebp + 8]
add edx, 0xc8
push edx
call fcn.10168df0
add esp, 0x10
test eax, eax
je 0x10160873
mov dword [ebp - 0x480], 0xfffffff7
jmp 0x10160877
xor eax, eax
jmp 0x101608a3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x10160899
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
push edx
call fcn.100630b1
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
xor ecx, ecx
jne 0x10160877
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062ba0
mov esp, ebp
pop ebp
ret