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

Disassembly:
sub esp, 0x8d0
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x8cc], eax
mov eax, dword [esp + 0x8d4]
mov ecx, dword [esp + 0x8dc]
mov edx, dword [esp + 0x8e4]
push ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8e4]
push ebp
push esi
mov esi, dword [esp + 0x8e4]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
push edi
and eax, 1
xor edi, edi
push 0x400
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x8fc]
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x4dd]
lea edx, [esp + 0xc4]
push edi
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], 0x18
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], edi
mov byte [esp + 0x4e4], 0
call sub.MSVCR100.dll_memset
mov ebp, dword [sym.imp.MSVCR100.dll_strchr]
push 0x5c
push esi
mov dword [esp + 0x38], 0x1024cb20
mov dword [esp + 0x3c], edi
call ebp
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x101b5a81
push 0x2f
push esi
call ebp
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x101b5a94
mov edi, ebx
sub edi, esi
inc ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
jmp 0x101b5a9a
mov ebx, esi
mov dword [esp + 0x2c], esi
mov esi, ebx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x101b5aa0
sub esi, ecx
lea ecx, [esp + 0x4d8]
push 0x401
push ecx
mov dword [esp + 0x44], esi
call fcn.101b3d00
add esp, 8
test eax, eax
je 0x101b5adc
mov edx, dword [esp + 0x10]
push str.gethostname___failed__continuing_without__n
push edx
call fcn.1017f0b0
add esp, 8
xor ebp, ebp
jmp 0x101b5af0
lea ebp, [esp + 0x4d8]
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x101b5ae6
sub ebp, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x1c], ebp
test eax, 0x80000
je 0x101b5bc7
mov edx, dword [esp + 0x10]
push 8
lea ecx, [esp + 0x5c]
push ecx
push edx
call fcn.101af320
add esp, 0xc
test eax, eax
jne 0x101b6002
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x90]
push eax
push ecx
push edx
call fcn.101b2580
add esp, 0xc
test eax, eax
jne 0x101b6002
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x94]
push ecx
push edi
push edx
push esi
push ebx
call fcn.101b2620
add esp, 0x18
test eax, eax
jne 0x101b6002
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
lea ecx, [ebx + 4]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.101b2850
add esp, 0x10
test eax, eax
jne 0x101b6002
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.101b26e0
add esp, 0x14
test eax, eax
jne 0x101b6002
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
jmp 0x101b5cfb
test eax, 0x200
je 0x101b5c84
mov ecx, dword [esp + 0x10]
push 8
lea eax, [esp + 0x5c]
push eax
push ecx
call fcn.101af320
add esp, 0xc
test eax, eax
jne 0x101b6002
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], ecx
push 0x10
lea ecx, [esp + 0x7c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x88], edx
push ecx
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
call fcn.101b3120
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xb4]
push eax
push ecx
push edx
call fcn.101b2580
add esp, 0x18
test eax, eax
jne 0x101b6002
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xb0]
push edx
jmp 0x101b5cf3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xa8]
push eax
push ecx
push edx
call fcn.101b2580
add esp, 0xc
test eax, eax
jne 0x101b6002
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0xc0]
push eax
add ebx, 4
lea ecx, [esp + 0xac]
push ebx
push ecx
call fcn.101b2340
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x84]
push edx
push eax
push ecx
call fcn.101b2430
add esp, 0x18
test eax, eax
jne 0x101b6002
lea edx, [esp + 0x60]
push edx
push ebx
lea eax, [esp + 0x80]
push eax
call fcn.101b2340
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x101b5d14
add edi, edi
add esi, esi
add ebp, ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], ebp
mov ebx, dword [esp + 0x34]
lea eax, [ebx + 0x58]
lea ecx, [edi + eax]
lea edx, [esi + ecx]
mov dword [esp + 0x18], edx
mov edx, ebp
and ebp, 0xff
mov dword [esp + 0x40], ebp
mov ebp, esi
and esi, 0xff
mov dword [esp + 0x50], esi
mov esi, edi
and edi, 0xff
mov dword [esp + 0x4c], edi
mov edi, ebx
and ebx, 0xff
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x14]
movzx ebx, byte [ebx + 3]
push ebx
mov ebx, dword [esp + 0x18]
movzx ebx, byte [ebx + 2]
push ebx
mov ebx, dword [esp + 0x1c]
movzx ebx, byte [ebx + 1]
push ebx
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx]
and ebx, 0xff
push ebx
push 0
push 0
push 0
mov ebx, dword [esp + 0x34]
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 + 0x54]
shr edx, 8
and edx, 0xff
and ebx, 0xff
push ebx
mov ebx, dword [esp + 0x80]
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 + 0xb0]
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 + 0xcc]
push esi
push eax
push esi
push eax
mov eax, dword [esp + 0xe4]
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 + 0x1bc]
push 0x400
push edx
call fcn.10188a50
add esp, 0xec
cmp eax, 0x3e8
jae 0x101b5eb0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + eax + 0xd8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + eax + 0xdc], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + eax + 0xe0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + eax + 0xe4], edx
mov edx, dword [esp + 0x74]
mov dword [esp + eax + 0xe8], ecx
mov dword [esp + eax + 0xec], edx
add eax, 0x18
mov ecx, dword [esp + 0x34]
lea edi, [eax + ecx]
cmp edi, 0x400
jbe 0x101b5edb
mov eax, dword [esp + 0x10]
push str.incoming_NTLM_message_too_big
push eax
call fcn.1017f190
add esp, 8
mov eax, 0x1b
jmp 0x101b6002
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
lea edx, [esp + eax + 0xe0]
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x3c]
push eax
call dword [0x10263bb0]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x4c]
lea ebx, [edi + esi]
lea ecx, [ebx + ebp]
add ecx, dword [esp + 0x2c]
add esp, 0x10
cmp ecx, 0x400
jb 0x101b5f32
mov edx, dword [esp + 0x10]
push str.user__domain__host_name_too_big
push edx
call fcn.1017f190
add esp, 8
mov eax, 0x1b
jmp 0x101b6002
cmp dword [esp + 0x20], 0
lea ecx, [esp + edi + 0xd8]
je 0x101b5f4d
mov edi, dword [esp + 0x24]
shr esi, 1
call fcn.101b2550
jmp 0x101b5f5c
mov eax, dword [esp + 0x24]
push esi
push eax
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x101b5f79
mov edi, dword [esp + 0x2c]
mov esi, ebp
shr esi, 1
lea ecx, [esp + ebx + 0xd8]
call fcn.101b2550
jmp 0x101b5f8f
mov edx, dword [esp + 0x2c]
push ebp
push edx
lea eax, [esp + ebx + 0xe0]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add ebx, ebp
cmp dword [esp + 0x20], 0
je 0x101b5fb3
mov esi, dword [esp + 0x1c]
shr esi, 1
lea ecx, [esp + ebx + 0xd8]
lea edi, [esp + 0x4d8]
call fcn.101b2550
jmp 0x101b5fd0
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x4dc]
push edx
lea eax, [esp + ebx + 0xe0]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add ebx, dword [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.101908c0
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
call fcn.101b58e0
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x8dc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101ce9e2
add esp, 0x8d0
ret