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

Disassembly:
push 0xffffffffffffffff
push 0x1011c01c
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x1016b2e8]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1016b2e8]
xor eax, esp
push eax
lea eax, [esp + 0x1b4]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x1d0]
mov edi, dword [esp + 0x1c4]
mov eax, dword [esp + 0x1c8]
mov edx, dword [esp + 0x1d4]
mov ebp, dword [esp + 0x1cc]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x30], ecx
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.10001c70
lea esi, [esp + 0x4c]
mov dword [esp + 0x1bc], ebx
call fcn.100160c0
mov eax, dword [esp + 0x24]
push ebx
push eax
or eax, 0xffffffff
call fcn.10003fe0
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp dword [esp + 0x64], esi
jae 0x100161de
lea eax, [esp + 0x50]
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.100631d7
add esp, 8
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
jne 0x10016212
cmp dword [esp + 0x64], esi
jb 0x1001620b
mov edx, dword [esp + 0x50]
push edx
call fcn.100618cf
add esp, 4
xor al, al
jmp 0x100164b3
mov byte [esp + 0x1b], 1
jmp 0x10016220
lea eax, [esp + 0xa8]
push 0x101643e4
push eax
call fcn.100621f8
add esp, 8
test eax, eax
je 0x10016457
lea ecx, [esp + 0xa8]
push 0x101643e0
push ecx
call fcn.100621f8
add esp, 8
test eax, eax
je 0x10016457
test byte [esp + 0x84], 0x10
push 0xffffffffffffffff
push ebx
push edi
je 0x100162fb
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.10001c70
lea esi, [esp + 0x30]
mov byte [esp + 0x1bc], 1
call fcn.100160c0
lea eax, [esp + 0xa8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100162a0
sub eax, edx
push eax
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x38]
call fcn.100040d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
push ecx
push ebp
push edx
lea eax, [esp + 0x40]
push eax
call fcn.10016120
add esp, 0x14
test al, al
je 0x10016476
mov byte [esp + 0x1bc], bl
cmp dword [esp + 0x48], 0x10
jb 0x10016457
mov ecx, dword [esp + 0x34]
jmp 0x1001644e
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.10001c70
push 1
push 0x101637a8
lea eax, [esp + 0x70]
mov byte [esp + 0x1c4], 2
call fcn.100040d0
lea eax, [esp + 0xa8]
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10016340
sub eax, esi
push eax
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x70]
call fcn.100040d0
lea eax, [esp + 0xa8]
mov byte [esp + 0x1a], 1
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10016380
sub eax, esi
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x38]
call fcn.10002270
mov byte [esp + 0x1bc], 3
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jbe 0x100163cf
cmp dword [ebp + 0x18], 0x10
jb 0x100163b5
mov ecx, dword [ebp + 4]
jmp 0x100163b8
lea ecx, [ebp + 4]
push eax
push ecx
lea ecx, [esp + 0x38]
push ecx
xor eax, eax
call fcn.1000df20
cmp eax, 0xffffffff
jne 0x100163cf
mov byte [esp + 0x1a], bl
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
jbe 0x100163fc
cmp dword [eax + 0x18], 0x10
jb 0x100163e5
mov eax, dword [eax + 4]
jmp 0x100163e8
add eax, 4
push ecx
push eax
lea edi, [esp + 0x38]
call fcn.10009220
mov edi, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x10016412
cmp byte [esp + 0x1a], bl
je 0x10016412
mov ebx, dword [esp + 0x2c]
lea edx, [esp + 0x68]
push edx
call fcn.1000cc30
xor ebx, ebx
mov esi, 0x10
cmp dword [esp + 0x48], esi
jb 0x1001642a
mov eax, dword [esp + 0x34]
push eax
call fcn.100618cf
add esp, 4
mov byte [esp + 0x1bc], bl
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x80], esi
jb 0x10016457
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.100618cf
add esp, 4
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x84]
push edx
push eax
call fcn.10063307
add esp, 8
test eax, eax
je 0x10016220
jmp 0x1001648e
cmp dword [esp + 0x48], 0x10
mov byte [esp + 0x1b], bl
jb 0x1001648e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.100618cf
add esp, 4
mov edx, dword [esp + 0x20]
push edx
call fcn.10063466
add esp, 4
cmp dword [esp + 0x64], 0x10
jb 0x100164af
mov eax, dword [esp + 0x50]
push eax
call fcn.100618cf
add esp, 4
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.10061731
add esp, 0x1ac
ret