Function at 0x455600
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd10
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc0c], esi
mov dword [0x50bfac], ebx
mov dword [0x5267e4], ebx
call fcn.00493150
call fcn.004930c0
test eax, eax
jne 0x455660
push 0x30
push 0x4d9850
push str.Windows_refuses_to_report_a_version
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
push edi
push 0x5241a0
push ebx
mov dword [0x524190], 3
mov dword [0x524194], 0x16
mov dword [0x52419c], 4
mov dword [0x525d90], ebx
call fcn.00457a70
mov eax, dword [0x524190]
mov ecx, dword [0x524194]
mov edx, dword [0x50f030]
mov dword [0x5243a4], eax
mov eax, dword [0x50ecd4]
mov dword [0x5243a0], ecx
mov dword [0x524cdc], eax
mov eax, dword [0x50f028]
mov ecx, eax
shl ecx, 4
sub ecx, eax
add ecx, ecx
add ecx, ecx
add esp, 8
mov dword [0x5267e0], ebx
mov dword [0x5243b8], 1
mov dword [0x524cd8], ebx
mov byte [0x524ad0], bl
mov dword [0x526234], edx
mov dword [0x5243b4], ecx
cmp byte [0x50ebd0], bl
je 0x455721
lea edx, [ebp - 0xd10]
push 0x50ebd0
push edx
call fcn.00493070
mov ecx, 0x41
mov esi, eax
mov edi, 0x524d28
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc0c]
add esp, 8
mov edi, dword [sym.imp.MSVCR100.dll_strncpy]
cmp esi, ebx
je 0x45577b
push 0x1ff
push esi
push 0x5241a0
call edi
add esp, 0xc
mov byte [0x52439f], bl
mov eax, 0x5241a0
cmp byte [0x5241a0], bl
je 0x45577b
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x2f
je 0x455761
cmp cl, 0x5c
je 0x455761
inc eax
cmp byte [eax], bl
jne 0x455750
cmp byte [eax], bl
je 0x45577b
mov byte [eax], bl
inc eax
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
cmp eax, ebx
jle 0x45577b
mov dword [0x5243a0], eax
cmp byte [0x50ed48], bl
je 0x45579a
push 0x63
push 0x50ed48
push 0x525790
call edi
add esp, 0xc
mov byte [0x5257f3], bl
mov eax, dword [str.proclient]
mov ecx, dword [0x4d99f0]
mov dx, word [0x4d99f4]
mov dword [0x525050], eax
mov eax, dword [ebp + 0xc]
push 0x5241a0
push ebx
mov dword [0x525054], ecx
mov word [0x525058], dx
mov dword [0x5267dc], eax
call fcn.00432990
add esp, 8
xor ecx, ecx
mov dword [0x524198], eax
mov dword [0x50bf24], ebx
cmp dword [0x4f9090], ebx
je 0x45581e
mov edx, dword [0x5243a4]
xor eax, eax
cmp dword [eax + 0x4f9088], edx
je 0x45580b
inc ecx
lea eax, [ecx + ecx*2]
add eax, eax
add eax, eax
cmp dword [eax + 0x4f9090], ebx
jne 0x4557f1
jmp 0x45581e
lea ecx, [ecx + ecx*2]
mov eax, dword [ecx*4 + 0x4f9090]
mov dword [0x50bf24], eax
cmp eax, ebx
jne 0x455849
push 0x30
push str.SSH_Internal_Error
push str.Unsupported_protocol_number_found
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.00454910
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov edx, dword [0x5243bc]
mov ecx, dword [0x5243b8]
push edx
push ecx
mov ecx, dword [0x5243a0]
lea edx, [ebp - 0xc08]
push edx
mov edx, dword [eax]
push ecx
push 0x5241a0
push 0x5241a0
push 0x50bf20
push ebx
call edx
mov ecx, dword [0x50bf20]
mov edx, dword [0x50bf24]
mov edi, eax
mov eax, dword [0x524198]
push eax
mov eax, dword [edx + 0x34]
push ecx
call eax
add esp, 0x28
cmp edi, ebx
je 0x45592c
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push 0x381
mov byte [ebp - 0x404], bl
call fcn.0048ebd0
lea eax, [ebp - 0x404]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4558c6
sub eax, edx
push edi
push 0x5241a0
mov esi, eax
call fcn.00454500
add esp, 4
push eax
lea edx, [ebp + esi - 0x404]
push str._n_.800s_n_s
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
push 0x400
lea eax, [ebp - 0xc04]
push eax
lea ecx, [ebp - 0x404]
push 0xffffffffffffffff
push ecx
call fcn.0040d5c0
add esp, 0x20
push 0x10
push 0x4d9850
lea edx, [ebp - 0xc04]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0xc08]
push eax
call fcn.004544e0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
mov dword [0x50bfa0], ebx
mov dword [0x4f90a0], ebx
mov dword [0x50bfa4], ebx
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret