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

Disassembly:
sub esp, 0x8c8
mov eax, dword [0x1026e004]
xor eax, esp
mov dword [esp + 0x8c4], eax
mov eax, dword [esp + 0x8d4]
push ebx
push ebp
mov ebp, dword [esp + 0x8d4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8e4]
push esi
mov esi, dword [esp + 0x8e4]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x44], eax
push edi
mov al, byte [esi]
mov edi, dword [esp + 0x8e0]
and al, 1
push 0x401
mov byte [esp + 0x17], al
lea eax, [esp + 0x4d4]
push 0
push eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x2c], 0x18
mov dword [esp + 0x34], 0
call fcn.100e19a0
push 0x5c
push edi
mov dword [esp + 0x38], 0x10204e25
mov dword [esp + 0x28], 0
call fcn.100e2630
add esp, 0x14
test eax, eax
jne 0x1016bdb0
push 0x2f
push edi
call fcn.100e2630
add esp, 8
test eax, eax
je 0x1016bdbc
mov ebx, eax
mov dword [esp + 0x24], edi
sub ebx, edi
mov dword [esp + 0x14], ebx
test eax, eax
lea ecx, [eax + 1]
cmove ecx, edi
mov dword [esp + 0x30], ecx
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016bdd0
lea eax, [esp + 0x4d0]
sub ecx, edx
push 0x401
push eax
mov dword [esp + 0x20], ecx
call fcn.10170dc0
add esp, 8
test eax, eax
je 0x1016be08
push str.gethostname___failed__continuing_without_
push ebp
call fcn.1014d4a0
add esp, 8
xor ebx, ebx
jmp 0x1016be1b
lea ebx, [esp + 0x4d0]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1016be12
sub ebx, ecx
test dword [esi], 0x80000
mov dword [esp + 0x2c], ebx
je 0x1016bf01
push 8
lea eax, [esp + 0x6c]
push eax
push ebp
call fcn.10168dd0
add esp, 0xc
test eax, eax
jne 0x1016c254
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0xa0]
push eax
push edi
push ebp
call fcn.10171f30
add esp, 0xc
test eax, eax
jne 0x1016c254
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x30]
push ebp
push dword [esp + 0x44]
call fcn.10171fc0
add esp, 0x18
test eax, eax
jne 0x1016c254
lea eax, [esp + 0x88]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.10171eb0
add esp, 0x10
test eax, eax
jne 0x1016c254
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.10172070
add esp, 0x14
test eax, eax
jne 0x1016c254
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov al, byte [esi + 3]
mov dword [esp + 0x1c], eax
mov al, byte [esi + 2]
mov dword [esp + 0x3c], eax
mov al, byte [esi + 1]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
jmp 0x1016bf90
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0xa0]
push eax
push edi
push ebp
call fcn.10171f30
add esp, 0xc
test eax, eax
jne 0x1016c254
lea ecx, [esp + 0xb8]
push ecx
lea eax, [esi + 4]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10171dc0
lea eax, [esp + 0x7c]
push eax
push edi
push ebp
call fcn.10171e00
add esp, 0x18
test eax, eax
jne 0x1016c254
lea eax, [esp + 0x88]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.10171dc0
mov eax, dword [esi]
add esp, 0xc
mov ebp, dword [esp + 0x18]
and eax, 0xfff7ffff
mov ecx, eax
mov dword [esi], eax
shr ecx, 0x18
mov dword [esp + 0x1c], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x3c], ecx
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x13], 0
mov dword [esp + 0x44], eax
je 0x1016bfb7
mov eax, dword [esp + 0x14]
add eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, eax
add ebx, ebx
mov dword [esp + 0x18], eax
mov ebp, eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
add eax, 0x58
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
add eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
movzx edi, bl
lea edx, [eax + ebp]
mov eax, ebx
shr eax, 8
movzx esi, al
mov eax, ebp
shr eax, 8
movzx ebx, al
mov eax, dword [esp + 0x18]
movzx ebp, al
mov eax, dword [esp + 0x14]
shr eax, 8
movzx eax, al
mov dword [esp + 0x58], eax
movzx eax, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x34], eax
movzx eax, cl
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
movzx eax, al
push eax
mov eax, dword [esp + 0x40]
movzx eax, al
push eax
mov eax, dword [esp + 0x48]
movzx eax, al
push eax
mov eax, dword [esp + 0x50]
movzx eax, al
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [esp + 0x80]
mov eax, edx
push 0
push 0
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
push esi
push edi
push esi
push edi
push 0
push 0
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
mov ecx, dword [esp + 0xb0]
push eax
push ebx
push ebp
push ebx
push ebp
mov eax, ecx
push 0
shr eax, 8
push 0
movzx eax, al
push eax
movzx eax, cl
mov ecx, dword [esp + 0xd8]
push eax
mov eax, dword [esp + 0xd8]
push eax
push ecx
push eax
mov eax, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0xc8]
push 0
push 0
push 0
push 0x58
push eax
push ecx
push eax
push ecx
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 eax, [esp + 0x1b4]
push 0x400
push eax
call fcn.1013e450
add esp, 0xec
cmp eax, 0x3e8
jae 0x1016c11d
movups xmm0, xmmword [esp + 0x88]
movups xmmword [esp + eax + 0xd0], xmm0
movq xmm0, qword [esp + 0x98]
movq qword [esp + eax + 0xe0], xmm0
add eax, 0x18
mov ecx, dword [esp + 0x20]
lea edi, [eax + ecx]
cmp edi, 0x400
jbe 0x1016c147
push str.incoming_NTLM_message_too_big
push dword [esp + 0x50]
call fcn.1014d3d0
add esp, 8
mov eax, 0x1b
jmp 0x1016c254
push ecx
push dword [esp + 0x4c]
lea ecx, [esp + 0xd8]
add eax, ecx
push eax
call fcn.100e1b00
push dword [esp + 0x34]
call dword [0x1026e9ec]
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
lea ebp, [edi + eax]
lea ecx, [ebx + ebp]
mov dword [esp + 0x38], ecx
add ecx, esi
mov dword [esp + 0x34], ecx
cmp ecx, 0x400
jb 0x1016c193
push str.user__domain__host_name_too_big
jmp 0x1016c131
lea ecx, [esp + 0xd0]
add ecx, edi
cmp byte [esp + 0x13], 0
je 0x1016c1b2
shr eax, 1
push eax
push dword [esp + 0x28]
push ecx
call fcn.1016c3d0
jmp 0x1016c1bd
push eax
push dword [esp + 0x28]
push ecx
call fcn.100e1b00
lea eax, [esp + 0xdc]
add esp, 0xc
add eax, ebp
cmp byte [esp + 0x13], 0
je 0x1016c1df
shr ebx, 1
push ebx
push dword [esp + 0x34]
push eax
call fcn.1016c3d0
jmp 0x1016c1ea
push ebx
push dword [esp + 0x34]
push eax
call fcn.100e1b00
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x4dc]
add esp, 0xc
cmp byte [esp + 0x13], 0
lea eax, [esp + eax + 0xd0]
je 0x1016c212
shr esi, 1
push esi
push ecx
push eax
call fcn.1016c3d0
jmp 0x1016c21a
push esi
push ecx
push eax
call fcn.100e1b00
add esp, 0xc
lea eax, [esp + 0xd0]
push dword [esp + 0x34]
push eax
push dword [esp + 0x68]
call fcn.101723e0
mov edi, dword [esp + 0x70]
mov esi, eax
push dword [edi + 0x10]
call dword [0x1026e9ec]
add esp, 0x10
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov eax, esi
mov ecx, dword [esp + 0x8d4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e04a9
add esp, 0x8c8
ret