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

Disassembly:
push 0xffffffffffffffff
push 0x81c834
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
mov esi, dword [esp + 0x174]
push edi
mov edi, ecx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], edi
cmp eax, 1
jb 0x5cb128
cmp eax, 0xffff
ja 0x5cb128
cmp byte [esi + 0x44], 5
ja 0x5cb071
mov al, byte [esi + 0x74]
mov dl, 2
cmp al, dl
ja 0x5cafba
mov eax, dword [esi + 0x78]
mov ecx, 0x270f
cmp eax, ecx
ja 0x5caf08
mov eax, dword [esi + 0x134]
cmp eax, 0xa
jb 0x5cae56
cmp eax, 0x3e7
ja 0x5cae56
mov eax, dword [esi + 0x138]
cmp eax, 5
jb 0x5cada4
cmp eax, 0x3e7
ja 0x5cada4
cmp dword [esi + 0x13c], ecx
ja 0x5cacf2
cmp byte [esi + 0x18d], dl
ja 0x5cac40
mov eax, dword [esi + 0xac]
cmp eax, 1
jb 0x5cab8e
cmp eax, 0xffff
ja 0x5cab8e
lea eax, [esp + 0x67]
lea ecx, [esp + 0x13]
push eax
push 0
push ecx
lea ecx, [esp + 0x4c]
call fcn.005d0070
mov eax, dword [esi + 0x218]
mov dword [esp + 0x170], 0x24
test eax, eax
jne 0x5ca08e
xor edx, edx
jmp 0x5ca0a7
mov ecx, dword [esi + 0x21c]
sub ecx, eax
mov eax, 0x4bda12f7
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0
jle 0x5ca1e5
xor edi, edi
mov eax, dword [esi + 0x218]
push 0x8fca00
mov edx, dword [eax + edi + 0x1c]
lea ecx, [eax + edi + 0x1c]
call dword [edx + 0x24]
push eax
call fcn.005e7529
mov ebp, eax
add esp, 8
cmp ebp, 1
jb 0x5ca357
cmp ebp, 0xffff
ja 0x5ca357
mov eax, dword [esi + 0x218]
push 0x8fca00
lea ecx, [eax + edi + 0x44]
mov eax, dword [eax + edi + 0x44]
call dword [eax + 0x24]
push eax
call fcn.005e7529
add esp, 8
cmp eax, 1
jb 0x5ca2ad
mov eax, dword [esi + 0x218]
push 0x8fca00
mov edx, dword [eax + edi + 0x44]
lea ecx, [eax + edi + 0x44]
call dword [edx + 0x24]
push eax
call fcn.005e7529
add esp, 8
cmp eax, 0xffff
ja 0x5ca2ad
mov eax, dword [esi + 0x218]
mov ebx, dword [esp + 0x44]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x60]
mov eax, dword [eax + edi + 4]
push ecx
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebp
call fcn.005d03b0
cmp dword [esp + 0x60], ebx
je 0x5ca1a0
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x74]
lea ecx, [esp + 0x68]
push eax
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ebp
call fcn.005d03b0
cmp dword [esp + 0x68], ebx
jne 0x5ca203
lea edx, [esp + 0x58]
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.005d00a0
lea ecx, [esp + 0x70]
lea edx, [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x11c]
call fcn.0068c2a0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
inc eax
add edi, 0x6c
cmp eax, ecx
mov dword [esp + 0x54], eax
jl 0x5ca0bd
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
call fcn.005d0310
mov eax, dword [esi + 0x22c]
test eax, eax
jne 0x5ca404
xor edx, edx
jmp 0x5ca41d
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca21b
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov byte [esp + 0x170], 0x2d
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x2e
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.there_are_two_C2S_Port_Forwarding_entries_attached_to_the_same_listening_inteface_and_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.there_are_two_C2S_Port_Forwarding_entries_attached_to_the_same_listening_inteface_and_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x7c]
push edx
mov byte [esp + 0x174], 0x2f
call fcn.00432800
lea eax, [esp + 0x7c]
push 0x89b95c
push eax
mov dword [esp + 0x84], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca2c5
mov ecx, dword [esp + 0x3c]
cmp byte [ecx], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x174], 0x29
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x2a
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_C2S_Port_Forwarding_destination_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_C2S_Port_Forwarding_destination_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x7c]
push eax
mov byte [esp + 0x174], 0x2b
call fcn.00432800
lea ecx, [esp + 0x7c]
push 0x89b95c
push ecx
mov dword [esp + 0x84], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca36f
mov edx, dword [esp + 0x3c]
cmp byte [edx], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0x13]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x174], 0x25
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x26
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_C2S_Port_Forwarding_listen_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_C2S_Port_Forwarding_listen_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x27
push ecx
lea ecx, [esp + 0x80]
call fcn.00432800
lea edx, [esp + 0x7c]
push 0x89b95c
push edx
mov dword [esp + 0x84], vtable.AException.0
call fcn.007ac5c6
mov ecx, dword [esi + 0x230]
sub ecx, eax
mov eax, 0x4bda12f7
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0
jle 0x5ca55c
xor edi, edi
mov eax, dword [esi + 0x22c]
push 0x8fca00
mov edx, dword [eax + edi + 0x1c]
lea ecx, [eax + edi + 0x1c]
call dword [edx + 0x24]
push eax
call fcn.005e7529
mov ebp, eax
add esp, 8
cmp ebp, 1
jb 0x5ca76f
cmp ebp, 0xffff
ja 0x5ca76f
mov eax, dword [esi + 0x22c]
push 0x8fca00
lea ecx, [eax + edi + 0x44]
mov eax, dword [eax + edi + 0x44]
call dword [eax + 0x24]
push eax
call fcn.005e7529
add esp, 8
cmp eax, 1
jb 0x5ca6c5
mov eax, dword [esi + 0x22c]
push 0x8fca00
mov edx, dword [eax + edi + 0x44]
lea ecx, [eax + edi + 0x44]
call dword [edx + 0x24]
push eax
call fcn.005e7529
add esp, 8
cmp eax, 0xffff
ja 0x5ca6c5
mov eax, dword [esi + 0x22c]
mov ebx, dword [esp + 0x44]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x68]
mov eax, dword [eax + edi + 4]
push ecx
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebp
call fcn.005d03b0
cmp dword [esp + 0x68], ebx
je 0x5ca517
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ebp
call fcn.005d03b0
cmp dword [esp + 0x60], ebx
jne 0x5ca61b
lea edx, [esp + 0x58]
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.005d00a0
lea ecx, [esp + 0x78]
lea edx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x11c]
call fcn.0068c2a0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
inc eax
add edi, 0x6c
cmp eax, ecx
mov dword [esp + 0x54], eax
jl 0x5ca433
mov edi, dword [esp + 0x3c]
mov eax, dword [esi + 0x254]
lea ecx, [esi + 0x254]
push 0x8fca00
call dword [eax + 0x24]
push eax
call fcn.005e7529
add esp, 8
cmp eax, 1
jb 0x5caae8
cmp eax, 0xffff
ja 0x5caae8
mov edx, dword [esi + 0x2b8]
lea ecx, [esi + 0x2b8]
push 0x8fca00
call dword [edx + 0x24]
push eax
call fcn.005e7529
add esp, 8
cmp eax, 1
jb 0x5caa42
cmp eax, 0xffff
ja 0x5caa42
cmp byte [esi + 0x1f0], 3
ja 0x5ca99c
cmp byte [esi + 0x2fa], 5
ja 0x5ca8fb
cmp byte [esi + 0x34a], 5
ja 0x5ca8a2
mov esi, dword [esi + 0x380]
cmp esi, 0x10
jb 0x5ca81c
cmp esi, 0x1000
ja 0x5ca81c
lea ecx, [esp + 0x40]
mov dword [esp + 0x170], 0xffffffff
call fcn.005cfa50
mov al, 1
jmp 0x5ca842
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca633
mov eax, dword [esp + 0x3c]
cmp byte [eax], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov byte [esp + 0x170], 0x39
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x3a
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.there_are_two_S2C_Port_Forwarding_entries_attached_to_the_same_listening_inteface_and_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.there_are_two_S2C_Port_Forwarding_entries_attached_to_the_same_listening_inteface_and_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x7c]
push edx
mov byte [esp + 0x174], 0x3b
call fcn.00432800
lea eax, [esp + 0x7c]
push 0x89b95c
push eax
mov dword [esp + 0x84], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca6dd
mov ecx, dword [esp + 0x3c]
cmp byte [ecx], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea edx, [esp + 0x13]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x174], 0x35
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x36
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_S2C_Port_Forwarding_destination_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_S2C_Port_Forwarding_destination_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x7c]
push eax
mov byte [esp + 0x174], 0x37
call fcn.00432800
lea ecx, [esp + 0x7c]
push 0x89b95c
push ecx
mov dword [esp + 0x84], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca787
mov edx, dword [esp + 0x3c]
cmp byte [edx], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0x13]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x174], 0x31
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x32
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_S2C_Port_Forwarding_listen_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_S2C_Port_Forwarding_listen_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x33
push ecx
lea ecx, [esp + 0x80]
call fcn.00432800
lea edx, [esp + 0x7c]
push 0x89b95c
push edx
mov dword [esp + 0x84], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca85d
cmp byte [edi], 0
jne 0x5ca85d
lea ecx, [esp + 0x40]
mov dword [esp + 0x170], 0xffffffff
call fcn.005cfa50
xor al, al
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret 8
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0xffffffffffffffff
push str.invalid_pipeline_size
lea ecx, [esp + 0x88]
call fcn.0041d680
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x11c]
push eax
mov byte [esp + 0x174], 0x4d
call fcn.0057d9b0
lea ecx, [esp + 0x11c]
push 0x89b95c
push ecx
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca8b6
cmp byte [edi], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0xffffffffffffffff
push str.invalid_remote_transfer_mode
lea ecx, [esp + 0x88]
call fcn.0041d680
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x11c]
push edx
mov byte [esp + 0x174], 0x4c
call fcn.0057d9b0
lea eax, [esp + 0x11c]
push 0x89b95c
push eax
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca90f
cmp byte [edi], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov byte [esp + 0x170], 0x49
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x4a
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_local_transfer_mode
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_local_transfer_mode
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x11c]
push edx
mov byte [esp + 0x174], 0x4b
call fcn.0057d9b0
lea eax, [esp + 0x11c]
push 0x89b95c
push eax
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5ca9b0
cmp byte [edi], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov byte [esp + 0x170], 0x45
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x46
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_host_key_algorithm
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_host_key_algorithm
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x7c]
push edx
mov byte [esp + 0x174], 0x47
call fcn.00432800
lea eax, [esp + 0x7c]
push 0x89b95c
push eax
mov dword [esp + 0x84], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5caa56
cmp byte [edi], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov byte [esp + 0x170], 0x41
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x42
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_FTP_Bridge_listen_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_FTP_Bridge_listen_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x7c]
push edx
mov byte [esp + 0x174], 0x43
call fcn.00432800
lea eax, [esp + 0x7c]
push 0x89b95c
push eax
mov dword [esp + 0x84], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5caafc
cmp byte [edi], 0
je 0x5ca82c
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov byte [esp + 0x170], 0x3d
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x3e
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_SOCKS_Forwarding_listen_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_SOCKS_Forwarding_listen_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x7c]
push edx
mov byte [esp + 0x174], 0x3f
call fcn.00432800
lea eax, [esp + 0x7c]
push 0x89b95c
push eax
mov dword [esp + 0x84], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5caba2
cmp byte [edi], 0
je 0x5ca840
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov dword [esp + 0x170], 0x20
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x21
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_Remote_Desktop_server_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_Remote_Desktop_server_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x174], 0x22
call fcn.00432800
lea eax, [esp + 0xc8]
push 0x89b95c
push eax
mov dword [esp + 0xd0], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5cac54
cmp byte [edi], 0
je 0x5ca840
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov dword [esp + 0x170], 0x1c
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x1d
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_encryption_mode
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_encryption_mode
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x174], 0x1e
call fcn.00432800
lea eax, [esp + 0xc8]
push 0x89b95c
push eax
mov dword [esp + 0xd0], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5cad06
cmp byte [edi], 0
je 0x5ca840
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov dword [esp + 0x170], 0x18
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x19
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_history_height
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_history_height
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x174], 0x1a
call fcn.00432800
lea eax, [esp + 0xc8]
push 0x89b95c
push eax
mov dword [esp + 0xd0], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5cadb8
cmp byte [edi], 0
je 0x5ca840
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov dword [esp + 0x170], 0x14
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x15
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_screen_height
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_screen_height
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x174], 0x16
call fcn.00432800
lea eax, [esp + 0xc8]
push 0x89b95c
push eax
mov dword [esp + 0xd0], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5cae6a
cmp byte [edi], 0
je 0x5ca840
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov dword [esp + 0x170], 0x10
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0x11
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_screen_width
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_screen_width
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x174], 0x12
call fcn.00432800
lea eax, [esp + 0xc8]
push 0x89b95c
push eax
mov dword [esp + 0xd0], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5caf1c
cmp byte [edi], 0
je 0x5ca840
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
lea ecx, [esp + 0x13]
mov dword [esp + 0x170], 0xc
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], esi
call fcn.00478ac0
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0xd
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_reconnection_timeout
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_reconnection_timeout
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x174], 0xe
call fcn.00432800
lea eax, [esp + 0xc8]
push 0x89b95c
push eax
mov dword [esp + 0xd0], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5cafce
cmp byte [edi], 0
je 0x5ca840
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
mov dword [esp + 0x174], 8
mov dword [esp + 0x2c], esi
call fcn.00404c40
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 9
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_auto_reconnection
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_auto_reconnection
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x174], 0xa
call fcn.00432800
lea eax, [esp + 0xc8]
push 0x89b95c
push eax
mov dword [esp + 0xd0], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5cb085
cmp byte [edi], 0
je 0x5ca840
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
mov dword [esp + 0x174], 4
mov dword [esp + 0x2c], esi
call fcn.00404c40
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 5
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_initial_authentication_method
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_initial_authentication_method
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x174], 6
call fcn.00432800
lea eax, [esp + 0xc8]
push 0x89b95c
push eax
mov dword [esp + 0xd0], vtable.AException.0
call fcn.007ac5c6
mov al, byte [esp + 0x17c]
test al, al
jne 0x5cb13c
cmp byte [edi], 0
je 0x5ca840
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004034c0
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
mov dword [esp + 0x174], 0
mov dword [esp + 0x2c], esi
call fcn.00404c40
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 1
mov dword [esp + 0x14], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.invalid_server_port
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_server_port
lea ecx, [esp + 0x20]
call fcn.004030a0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc8]
push edx
mov dword [esp + 0x174], 2
call fcn.00432800
lea eax, [esp + 0xc8]
push 0x89b95c
push eax
mov dword [esp + 0xd0], vtable.AException.0
call fcn.007ac5c6
nop
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0xc]
cmp ecx, ebp
mov eax, dword [edi]
mov dword [esp + 0x10], eax
je 0x5cb252
mov ecx, eax
cmp eax, ecx
jne 0x5cb252
mov ebx, dword [edi + 4]
mov eax, dword [0x951b50]
cmp ebx, eax
mov edi, ebx
je 0x5cb230
mov eax, dword [edi + 8]
mov ecx, esi
push eax
call fcn.005d11a0
mov edi, dword [edi]
push ebx
call fcn.007d7349
mov eax, dword [0x951b50]
add esp, 4
cmp edi, eax
mov ebx, edi
jne 0x5cb20f
mov ecx, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebp
mov ecx, esi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
call fcn.005184e0
jmp 0x5cb276
cmp eax, edi
je 0x5cb276
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.005d1fe0
lea eax, [esp + 0x18]
push ebx
push eax
mov ecx, esi
call fcn.005d0d90
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x5cb256
mov ecx, dword [esi + 4]
push ecx
call fcn.007d7349
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
lea ecx, [esp + 0x10]
xor esi, esi
call fcn.007c4c68
mov eax, dword [0x951b4c]
dec eax
mov dword [0x951b4c], eax
jne 0x5cb2ac
mov esi, dword [0x951b50]
mov dword [0x951b50], ebp
lea ecx, [esp + 0x10]
call fcn.007c4d04
cmp esi, ebp
je 0x5cb2c2
push esi
call fcn.007d7349
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret