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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
push 0x10000
mov edi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x44d91b
mov ecx, dword [esp + 0x88]
push str.Failed_to_allocate_memory_in_client_handshake_loop
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x6c
ret 0xc
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
mov ebp, 0x90312
jmp 0x44d93e
mov ebx, dword [esp + 0x10]
cmp ebp, 0x90312
je 0x44d95a
cmp ebp, 0x80090318
je 0x44d95a
cmp ebp, 0x90320
jne 0x44dd81
mov al, byte [edi + 0x4c]
test al, al
je 0x44d96d
mov edx, dword [esi]
push str.___________________TOP_OF_LOOP___________________
mov ecx, esi
call dword [edx + 0x14]
xor ecx, ecx
cmp ebx, ecx
je 0x44d97f
cmp ebp, 0x80090318
jne 0x44da2e
cmp dword [esp + 0x1c], ecx
je 0x44db00
mov eax, 0x10000
sub eax, ebx
mov dword [esp + 0x18], eax
mov al, byte [edi + 0x4c]
test al, al
je 0x44d9c1
mov edx, dword [esi]
push str.Receiving_more_from_server...
mov ecx, esi
call dword [edx + 0x14]
push esi
push ebp
mov ecx, edi
call fcn.0044ed40
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
push ecx
push str.RemainingBufferSize
mov ecx, esi
call dword [eax + 0x2c]
lea edx, [esp + 0x88]
push esi
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x20]
push eax
lea eax, [ebx + edx]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x9c], 0
call fcn.0044c5b0
test al, al
je 0x44dc75
mov al, byte [edi + 0x4c]
test al, al
je 0x44da0e
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
push eax
push str.receivedCount
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x18]
mov al, byte [edi + 0x4c]
add ebx, ecx
test al, al
mov dword [esp + 0x10], ebx
je 0x44da2c
mov edx, dword [esi]
push ebx
push str.inputBufferCount
mov ecx, esi
call dword [edx + 0x2c]
xor ecx, ecx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x64]
mov dword [esp + 0x6c], eax
mov eax, 2
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], eax
mov al, byte [edi + 0x4c]
test al, al
mov dword [esp + 0x64], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], ecx
je 0x44da94
mov edx, dword [esi]
push str.Calling_InitializeSecurityContext__A_
mov ecx, esi
call dword [edx + 0x14]
xor ecx, ecx
lea eax, [esp + 0x24]
lea edx, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push edx
push eax
mov eax, dword [edi + 0x98]
push ecx
lea edx, [esp + 0x54]
push ecx
push edx
push 0x10
push ecx
push 0xc11c
push ecx
mov ecx, dword [edi + 0x94]
push eax
push ecx
call dword [0x498d30]
mov ebp, eax
mov al, byte [edi + 0x4c]
test al, al
je 0x44daea
push esi
push ebp
mov ecx, edi
call fcn.0044ed40
mov eax, dword [esp + 0x2c]
mov edx, dword [esi]
push eax
push str.OutBufferSize
mov ecx, esi
call dword [edx + 0x2c]
cmp ebp, 0x80090308
jne 0x44db0d
mov edx, dword [esi]
push str.Invalid_token.
mov ecx, esi
call dword [edx + 0x10]
jmp 0x44db33
mov dword [esp + 0x1c], 1
jmp 0x44da2e
cmp ebp, 0x80090326
jne 0x44db23
mov eax, dword [esi]
push str.The_message_received_was_unexpected_or_badly_formatted.
mov ecx, esi
call dword [eax + 0x10]
jmp 0x44db33
test ebp, ebp
je 0x44db3c
cmp ebp, 0x90312
je 0x44db3c
test ebp, ebp
jge 0x44db8c
mov eax, dword [esp + 0x20]
test ah, 0x40
je 0x44db8c
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x44db8c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44db8c
mov al, byte [edi + 0x4c]
test al, al
je 0x44db5f
mov edx, dword [esi]
push str.Sending_handshake_data_to_server.__A_
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push esi
push eax
push ecx
mov ecx, edi
call fcn.0044c620
test al, al
je 0x44dc8b
mov edx, dword [esp + 0x34]
push edx
call dword [0x498d58]
mov dword [esp + 0x34], 0
mov al, byte [edi + 0x4c]
test al, al
je 0x44dbb5
mov ecx, dword [esp + 0x68]
mov eax, dword [esi]
push ecx
push str.InBuffer0_Type
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esp + 0x74]
mov edx, dword [esi]
push eax
push str.InBuffer1_Type
mov ecx, esi
call dword [edx + 0x2c]
cmp ebp, 0x80090318
je 0x44d93e
test ebp, ebp
je 0x44dcd4
jl 0x44dd51
cmp ebp, 0x90320
jne 0x44dc04
mov al, byte [edi + 0x4c]
test al, al
je 0x44dbea
mov edx, dword [esi]
push str.Incomplete_credentials...
mov ecx, esi
call dword [edx + 0x14]
push esi
mov ecx, edi
call fcn.0044eaa0
mov dword [esp + 0x1c], 0
mov ebp, 0x90312
jmp 0x44d93e
cmp dword [esp + 0x74], 5
jne 0x44dc68
mov eax, dword [esp + 0x70]
push eax
sub ebx, eax
mov eax, dword [esp + 0x18]
add ebx, eax
push ebx
push eax
call fcn.0045e330
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov dword [esp + 0x10], eax
mov al, byte [edi + 0x4c]
test al, al
je 0x44d93a
mov edx, dword [esi]
push str.Copied_extra_buffer
mov ecx, esi
call dword [edx + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
push str.cbIoBuffer
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esp + 0x70]
mov edx, dword [esi]
push eax
push str.InBuffer1_Count
mov ecx, esi
call dword [edx + 0x2c]
jmp 0x44d93a
mov dword [esp + 0x10], 0
jmp 0x44d93a
mov edx, dword [esi]
push str.Error_reading_data_from_server_in_handshake_loop
mov ecx, esi
call dword [edx + 0x10]
mov ebp, 0x80090304
jmp 0x44dd85
mov eax, dword [esi]
push str.Error_sending_data_to_server__2__in_handshake_loop
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x498d58]
mov edx, dword [edi + 0x98]
push edx
call dword [0x498d3c]
mov eax, dword [edi + 0x98]
push eax
call fcn.0045cfdf
add esp, 4
mov dword [edi + 0x98], 0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc
cmp dword [esp + 0x74], 5
jne 0x44dd40
mov ebx, dword [esp + 0x80]
mov ecx, edi
push ebx
call fcn.0044d8c0
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0045d8e0
add esp, 4
mov dword [ebx + 8], eax
test eax, eax
jne 0x44dd16
mov edx, dword [esi]
push str.Out_of_memory_in_handshake_loop
mov ecx, esi
call dword [edx + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x6c
ret 0xc
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub ecx, edx
add ecx, esi
push edx
push ecx
push eax
call fcn.0045e330
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov dword [ebx], eax
mov dword [ebx + 4], 2
jmp 0x44ddab
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, edi
call fcn.0044d8c0
jmp 0x44ddab
push ebp
lea edx, [esp + 0x54]
push 0x4822a8
push edx
call fcn.0045d7c4
mov eax, dword [esi]
add esp, 0xc
lea ecx, [esp + 0x50]
push ecx
push str.scRet
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esi]
push str.Aborting_because_of_fatal_error
mov ecx, esi
call dword [edx + 0x10]
test ebp, ebp
jge 0x44ddab
mov eax, dword [edi + 0x98]
push eax
call dword [0x498d3c]
mov ecx, dword [edi + 0x98]
push ecx
call fcn.0045cfdf
add esp, 4
mov dword [edi + 0x98], 0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
test ebp, ebp
pop ebp
pop ebx
setge al
add esp, 0x6c
ret 0xc