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

Disassembly:
sub esp, 0x94
mov eax, dword [0x476018]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
mov ebp, dword [esp + 0xa0]
push esi
push edi
xor edi, edi
mov dword [esp + 0x2c], eax
mov eax, ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], edi
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45d890
sub eax, esi
je 0x45d8c1
cmp byte [ecx], 0x3d
je 0x45d8c1
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x14]
push edx
push ecx
call fcn.00435490
add esp, 0xc
cmp eax, edi
jne 0x45dc81
cmp dword [esp + 0x10], edi
jne 0x45d8d6
push str.GSSAPI_handshake_failure__empty_security_message__n
push ebp
call fcn.004283c0
mov eax, 0x3d
jmp 0x45dc7e
mov ecx, dword [ebx + 4]
mov edx, dword [0x47a670]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [edx + 0x2c]
push edi
push ecx
call eax
test eax, eax
je 0x45d907
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x476050]
add esp, 4
mov eax, 0x1b
jmp 0x45dc81
mov eax, dword [ebx]
mov ecx, dword [0x47a670]
lea edx, [esp + 0x34]
push edx
mov edx, dword [ecx + 8]
push 1
push eax
call edx
test eax, eax
je 0x45d938
mov eax, dword [esp + 0x10]
push eax
call dword [0x476050]
add esp, 4
mov eax, 0x38
jmp 0x45dc81
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 2
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], 0xa
mov dword [esp + 0x48], edx
call fcn.0042a910
add esp, 4
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [0x47a670]
push edi
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x54], edi
mov edx, dword [ecx + 0x68]
push eax
call edx
test eax, eax
je 0x45d9be
push str.GSSAPI_handshake_failure__empty_security_message__n
push ebp
call fcn.004283c0
mov eax, dword [esp + 0x18]
push eax
call dword [0x476050]
add esp, 0xc
mov eax, 0x3d
jmp 0x45dc81
cmp dword [esp + 0x48], 4
je 0x45d9e8
push str.GSSAPI_handshake_failure__invalid_security_data__n
push ebp
call fcn.004283c0
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x476050]
add esp, 0xc
mov eax, 0x3d
jmp 0x45dc81
mov eax, dword [esp + 0x50]
mov edx, dword [0x47a670]
mov ebx, dword [eax]
push eax
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x476050]
movzx eax, bl
add esp, 4
mov dword [esp + 0x1c], eax
test eax, reloc.WS2_32.dll_accept
jne 0x45da2b
push str.GSSAPI_handshake_failure__invalid_security_layer__n
push ebp
call fcn.004283c0
mov eax, 0x3d
jmp 0x45dc7e
and ebx, 0xffffff00
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0x20], eax
cmp eax, edi
jbe 0x45da44
mov dword [esp + 0x20], edi
mov edx, dword [esp + 0x78]
push edx
call dword [0x47604c]
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, edi
je 0x45d8fd
mov eax, dword [esp + 0x34]
mov ebx, eax
cmp eax, edi
jne 0x45da7e
push ebp
call dword [0x476050]
add esp, 4
mov eax, 0x1b
jmp 0x45dc81
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45da81
sub eax, edx
lea esi, [eax + 5]
push esi
call dword [0x47604c]
mov edi, eax
add esp, 4
test edi, edi
je 0x45da6a
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
or eax, dword [esp + 0x1c]
lea edx, [edi + 4]
mov dword [edi], eax
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45dab5
mov ecx, dword [esp + 0x74]
push ecx
call dword [0x47604c]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x45dae9
push edi
call dword [0x476050]
push ebp
call dword [0x476050]
lea eax, [ebx + 0x1b]
jmp 0x45dc7e
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x7c]
push esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], edx
mov dword [esp + 0x84], 2
mov dword [esp + 0x88], ebp
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], edi
call fcn.0042a910
mov ecx, dword [esp + 0x78]
add esp, 4
push 0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x64]
push edx
mov edx, dword [0x47a670]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax + 4]
push reloc.WS2_32.dll_accept
mov dword [esp + 0xa4], 9
mov dword [esp + 0xa8], ebx
mov eax, dword [edx + 0x64]
push ecx
call eax
test eax, eax
je 0x45dba2
push ebx
call dword [0x476050]
push edi
call dword [0x476050]
push ebp
call dword [0x476050]
add esp, 0xc
mov eax, 0x1b
jmp 0x45dc81
mov ebp, dword [esp + 0x94]
add ebp, dword [esp + 0x88]
add ebp, dword [esp + 0x7c]
push ebp
call dword [0x47604c]
mov esi, eax
add esp, 4
test esi, esi
jne 0x45dbe8
push ebx
call dword [0x476050]
push edi
call dword [0x476050]
mov eax, dword [esp + 0x20]
push eax
call dword [0x476050]
add esp, 0xc
lea eax, [esi + 0x1b]
jmp 0x45dc81
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
push ecx
push edx
push esi
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x9c]
push ecx
mov dword [esp + 0x24], eax
push edx
add eax, esi
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
push eax
add edx, esi
add edx, dword [esp + 0x30]
push ecx
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push ebp
push esi
push edx
call fcn.00435750
push esi
mov ebp, eax
call dword [0x476050]
push ebx
call dword [0x476050]
add esp, 0x40
push edi
call dword [0x476050]
mov eax, dword [esp + 0x1c]
push eax
call dword [0x476050]
mov eax, ebp
add esp, 8
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004183ef
add esp, 0x94
ret