Function at 0x45ded0
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 0x45df30
sub eax, esi
je 0x45df61
cmp byte [ecx], 0x3d
je 0x45df61
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x14]
push edx
push ecx
call fcn.00435b30
add esp, 0xc
cmp eax, edi
jne 0x45e321
cmp dword [esp + 0x10], edi
jne 0x45df76
push str.GSSAPI_handshake_failure__empty_security_message__n
push ebp
call fcn.00428a80
mov eax, 0x3d
jmp 0x45e31e
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 0x45dfa7
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x476050]
add esp, 4
mov eax, 0x1b
jmp 0x45e321
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 0x45dfd8
mov eax, dword [esp + 0x10]
push eax
call dword [0x476050]
add esp, 4
mov eax, 0x38
jmp 0x45e321
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.0042afd0
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 0x45e05e
push str.GSSAPI_handshake_failure__empty_security_message__n
push ebp
call fcn.00428a80
mov eax, dword [esp + 0x18]
push eax
call dword [0x476050]
add esp, 0xc
mov eax, 0x3d
jmp 0x45e321
cmp dword [esp + 0x48], 4
je 0x45e088
push str.GSSAPI_handshake_failure__invalid_security_data__n
push ebp
call fcn.00428a80
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x476050]
add esp, 0xc
mov eax, 0x3d
jmp 0x45e321
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 0x45e0cb
push str.GSSAPI_handshake_failure__invalid_security_layer__n
push ebp
call fcn.00428a80
mov eax, 0x3d
jmp 0x45e31e
and ebx, 0xffffff00
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0x20], eax
cmp eax, edi
jbe 0x45e0e4
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 0x45df9d
mov eax, dword [esp + 0x34]
mov ebx, eax
cmp eax, edi
jne 0x45e11e
push ebp
call dword [0x476050]
add esp, 4
mov eax, 0x1b
jmp 0x45e321
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e121
sub eax, edx
lea esi, [eax + 5]
push esi
call dword [0x47604c]
mov edi, eax
add esp, 4
test edi, edi
je 0x45e10a
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 0x45e155
mov ecx, dword [esp + 0x74]
push ecx
call dword [0x47604c]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x45e189
push edi
call dword [0x476050]
push ebp
call dword [0x476050]
lea eax, [ebx + 0x1b]
jmp 0x45e31e
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.0042afd0
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 0x45e242
push ebx
call dword [0x476050]
push edi
call dword [0x476050]
push ebp
call dword [0x476050]
add esp, 0xc
mov eax, 0x1b
jmp 0x45e321
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 0x45e288
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 0x45e321
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.00435df0
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.00418a8f
add esp, 0x94
ret