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

Disassembly:
push 0xffffffffffffffff
push 0x50b810
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5894dc]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [eax], 0
call fcn.004028c0
mov ecx, dword [esp + 0x78]
call fcn.004028c0
mov ecx, dword [esp + 0x7c]
call fcn.004028c0
mov ecx, dword [esp + 0x80]
call fcn.004028c0
mov ecx, dword [esp + 0x84]
call fcn.004028c0
mov ecx, dword [esp + 0x88]
call fcn.00404150
mov ebp, dword [esp + 0x8c]
mov ecx, ebp
call fcn.00404150
lea ecx, [esp + 0x14]
call fcn.00404230
mov edx, dword [esp + 0x6c]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [edi + 0x108]
mov dword [esp + 0x70], 0
call fcn.004cc690
lea ecx, [esp + 0x14]
call fcn.0046fb70
cmp eax, 0x3c
jae 0x49bee1
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.TYPE2_message_is_not_long_enough.
call edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.00404a00
xor al, al
jmp 0x49c0b5
lea ecx, [esp + 0x14]
call fcn.004e81e0
lea ecx, [esp + 0x34]
mov ebx, eax
call fcn.00408020
push 7
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
call fcn.00407e00
push str.NTLMSSP
lea ecx, [esp + 0x38]
call fcn.004095a0
test al, al
jne 0x49bf3b
push str.Expected_TYPE2_message_to_begin_with_NTLMSSP.
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0
call fcn.00408310
jmp 0x49bec9
cmp dword [ebx + 8], 2
lea esi, [ebx + 8]
je 0x49bf4b
push str.TYPE2_message_type_not_equal_to_2
jmp 0x49bf1d
mov eax, dword [esp + 0x74]
push eax
add esi, 4
push esi
lea ecx, [esp + 0x1c]
call fcn.0046fb70
push eax
push ebx
mov ecx, edi
call fcn.0049bda0
test al, al
jne 0x49bf90
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.Failed_to_get_target_name_from_TYPE2_message.
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0
call fcn.00408310
jmp 0x49bec9
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x70]
add esi, 8
push 8
mov dword [edx], ecx
mov ecx, dword [esp + 0x8c]
add esi, 4
push esi
call fcn.004050c0
push ebp
add esi, 0x10
push esi
lea ecx, [esp + 0x1c]
call fcn.0046fb70
push eax
push ebx
mov ecx, edi
call fcn.0049bd40
test al, al
jne 0x49bfd3
push str.Failed_to_get_target_info_data_from_TYPE2_message.
jmp 0x49bf1d
mov ecx, ebp
call fcn.0046fb70
cmp eax, 4
jb 0x49c094
mov ecx, ebp
call fcn.004e81e0
mov ecx, ebp
mov esi, eax
call fcn.0046fb70
mov ebp, eax
movzx eax, word [esi]
test ax, ax
je 0x49c094
cmp ebp, 4
jb 0x49c094
movzx ecx, word [esi + 2]
sub ebp, 4
cmp ebp, ecx
jb 0x49c094
cmp ax, 1
lea edi, [esi + 4]
jne 0x49c024
mov ebx, dword [esp + 0x78]
jmp 0x49c068
cmp ax, 2
jne 0x49c03e
mov ebx, dword [esp + 0x7c]
mov ecx, ebx
call fcn.004028c0
movzx eax, word [esi + 2]
shr eax, 1
push eax
jmp 0x49c076
cmp ax, 3
jne 0x49c05b
mov ebx, dword [esp + 0x80]
mov ecx, ebx
call fcn.004028c0
movzx ecx, word [esi + 2]
shr ecx, 1
push ecx
jmp 0x49c076
cmp ax, 4
jne 0x49c07e
mov ebx, dword [esp + 0x84]
mov ecx, ebx
call fcn.004028c0
movzx edx, word [esi + 2]
shr edx, 1
push edx
push edi
mov ecx, ebx
call fcn.004032b0
movzx eax, word [esi + 2]
sub ebp, eax
lea esi, [esi + eax + 4]
movzx eax, word [esi]
test ax, ax
jne 0x49c001
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 0
call fcn.00408310
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.00404a00
mov al, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x28