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

Disassembly:
push 0xffffffffffffffff
push 0x17e9420
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1845170]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1845170]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
xor esi, esi
cmp dword [0x1868d38], esi
mov dword [esp + 0x24], eax
je 0x1722644
mov edi, 0xf
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
mov dword [esp + 0x6c], esi
mov eax, dword [0x1868894]
mov ebx, dword [esp + 0x74]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push esi
lea edx, [esp + 0x4c]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jne 0x1722665
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x1722637
mov ecx, dword [esp + 0x48]
push ecx
call fcn.017af9e0
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.017b0193
add esp, 0x5c
ret
lea ecx, [esp + 0x2c]
call fcn.01695ca0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov byte [esp + 0x6c], 1
mov eax, dword [0x1868d38]
movzx ecx, word [eax]
lea edx, [esp + 0x2c]
push edx
push ecx
call fcn.0171e4d0
mov eax, dword [0x1868894]
mov edx, dword [eax]
add esp, 8
push ebx
push eax
mov eax, dword [edx + 0x70]
call eax
cmp eax, 1
mov eax, dword [0x1868d58]
mov ecx, dword [eax + 4]
mov ebp, dword [ecx]
mov edi, eax
sete dl
cmp edi, esi
mov byte [esp + 0x17], dl
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], eax
je 0x1722a2b
lea esp, [esp]
cmp edi, dword [esp + 0x38]
jne 0x1722a2b
cmp ebp, ecx
sete al
test al, al
sete al
test al, al
je 0x172287d
cmp ebp, dword [edi + 4]
je 0x1722878
mov esi, dword [ebp + 8]
mov eax, dword [0x1868d38]
movzx ecx, word [esi + 4]
movzx eax, word [eax]
cmp cx, ax
jne 0x17227af
cmp dl, 1
jne 0x17227ab
movzx ecx, word [esi + 6]
push ecx
call fcn.01721c10
mov edi, eax
add esp, 4
test edi, edi
je 0x172285d
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x14]
push edx
add eax, 1
push eax
call fcn.016628f0
add esp, 8
test eax, eax
jne 0x172285d
mov cx, word [edi + 0xe]
cmp cx, word [esp + 0x18]
jne 0x172285d
cmp byte [esi + 8], 1
jne 0x1722785
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x172276d
lea eax, [esp + 0x48]
mov edx, dword [edi + 0x18]
push eax
add edx, 0x35
push edx
call fcn.016628f0
add esp, 8
test eax, eax
je 0x17228b4
cmp byte [esi + 8], 0
jne 0x172285d
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x172279e
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x18]
add eax, 0x25
push eax
jmp 0x1722851
mov edi, dword [esp + 0x1c]
cmp word [esi + 6], ax
jne 0x1722861
mov eax, dword [0x1868d38]
cmp dword [eax + 0x10], 3
jl 0x1722861
test dl, dl
jne 0x1722861
push ecx
call fcn.01721c10
mov edi, eax
add esp, 4
test edi, edi
je 0x172285d
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x14]
push ecx
add edx, 1
push edx
call fcn.016628f0
add esp, 8
test eax, eax
jne 0x172285d
mov ax, word [esp + 0x7c]
test ax, ax
je 0x1722807
cmp word [edi + 0xe], ax
jne 0x172285d
cmp byte [esi + 8], 1
jne 0x1722834
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x172281c
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x18]
add eax, 0x35
push eax
call fcn.016628f0
add esp, 8
test eax, eax
je 0x17228b4
cmp byte [esi + 8], 0
jne 0x172285d
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x1722849
lea eax, [esp + 0x48]
mov ecx, dword [edi + 0x18]
push eax
add ecx, 0x25
push ecx
call fcn.016628f0
add esp, 8
test eax, eax
je 0x17228b4
mov edi, dword [esp + 0x1c]
cmp ebp, dword [edi + 4]
je 0x1722878
mov ebp, dword [ebp]
mov ecx, dword [esp + 0x28]
mov dl, byte [esp + 0x17]
xor esi, esi
jmp 0x17226d0
jmp fcn.01698670
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.01696a00
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x17228a7
mov edx, dword [esp + 0x48]
push edx
call fcn.017af9e0
add esp, 4
mov dword [esp + 0x5c], 0xf
jmp 0x172263b
mov eax, dword [esi + 0xd]
test eax, eax
lea edi, [esi + 0xd]
je 0x1722973
cmp eax, ebx
je 0x1722973
mov ecx, dword [0x1868d38]
movzx edx, word [ecx]
movzx ecx, word [esi + 6]
push edx
movzx edx, word [esi + 4]
push ecx
push edx
push ebx
push eax
push str.server_cord_already_established_:_discarding_Cord_session__d___NewSessionID__d___OutletID__d___InletID__d___MyselfID__d_
push 0x2000001
call fcn.0170b720
mov eax, dword [0x1868894]
mov edx, dword [edi]
mov ecx, dword [eax]
add esp, 0x1c
push 1
push edx
push eax
mov eax, dword [ecx + 0x64]
call eax
push esi
call fcn.01721cb0
mov ecx, dword [0x1868d34]
mov edx, dword [ecx]
add esp, 4
push eax
mov eax, dword [edx + 0xc8]
push esi
call eax
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x1868e20
call fcn.0171ef80
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1722a26
cmp eax, 0x1868e20
jne 0x1722a26
mov edx, dword [esp + 0x20]
cmp edx, dword [0x1868e24]
sete cl
test cl, cl
sete cl
test cl, cl
je 0x172296d
push edx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, 0x1868e20
call fcn.0171ecc0
mov dword [edi], 0
cmp dword [edi], ebx
je 0x17229e0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x1868e20
mov dword [edi], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
call fcn.0171ec00
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x17229a4
lea eax, [esp + 0x48]
mov edx, dword [0x1868d38]
movzx ecx, word [edx]
movzx edx, word [esi + 6]
push ecx
movzx ecx, word [esi + 4]
push edx
movzx edx, word [esp + 0x20]
push ecx
push ebx
push edx
push eax
push str.server_cord_established_:__s:_d__SessionID__d___OutletID__d___InletID__d___MyselfID__d_
push 0x2000001
call fcn.0170b720
mov eax, dword [0x1868894]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
add esp, 0x20
push ebx
push eax
call edx
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.01696a00
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x1722a0a
mov eax, dword [esp + 0x48]
push eax
call fcn.017af9e0
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov eax, esi
jmp 0x1722646
jmp fcn.01717700
jmp fcn.016986e0