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

Disassembly:
sub esp, 0x8b4
mov eax, dword [0x630160]
xor eax, esp
mov dword [esp + 0x8b0], eax
mov eax, dword [esp + 0x8c0]
mov ecx, dword [esp + 0x8c8]
push ebx
push ebp
mov ebp, dword [esp + 0x8c0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8cc]
push esi
mov esi, dword [esp + 0x8c8]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
push edi
and eax, 1
xor edi, edi
push 0x400
mov dword [esp + 0x24], eax
lea eax, [esp + 0x4c1]
lea edx, [esp + 0xa8]
push edi
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x3c], 0x18
mov dword [esp + 0x48], edx
mov dword [esp + 0x34], edi
mov byte [esp + 0x4c8], 0
call fcn.00422f70
push 0x5c
push esi
mov dword [esp + 0x38], 0x62336f
mov dword [esp + 0x40], edi
call fcn.0041cb40
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4ed626
push 0x2f
push esi
call fcn.0041cb40
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4ed639
mov edi, ebx
sub edi, esi
inc ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ebx
jmp 0x4ed63f
mov ebx, esi
mov dword [esp + 0x34], esi
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4ed644
sub esi, ecx
lea ecx, [esp + 0x4bc]
push 0x401
push ecx
mov dword [esp + 0x40], esi
call fcn.004efb10
add esp, 8
test eax, eax
je 0x4ed67c
push str.gethostname___failed__continuing_without_
push ebp
call fcn.004c81e0
add esp, 8
xor ebp, ebp
jmp 0x4ed690
lea ebp, [esp + 0x4bc]
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4ed686
sub ebp, ecx
mov edx, dword [esp + 0x10]
test dword [edx], 0x80000
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
je 0x4ed763
push 8
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.004e3530
add esp, 0xc
test eax, eax
jne 0x4edadc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x8c]
push edx
push eax
push ecx
call fcn.004ee0f0
add esp, 0xc
test eax, eax
jne 0x4edadc
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x90]
push eax
push edi
push ecx
push esi
push ebx
call fcn.004ee1b0
add esp, 0x18
test eax, eax
jne 0x4edadc
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
push edx
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.004ee3e0
add esp, 0x10
test eax, eax
jne 0x4edadc
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.004ee240
add esp, 0x14
test eax, eax
jne 0x4edadc
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
jmp 0x4ed7dd
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x8c]
push edx
push eax
push ecx
call fcn.004ee0f0
add esp, 0xc
test eax, eax
jne 0x4edadc
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0xa4]
push edx
add ebx, 4
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.004edf50
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x80]
push ecx
push edx
push eax
call fcn.004edfe0
add esp, 0x18
test eax, eax
jne 0x4edadc
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x78]
push ebx
push edx
call fcn.004edf50
mov eax, dword [esp + 0x1c]
add esp, 0xc
and dword [eax], 0xfff7ffff
cmp dword [esp + 0x20], 0
je 0x4ed7f6
add edi, edi
add esi, esi
add ebp, ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], ebp
mov ebx, dword [esp + 0x30]
lea eax, [ebx + 0x58]
lea ecx, [edi + eax]
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
mov edx, ebp
and ebp, 0xff
mov dword [esp + 0x4c], ebp
mov ebp, esi
and esi, 0xff
mov dword [esp + 0x40], esi
mov esi, edi
and edi, 0xff
mov dword [esp + 0x44], edi
mov edi, ebx
and ebx, 0xff
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + 3]
push ebx
mov ebx, dword [esp + 0x14]
movzx ebx, byte [ebx + 2]
push ebx
mov ebx, dword [esp + 0x18]
movzx ebx, byte [ebx + 1]
push ebx
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
and ebx, 0xff
push ebx
push 0
push 0
push 0
mov ebx, dword [esp + 0x38]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
shr ebx, 8
and ebx, 0xff
push ebx
mov ebx, dword [esp + 0x58]
shr edx, 8
and edx, 0xff
and ebx, 0xff
push ebx
mov ebx, dword [esp + 0x8c]
push edx
push ebx
push edx
push ebx
push 0
push 0
mov edx, ecx
shr edx, 8
and ecx, 0xff
and edx, 0xff
push edx
push ecx
mov ecx, dword [esp + 0xa0]
shr ebp, 8
and ebp, 0xff
push ebp
push ecx
push ebp
push ecx
mov ecx, eax
push 0
shr ecx, 8
shr esi, 8
shr edi, 8
push 0
and ecx, 0xff
and esi, 0xff
and edi, 0xff
push ecx
and eax, 0xff
push eax
mov eax, dword [esp + 0xc4]
push esi
push eax
push esi
push eax
mov eax, dword [esp + 0xd8]
push 0
push 0
push 0
push 0x58
push edi
push eax
push edi
push eax
push 0
push 0
push 0
push 0x40
push 0
push 0x18
push 0
push 0x18
push 0
push 0
push 0
push 0
push str.NTLMSSP_c
lea edx, [esp + 0x1a0]
push 0x400
push edx
call fcn.004b24f0
add esp, 0xec
cmp eax, 0x3e8
jae 0x4ed992
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + eax + 0xbc], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + eax + 0xc0], edx
mov edx, dword [esp + 0x68]
mov dword [esp + eax + 0xc4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + eax + 0xc8], edx
mov edx, dword [esp + 0x70]
mov dword [esp + eax + 0xcc], ecx
mov dword [esp + eax + 0xd0], edx
add eax, 0x18
mov ecx, dword [esp + 0x30]
lea edi, [eax + ecx]
cmp edi, 0x400
jbe 0x4ed9bd
mov eax, dword [esp + 0x14]
push str.incoming_NTLM_message_too_big
push eax
call fcn.004c8260
add esp, 8
mov eax, 0x1b
jmp 0x4edadc
push ecx
mov ecx, dword [esp + 0x40]
push ecx
lea edx, [esp + eax + 0xc4]
push edx
call fcn.00422ff0
mov eax, dword [esp + 0x34]
push eax
call dword [0x6434cc]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
lea ebx, [edi + esi]
lea ecx, [ebx + ebp]
add ecx, dword [esp + 0x28]
add esp, 0x10
cmp ecx, 0x400
jb 0x4eda14
mov edx, dword [esp + 0x14]
push str.user__domain__host_name_too_big
push edx
call fcn.004c8260
add esp, 8
mov eax, 0x1b
jmp 0x4edadc
cmp dword [esp + 0x20], 0
lea ecx, [esp + edi + 0xbc]
je 0x4eda2f
mov edi, dword [esp + 0x24]
shr esi, 1
call fcn.004ed4a0
jmp 0x4eda3e
mov eax, dword [esp + 0x24]
push esi
push eax
push ecx
call fcn.00422ff0
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x4eda5b
mov edi, dword [esp + 0x34]
mov esi, ebp
shr esi, 1
lea ecx, [esp + ebx + 0xbc]
call fcn.004ed4a0
jmp 0x4eda71
mov edx, dword [esp + 0x34]
push ebp
push edx
lea eax, [esp + ebx + 0xc4]
push eax
call fcn.00422ff0
add esp, 0xc
add ebx, ebp
cmp dword [esp + 0x20], 0
je 0x4eda95
mov esi, dword [esp + 0x18]
shr esi, 1
lea ecx, [esp + ebx + 0xbc]
lea edi, [esp + 0x4bc]
call fcn.004ed4a0
jmp 0x4edab2
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x4c0]
push edx
lea eax, [esp + ebx + 0xc4]
push eax
call fcn.00422ff0
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
add ebx, ecx
push ebx
lea edx, [esp + 0xc0]
push edx
push eax
call fcn.004ee4f0
mov ecx, dword [esp + 0x1c]
push ecx
mov esi, eax
call fcn.004ed4d0
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x8c0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00418878
add esp, 0x8b4
ret