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

Disassembly:
sub esp, 0x20
push ebp
push edi
mov edi, ecx
mov ebp, dword [edi + 4]
push ebx
mov dword [esp + 0x28], ebp
mov word [edi + 0x80], 1
push esi
lea esp, [esp]
cmp byte [edi + 0x82], 0
jne 0x168c453
mov dword [esp + 0x10], 0x184c158
mov eax, 0x184c160
mov ecx, 1
lock xadd dword [eax], ecx
push 0xc
call fcn.01666532
add esp, 4
test eax, eax
je 0x168c21e
push 0
mov ecx, eax
call fcn.012caa40
mov esi, eax
jmp 0x168c220
xor esi, esi
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.01687910
push eax
lea eax, [esp + 0x14]
push eax
call fcn.01686bd0
mov eax, dword [esp + 0x24]
add esp, 8
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x168c259
mov ecx, dword [esp + 0x1c]
push loc.015b2d80
call fcn.0128b360
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0xc], 0
jne 0x168c36e
test esi, esi
je 0x168c275
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x168c36e
mov ecx, edi
call fcn.01689120
mov esi, eax
test esi, esi
je 0x168c2e0
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.01687910
push eax
lea edx, [esp + 0x14]
push edx
call fcn.01686bd0
mov eax, dword [esp + 0x28]
add esp, 8
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x168c2c6
mov ecx, dword [esp + 0x20]
push loc.015b2d80
call fcn.0128b360
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0xc], 0
jne 0x168c36e
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
xor esi, esi
cmp dword [ebx + 0xc], 0
jne 0x168c36e
mov ecx, edi
call fcn.01689200
mov esi, eax
test esi, esi
je 0x168c348
push esi
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.01687910
push eax
lea edx, [esp + 0x14]
push edx
call fcn.01686bd0
mov eax, dword [esp + 0x2c]
add esp, 8
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x168c330
mov ecx, dword [esp + 0x24]
push loc.015b2d80
call fcn.0128b360
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0xc], 0
jne 0x168c36e
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
xor esi, esi
jmp 0x168c364
mov ecx, edi
call fcn.01685e40
test al, al
je 0x168c364
mov byte [edi + 0x80], 0
mov dword [edi + 0x84], 0
cmp dword [ebx + 0xc], 0
je 0x168c41e
mov edx, dword [ebp]
mov eax, dword [edx + 0x3c]
push esi
mov ecx, ebp
call eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call 0x1433410
mov ebp, eax
push ebp
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.01688bb0
push ebp
push esi
mov ecx, edi
call fcn.01685de0
push ebp
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0168bac0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
mov ecx, edi
call fcn.0168a410
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x168c3da
mov edx, dword [esp + 0x14]
push edx
call fcn.01285a10
add esp, 4
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x168c3f4
mov edx, dword [esp + 0x18]
push edx
call fcn.01285a10
add esp, 4
mov eax, dword [esp + 0x28]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x168c40e
mov edx, dword [esp + 0x28]
push edx
call fcn.01285a10
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
push esi
call edx
mov ebp, dword [esp + 0x2c]
test esi, esi
je 0x168c42c
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x168c444
push loc.015b2d80
mov ecx, ebx
call fcn.0128b360
cmp byte [edi + 0x80], 0
jne 0x168c1e0
jmp 0x168c45a
mov byte [edi + 0x80], 0
cmp byte [edi + 0x82], 0
pop esi
pop ebx
je 0x168c476
mov byte [edi + 0x82], 0
mov dword [edi + 0x84], 2
mov eax, dword [edi + 0x84]
dec eax
je 0x168c4ab
dec eax
jne 0x168c4a5
mov ecx, edi
mov dword [edi + 0x78], eax
call fcn.016863f0
mov ecx, edi
call fcn.0168b940
push 0
push 1
push 0x180eea8
push ebp
call fcn.012700f0
add esp, 0x10
pop edi
pop ebp
add esp, 0x20
ret
mov ecx, edi
mov dword [edi + 0x78], 0
call fcn.016863f0
mov ecx, edi
call fcn.0168b940
pop edi
mov ecx, ebp
pop ebp
add esp, 0x20
jmp 0x169b830