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

Disassembly:
mov eax, 0x1006cb5a
call fcn.016b7fd0
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp byte [esi + 0x110], 0
jne 0x167c220
mov ecx, dword [esi + 0x24]
cmp ecx, edi
jne 0x167beb5
cmp byte [esi + 0x48], 0
jne 0x167be28
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.016b8034
cmp dword [esi + 0x38], edi
je 0x167be42
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.016b8034
lea ecx, [ebp - 0x74]
call fcn.0167c3c3
push 1
lea eax, [ebp - 0x74]
pop ebx
lea ecx, [esi + 0x1c]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], 0x6f10701
mov dword [ebp - 0x58], edi
call fcn.0167c477
push ebx
lea ecx, [esi + 0x58]
pop eax
push eax
push ebx
pop eax
push eax
call fcn.0166b90b
push edi
lea ecx, [esi + 0x80]
call fcn.0167a856
push edi
lea ecx, [esi + 0x94]
call fcn.0167a856
mov dword [ebp - 0x74], 0x10072a6c
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], ebx
call fcn.016646f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.016646c7
jmp 0x167c1b5
cmp ecx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
jle 0x167bf57
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x10]
cmp dword [esi + 0x38], 0
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [ebp - 0x20], edi
jne 0x167bf36
dec ecx
cmp edx, ecx
jge 0x167bef6
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
add eax, ebx
lea ecx, [esi + 0x6c]
push eax
call fcn.0166b90b
jmp 0x167bf10
lea edi, [esi + 0x94]
push 0
mov ecx, edi
call fcn.0166482a
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov dword [eax], ecx
push 1
pop eax
cmp edi, eax
mov dword [ebp - 0x1c], eax
jbe 0x167bf36
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
lea ecx, [esi + 0x94]
push eax
call fcn.0167a856
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jb 0x167bf1a
add dword [ebp - 0x18], ebx
add dword [ebp - 0x14], edi
push edi
push ebx
lea ecx, [esi + 0x58]
call fcn.0166b90b
mov ecx, dword [esi + 0x24]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x167bec6
xor edi, edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x167bffd
and dword [ebp - 0x10], 0
test eax, eax
jle 0x167bfc1
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
add eax, dword [esi + 0x3c]
mov ebx, dword [eax]
test ebx, ebx
jbe 0x167bf87
mov edx, dword [esi + 0x64]
add ecx, dword [edx]
add edx, 8
dec ebx
jne 0x167bf7f
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
add edx, ecx
xor ebx, ebx
test edi, edi
jbe 0x167bfa3
mov ecx, dword [esi + 0x64]
add ecx, 4
add ebx, dword [ecx]
add ecx, 8
dec edi
jne 0x167bf9b
mov eax, dword [eax + 0xc]
lea ecx, [esi + 0x6c]
add eax, ebx
push eax
push edx
call fcn.0166b90b
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x10
cmp eax, dword [esi + 0x38]
jl 0x167bf6e
xor edi, edi
cmp dword [ebp - 0x14], edi
jle 0x167bffd
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x167bfe3
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0x167bfe6
inc edx
add eax, 8
cmp edx, ecx
jl 0x167bfd7
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x167bff7
push edi
lea ecx, [esi + 0x94]
call fcn.0167a856
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x167bfc8
xor edi, edi
cmp dword [ebp - 0x18], edi
jle 0x167c036
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x167c01c
mov eax, dword [esi + 0x78]
cmp dword [eax], edi
je 0x167c01f
inc edx
add eax, 8
cmp edx, ecx
jl 0x167c010
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x167c030
push edi
lea ecx, [esi + 0x80]
call fcn.0167a856
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x167c004
cmp dword [esi + 0x88], 0
jne 0x167c054
lea eax, [ebp - 0x1c]
push 0x10076070
push eax
mov dword [ebp - 0x1c], 1
call fcn.016b8034
mov eax, dword [esi + 0x8c]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [esi + 0x58]
call fcn.0167b9c3
mov ecx, dword [ebp - 0x1c]
xor edi, edi
test ecx, ecx
jbe 0x167c084
mov eax, dword [esi + 0x64]
add eax, 4
add edi, dword [eax]
add eax, 8
dec ecx
jne 0x167c07c
mov ecx, dword [esi + 0x74]
xor edx, edx
test ecx, ecx
jle 0x167c09f
mov eax, dword [esi + 0x78]
add eax, 4
cmp dword [eax], edi
je 0x167c0ae
inc edx
add eax, 8
cmp edx, ecx
jl 0x167c093
or eax, 0xffffffff
test eax, eax
jl 0x167c0b2
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + eax*8]
jmp 0x167c05c
mov eax, edx
jmp 0x167c0a2
mov ecx, dword [esi + 0x9c]
xor edx, edx
test ecx, ecx
jle 0x167c0f4
mov eax, dword [esi + 0xa0]
cmp dword [eax], edi
je 0x167c0d2
inc edx
add eax, 4
cmp edx, ecx
jl 0x167c0c4
jmp 0x167c0f4
mov eax, dword [esi + 0x94]
lea ebx, [esi + 0x94]
push 1
push edx
mov ecx, ebx
call dword [eax + 4]
push 0
mov ecx, ebx
call fcn.0166482a
mov eax, dword [ebx + 0xc]
mov dword [eax], edi
cmp byte [esi + 0x48], 0
je 0x167c1b5
mov edi, dword [esi + 0x9c]
xor ebx, ebx
test edi, edi
mov dword [ebp - 0x1c], edi
jle 0x167c129
mov ecx, dword [esi + 0xa0]
mov eax, dword [ebp - 0x18]
add eax, ebx
push dword [ecx + ebx*4]
lea ecx, [esi + 0x6c]
push eax
call fcn.0166b90b
inc ebx
cmp ebx, edi
jl 0x167c10d
lea ecx, [esi + 0x94]
call fcn.016646f0
xor ebx, ebx
test edi, edi
jle 0x167c1b5
mov edi, 0x10072a6c
push 4
lea ecx, [ebp - 0x4c]
call fcn.0165f291
mov dword [ebp - 0x4c], edi
push 1
and dword [ebp - 0x30], 0
pop eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x34], 0x6f10701
call fcn.0167c477
push 1
lea ecx, [esi + 0x58]
pop eax
push eax
push eax
call fcn.0166b90b
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x94]
add eax, ebx
push eax
call fcn.0167a856
mov dword [ebp - 0x4c], edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 3
call fcn.016646f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.016646c7
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x167c13f
mov ebx, dword [esi + 0x24]
dec ebx
test ebx, ebx
jl 0x167c1d9
lea edi, [esi + 0xfc]
mov eax, dword [esi + 0x28]
mov ecx, edi
mov eax, dword [eax + ebx*4]
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.0166b90b
dec ebx
jns 0x167c1c3
push 0xa8
call fcn.01664879
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov dword [ebp - 4], 4
je 0x167c1ff
lea eax, [esi + 0x58]
push eax
call fcn.01691dea
jmp 0x167c201
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xa8]
push ecx
mov ecx, eax
mov dword [esi + 0xf8], eax
call fcn.01692027
mov byte [esi + 0x110], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret