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

Disassembly:
sub esp, 0x80
mov edx, dword [esp + 0x88]
push esi
push edi
xor edi, edi
mov eax, edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 0x18], edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10033e12
sub eax, esi
je 0x10033e43
cmp byte [edx], 0x3d
je 0x10033e43
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.10001a80
add esp, 0xc
cmp eax, edi
jne 0x1003427e
cmp dword [esp + 8], edi
jne 0x10033e66
mov edx, dword [esp + 0x8c]
push str.GSSAPI_handshake_failure__empty_security_message__n
push edx
call fcn.1000a240
add esp, 8
pop edi
mov eax, 0x3d
pop esi
add esp, 0x80
ret
mov esi, dword [esp + 0x94]
mov ecx, dword [esi + 4]
mov edx, dword [0x100441cc]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edx + 0x2c]
push edi
push ecx
call eax
test eax, eax
je 0x10033ea6
mov eax, dword [esp + 8]
cmp eax, edi
je 0x10033e98
push eax
call dword [0x1004403c]
add esp, 4
pop edi
mov eax, 0x1b
pop esi
add esp, 0x80
ret
mov edx, dword [esi]
mov eax, dword [0x100441cc]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 8]
push 1
push edx
call ecx
test eax, eax
mov eax, dword [esp + 8]
je 0x10033ede
cmp eax, edi
je 0x10033ed0
push eax
call dword [0x1004403c]
add esp, 4
pop edi
mov eax, 0x38
pop esi
add esp, 0x80
ret
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x4c]
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], edx
mov dword [esp + 0x54], 0xa
mov dword [esp + 0x58], eax
call fcn.100019b0
mov ecx, dword [esi + 4]
add esp, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [0x100441cc]
mov dword [esp + 0x50], eax
push edi
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], edi
mov eax, dword [edx + 0x68]
push ecx
call eax
test eax, eax
je 0x10033f72
mov ecx, dword [esp + 0x8c]
push str.GSSAPI_handshake_failure__empty_security_message__n
push ecx
call fcn.1000a240
mov eax, dword [esp + 0x10]
add esp, 8
cmp eax, edi
je 0x10033f64
push eax
call dword [0x1004403c]
add esp, 4
pop edi
mov eax, 0x3d
pop esi
add esp, 0x80
ret
cmp dword [esp + 0x58], 4
je 0x10033fae
mov edx, dword [esp + 0x8c]
push str.GSSAPI_handshake_failure__invalid_security_data__n
push edx
call fcn.1000a240
mov eax, dword [esp + 0x10]
add esp, 8
cmp eax, edi
je 0x10033f64
push eax
call dword [0x1004403c]
add esp, 4
pop edi
mov eax, 0x3d
pop esi
add esp, 0x80
ret
mov eax, dword [esp + 0x60]
push ebx
mov ebx, dword [eax]
push eax
mov eax, dword [0x100441cc]
mov ecx, dword [eax + 0x40]
call ecx
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x10033fd6
push eax
call dword [0x1004403c]
add esp, 4
mov dword [esp + 0xc], edi
movzx eax, bl
mov dword [esp + 0x24], eax
test eax, reloc.WS2_32.dll_accept
jne 0x10034008
mov edx, dword [esp + 0x90]
push str.GSSAPI_handshake_failure__invalid_security_layer__n
push edx
call fcn.1000a240
add esp, 8
pop ebx
pop edi
mov eax, 0x3d
pop esi
add esp, 0x80
ret
and ebx, 0xffffff00
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0x14], eax
cmp eax, edi
jbe 0x10034021
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x4c]
push ebp
push eax
call dword [0x10044038]
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp ebp, edi
je 0x100341d0
mov eax, dword [esp + 0x24]
mov ebx, eax
cmp eax, edi
je 0x1003406c
lea edx, [eax + 1]
jmp 0x10034050
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10034050
sub eax, edx
lea esi, [eax + 5]
push esi
call dword [0x10044038]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10034086
push ebp
call dword [0x1004403c]
add esp, 4
pop ebp
pop ebx
pop edi
mov eax, 0x1b
pop esi
add esp, 0x80
ret
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
or eax, dword [esp + 0x28]
lea edx, [edi + 4]
mov dword [edi], eax
mov eax, ebx
sub edx, ebx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100340a0
mov edx, dword [esp + 0x4c]
push edx
call dword [0x10044038]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100340dd
push edi
call dword [0x1004403c]
push ebp
call dword [0x1004403c]
add esp, 8
pop ebp
lea eax, [ebx + 0x1b]
pop ebx
pop edi
pop esi
add esp, 0x80
ret
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x6c]
push esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], eax
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], edi
call fcn.100019b0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0xa0]
add esp, 4
mov dword [esp + 0x78], eax
push 0
lea eax, [esp + 0x3c]
push eax
mov eax, dword [0x100441cc]
mov dword [esp + 0x8c], edx
mov edx, dword [ecx + 4]
push reloc.WS2_32.dll_accept
mov dword [esp + 0x94], 9
mov dword [esp + 0x98], ebx
mov ecx, dword [eax + 0x64]
push edx
call ecx
test eax, eax
je 0x10034192
push ebx
call dword [0x1004403c]
push edi
call dword [0x1004403c]
push ebp
call dword [0x1004403c]
add esp, 0xc
pop ebp
pop ebx
pop edi
mov eax, 0x1b
pop esi
add esp, 0x80
ret
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
lea ebp, [eax + edx]
add ebp, dword [esp + 0x6c]
push ebp
call dword [0x10044038]
mov esi, eax
add esp, 4
test esi, esi
jne 0x100341e0
push ebx
call dword [0x1004403c]
push edi
call dword [0x1004403c]
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x1004403c]
add esp, 0xc
pop ebp
pop ebx
pop edi
mov eax, 0x1b
pop esi
add esp, 0x80
ret
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
push edx
push eax
push esi
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
push ecx
mov dword [esp + 0x38], eax
push edx
add eax, esi
push eax
call sub.MSVCR90.dll_memcpy
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa4]
push eax
add edx, esi
add edx, dword [esp + 0x44]
push ecx
push edx
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xb8]
push eax
push ecx
push ebp
push esi
push edx
call fcn.10001d20
push esi
mov ebp, eax
call dword [0x1004403c]
push ebx
call dword [0x1004403c]
add esp, 0x40
push edi
call dword [0x1004403c]
mov eax, dword [esp + 0x20]
push eax
call dword [0x1004403c]
add esp, 8
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x80
ret