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

Disassembly:
mov eax, 0x1006ca60
call fcn.016b7fd0
sub esp, 0xd8
push ebx
push esi
push edi
mov esi, ecx
call fcn.0167bde1
test eax, eax
jne 0x167b944
cmp dword [esi], eax
jne 0x167b18c
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0167ad71
test eax, eax
jne 0x167b944
mov eax, dword [esi]
lea ecx, [eax + 4]
mov eax, dword [eax + 4]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
call fcn.0165b282
mov dword [ebp - 0x40], 0x10072a1c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0165b282
mov dword [ebp - 0x54], 0x10072a14
push 1
lea ecx, [ebp - 0x2c]
pop edi
mov byte [ebp - 4], 1
call fcn.0165b282
mov dword [ebp - 0x2c], 0x100729cc
mov eax, dword [esi + 0x60]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x9c]
cmp eax, edi
mov ebx, edi
jle 0x167b233
lea ecx, [ebp - 0xe4]
call fcn.01669eb4
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0167c6d8
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.01669efe
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [eax + ecx*4 - 4]
call fcn.01669ee5
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [eax + ecx*4 - 4]
call fcn.01669f78
inc ebx
cmp ebx, dword [esi + 0x9c]
jl 0x167b1e5
mov eax, dword [esi + 0x9c]
cmp eax, edi
jle 0x167b2b5
push 0xc
call fcn.01664879
test eax, eax
pop ecx
je 0x167b257
and dword [eax + 4], 0
mov dword [eax], 0x10072a04
mov ebx, eax
jmp 0x167b259
xor ebx, ebx
test ebx, ebx
mov dword [ebp + 0x10], ebx
je 0x167b266
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov eax, dword [eax + edi*4 - 4]
mov dword [ebx + 8], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0167c56b
push 4
call fcn.01664879
test eax, eax
pop ecx
je 0x167b290
mov dword [eax], ebx
jmp 0x167b292
xor eax, eax
push eax
lea ecx, [ebp - 0x54]
call fcn.0167a856
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x167b2ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [esi + 0x9c]
jl 0x167b23d
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x18], ebx
jle 0x167b2d1
mov ecx, dword [esi]
push ebx
add ecx, 4
push ebx
push edi
mov eax, dword [ecx]
call dword [eax + 8]
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x167b2be
cmp dword [esi + 0x88], ebx
jne 0x167b32f
mov dword [ebp - 0x2c], 0x100729cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.016646f0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.016646c7
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.016646f0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.016646c7
mov dword [ebp - 0x40], 0x10072a1c
mov dword [ebp - 4], 7
mov esi, 0x80004005
jmp 0x167b92e
lea eax, [ebp - 0x58]
lea ecx, [esi + 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x8c]
push dword [eax]
call fcn.0167b9c3
cmp dword [ebp + 0xc], ebx
je 0x167b3b7
push 4
lea ecx, [ebp - 0x98]
call fcn.0165f291
mov dword [ebp - 0x98], 0x10072964
mov ecx, dword [esi + 0x64]
mov eax, dword [ebp - 0x14]
xor edi, edi
mov byte [ebp - 4], 8
cmp dword [ecx + eax*8], ebx
jbe 0x167b396
cmp edi, dword [ebp - 0x58]
jne 0x167b37e
push dword [ebp + 0xc]
jmp 0x167b37f
push ebx
lea ecx, [ebp - 0x98]
call fcn.0167a856
mov ecx, dword [esi + 0x64]
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, dword [ecx + eax*8]
jb 0x167b374
mov ecx, dword [esi]
push ebx
push dword [ebp - 0x8c]
add ecx, 4
mov edx, dword [ecx]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.016646c7
push 0x20
call fcn.01664879
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x167b3d3
mov ecx, eax
call fcn.0167bb38
jmp 0x167b3d5
xor eax, eax
cmp eax, ebx
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0xa0], eax
je 0x167b3ec
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 0x18
mov byte [ebp - 4], 0xa
call fcn.01664879
cmp eax, ebx
pop ecx
je 0x167b40e
and dword [eax + 4], 0
and dword [eax + 8], 0
mov dword [eax], 0x100729f4
mov ebx, eax
jmp 0x167b410
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 0xa4], ebx
je 0x167b420
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0xb
call fcn.0167ba0d
push dword [ebp + 0x18]
lea ecx, [ebx + 8]
call fcn.0165b25b
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
push 4
lea ecx, [ebp - 0x84]
call fcn.0165f291
mov dword [ebp - 0x84], 0x1007295c
push 4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.0165f291
mov dword [ebp - 0x70], 0x100729ec
push dword [ebp + 0x10]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.0167a856
push ebx
lea ecx, [ebp - 0x70]
call fcn.0167a856
push 1
pop edi
cmp dword [esi + 0x9c], edi
jle 0x167b4ae
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x70]
mov eax, dword [eax + edi*4 - 4]
push dword [eax]
call fcn.0167a856
inc edi
cmp edi, dword [esi + 0x9c]
jl 0x167b494
mov eax, dword [esi + 0x10]
and dword [ebp + 0xc], 0
test eax, eax
jle 0x167b5d4
mov eax, dword [ebp + 0xc]
mov edi, eax
mov eax, dword [esi + 0x14]
shl edi, 2
mov eax, dword [edi + eax]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [esi]
mov byte [ebp - 4], 0xe
mov eax, dword [eax + 0x80]
mov eax, dword [eax + edi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x167b4ec
mov eax, ecx
jmp 0x167b4ef
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x100715e0
push eax
call dword [ecx]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x167b50a
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
and dword [ebp + 8], 0
mov eax, dword [esi]
mov byte [ebp - 4], 0xf
mov eax, dword [eax + 0x80]
mov eax, dword [eax + edi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x167b528
mov eax, ecx
jmp 0x167b52b
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x10071670
push eax
call dword [ecx]
cmp dword [ebp + 8], 0
je 0x167b5a3
push 0x14
call fcn.01664879
test eax, eax
pop ecx
je 0x167b563
xor ecx, ecx
mov edi, eax
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x100729dc
jmp 0x167b565
xor edi, edi
test edi, edi
mov dword [ebp - 0x9c], edi
je 0x167b575
mov eax, dword [edi]
push edi
call dword [eax + 4]
and dword [edi + 0x10], 0
mov eax, dword [ebp + 8]
push edi
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x5c]
mov ecx, edi
add eax, 8
push eax
call fcn.0166be97
test edi, edi
mov byte [ebp - 4], 0xf
je 0x167b5a3
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x167b5b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x167b5c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x10]
jl 0x167b4bd
mov eax, dword [esi + 0x10]
mov edi, dword [ebp - 0x14]
push 1
pop ecx
cmp eax, ecx
jle 0x167b620
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
cmp edx, 3
jne 0x167b5f7
test eax, eax
je 0x167b60f
cmp edx, 0x3030103
jne 0x167b603
test eax, eax
je 0x167b60f
cmp edx, 0x303011b
jne 0x167b612
test eax, eax
jne 0x167b612
mov edi, dword [ebp + 0xc]
add ecx, 4
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x10]
jl 0x167b5e7
mov eax, dword [esi]
push dword [ebp + 0x20]
mov dword [eax + 0x70], edi
push dword [ebp - 0x68]
mov eax, dword [esi + 4]
push 0
push dword [ebp - 0x64]
mov ecx, dword [eax]
push 1
push 0
push dword [ebp - 0x78]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
je 0x167b6d7
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.016646c7
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.016646c7
test ebx, ebx
mov byte [ebp - 4], 0xa
je 0x167b673
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x167b684
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], 0x100729cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
call fcn.016646f0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.016646c7
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.016646f0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.016646c7
mov dword [ebp - 0x40], 0x10072a1c
mov dword [ebp - 4], 0x13
mov esi, edi
jmp 0x167b92e
push dword [ebp + 0x14]
lea eax, [esi + 0xfc]
sub esp, 0x14
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.0167c51f
lea eax, [esi + 0xa8]
push eax
call fcn.0167ba47
push dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.0166b90b
push 1
pop eax
cmp dword [esi + 0x9c], eax
mov dword [ebp + 0xc], eax
jle 0x167b74f
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x18]
mov edi, dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.0166a060
test eax, eax
mov dword [ebp + 0x20], eax
jne 0x167b79c
push dword [edi + 0x34]
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.0166b90b
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x9c]
jl 0x167b717
mov eax, dword [esi + 0xf8]
xor edi, edi
cmp dword [eax + 0x90], edi
jle 0x167b869
mov ecx, dword [esi + 0x74]
and dword [ebp + 0xc], 0
test ecx, ecx
jle 0x167b82f
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + edi*4]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x78]
mov edx, dword [ebp + 0x18]
cmp dword [eax], edx
je 0x167b82a
inc dword [ebp + 0xc]
add eax, 8
cmp dword [ebp + 0xc], ecx
jl 0x167b781
jmp 0x167b82f
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.016646c7
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.016646c7
test ebx, ebx
mov byte [ebp - 4], 0xa
je 0x167b7c5
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x167b7d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], 0x100729cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.016646f0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.016646c7
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x15
call fcn.016646f0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.016646c7
mov dword [ebp - 0x40], 0x10072a1c
mov esi, dword [ebp + 0x20]
mov dword [ebp - 4], 0x16
jmp 0x167b92e
mov eax, dword [ebp + 0xc]
jmp 0x167b832
or eax, 0xffffffff
test eax, eax
jge 0x167b83b
mov eax, dword [ebp + 0x10]
jmp 0x167b843
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x68]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push ecx
lea ecx, [eax + 0x3c]
call fcn.0166b90b
mov eax, dword [esi + 0xf8]
inc edi
cmp edi, dword [eax + 0x90]
jl 0x167b763
mov eax, dword [ebp - 0x18]
lea edi, [eax - 1]
test edi, edi
jl 0x167b8a6
sub eax, edi
lea eax, [eax*4 - 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
add eax, 8
mov ecx, dword [edx + ecx]
push eax
add ecx, 8
call fcn.0167c383
add dword [ebp + 0xc], 4
dec edi
test edi, edi
jge 0x167b87f
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.016646c7
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.016646c7
test ebx, ebx
mov byte [ebp - 4], 0xa
je 0x167b8cf
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x167b8e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], 0x100729cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.016646f0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.016646c7
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x18
call fcn.016646f0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.016646c7
mov dword [ebp - 0x40], 0x10072a1c
mov dword [ebp - 4], 0x19
xor esi, esi
lea ecx, [ebp - 0x40]
call fcn.016646f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.016646c7
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c