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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a079
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1004b6e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esi + 0x14], 1
jae 0x10016b06
push dword [esi + 0x10]
mov ecx, esi
push 1
call fcn.1001ae60
cmp dword [esi + 0x14], 8
jb 0x10016b10
mov eax, dword [esi]
jmp 0x10016b12
mov eax, esi
mov ecx, 0x31
mov word [eax], cx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 1
jb 0x10016b2b
mov eax, dword [esi]
jmp 0x10016b2d
mov eax, esi
xor ecx, ecx
mov word [eax + 2], cx
mov dword [ebp - 4], ecx
mov ecx, esi
push 0x7c
push 1
mov dword [ebp - 0x30], 1
call fcn.10018fa0
cmp byte [edi + 0x18], 0
je 0x10016b5a
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.1001a5d0
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0x1a], 0
je 0x10016b8b
cmp byte [edi + 0x19], 0
mov ecx, 0x59
mov eax, 0x4e
cmovne eax, ecx
mov ecx, esi
cbw
movzx eax, ax
push eax
push 1
call fcn.10018fa0
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0x20], 0
je 0x10016bbc
cmp dword [edi + 0x1c], 1
mov ecx, 0x49
mov eax, 0x4f
cmove eax, ecx
mov ecx, esi
cbw
movzx eax, ax
push eax
push 1
call fcn.10018fa0
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0x22], 0
mov ebx, 0x44
je 0x10016ca2
xor eax, eax
mov dword [ebp - 0x18], 0
mov edx, 7
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], edx
mov ecx, 0x200020
mov word [ebp - 0x2c], ax
cmp edx, 8
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x2c]
cmovae eax, ecx
mov word [ebp - 0x28], cx
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 3
mov word [eax + 6], cx
mov dword [ebp - 4], 1
test byte [edi + 0x21], 1
je 0x10016c36
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov word [eax], bx
test byte [edi + 0x21], 2
je 0x10016c50
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov ecx, 0x52
cmovae eax, dword [ebp - 0x2c]
mov word [eax + 2], cx
test byte [edi + 0x21], 4
je 0x10016c6a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov ecx, 0x55
cmovae eax, dword [ebp - 0x2c]
mov word [eax + 4], cx
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.1001a5d0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x10016c8e
push dword [ebp - 0x2c]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0x3c], 0
je 0x10016cd3
cmp byte [edi + 0x23], 0
mov ecx, esi
je 0x10016cc6
push 0x41
push 1
call fcn.10018fa0
jmp 0x10016cd3
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x24]
push eax
call fcn.1001a5d0
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0x58], 0
je 0x10016d04
cmp byte [edi + 0x3d], 0
mov ecx, esi
je 0x10016cf7
push 0x41
push 1
call fcn.10018fa0
jmp 0x10016d04
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x40]
push eax
call fcn.1001a5d0
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0x5a], 0
je 0x10016dc7
xor eax, eax
mov dword [ebp - 0x18], 0
mov edx, 7
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], edx
mov ecx, 0x200020
mov word [ebp - 0x2c], ax
cmp edx, 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
cmovae eax, ecx
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 2
mov word [eax + 4], cx
mov dword [ebp - 4], 2
test byte [edi + 0x59], 1
je 0x10016d7a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov ecx, 0x54
cmovae eax, dword [ebp - 0x2c]
mov word [eax], cx
test byte [edi + 0x59], 2
je 0x10016d8f
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov word [eax + 2], bx
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.1001a5d0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x10016db3
push dword [ebp - 0x2c]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0x74], 0
je 0x10016df8
cmp byte [edi + 0x5b], 0
mov ecx, esi
je 0x10016deb
push 0x41
push 1
call fcn.10018fa0
jmp 0x10016df8
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x5c]
push eax
call fcn.1001a5d0
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0x90], 0
je 0x10016e2c
cmp byte [edi + 0x75], 0
mov ecx, esi
je 0x10016e1f
push 0x41
push 1
call fcn.10018fa0
jmp 0x10016e2c
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x78]
push eax
call fcn.1001a5d0
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0xac], 0
je 0x10016e66
cmp byte [edi + 0x91], 0
mov ecx, esi
je 0x10016e56
push 0x41
push 1
call fcn.10018fa0
jmp 0x10016e66
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x94]
push eax
call fcn.1001a5d0
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
cmp byte [edi + 0xb4], 0
je 0x10016e9d
cmp dword [edi + 0xb0], 1
mov ecx, 0x4c
mov eax, 0x42
cmove eax, ecx
mov ecx, esi
cbw
movzx eax, ax
push eax
push 1
call fcn.10018fa0
push 0x7c
push 1
mov ecx, esi
call fcn.10018fa0
push 0x31
push 1
mov ecx, esi
call fcn.10018fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001ef7b
mov esp, ebp
pop ebp
ret 4