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

Disassembly:
sub esp, 0x8b8
mov eax, dword [0x10074020]
xor eax, esp
mov dword [esp + 0x8b4], eax
mov eax, dword [esp + 0x8bc]
mov edx, dword [esp + 0x8cc]
mov ecx, dword [esp + 0x8c4]
push ebx
mov ebx, dword [esp + 0x8cc]
push ebp
push esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8dc]
push edi
mov edi, dword [esp + 0x8d0]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 4]
xor esi, esi
push 0x400
mov dword [esp + 0x58], edx
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x4c5]
lea ecx, [esp + 0xac]
and eax, 1
push esi
push edx
mov dword [esp + 0x40], 0x18
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
mov byte [esp + 0x4cc], 0
call sub.ntdll.dll_memset
push 0x5c
xor ebp, ebp
push edi
mov dword [esp + 0x40], 0x10066a41
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], esi
call sub.ntdll.dll_strchr
add esp, 0x14
test eax, eax
jne 0x100369d0
push 0x2f
push edi
call sub.ntdll.dll_strchr
add esp, 8
test eax, eax
je 0x100369e5
mov ecx, eax
sub ecx, edi
inc eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov esi, ecx
jmp 0x100369eb
mov dword [esp + 0x1c], edi
mov eax, edi
test eax, eax
je 0x10036a01
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100369f2
sub eax, edx
mov dword [esp + 0x10], eax
mov ebp, eax
lea eax, [esp + 0x4c0]
push 0x401
push eax
call fcn.10032b20
add esp, 8
test eax, eax
je 0x10036a34
mov ecx, dword [esp + 0x18]
push str.gethostname___failed__continuing_without__n
push ecx
call fcn.1000e5e0
add esp, 8
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x10036a4f
lea eax, [esp + 0x4c0]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10036a40
sub eax, edx
mov dword [esp + 0x14], eax
mov edi, eax
cmp dword [ebx + 0x14], 0
je 0x10036b18
mov edx, dword [esp + 0x18]
push edx
call fcn.100296e0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.100296e0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x98]
push ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.10033080
add esp, 0x14
test eax, eax
jne 0x10036e88
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x94]
push edx
push esi
push eax
push ebp
push ecx
call fcn.100331c0
add esp, 0x18
test eax, eax
jne 0x10036e88
lea edx, [esp + 0x60]
push edx
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.10033410
add esp, 0x10
test eax, eax
jne 0x10036e88
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.100332a0
add esp, 0x14
test eax, eax
jne 0x10036e88
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
jmp 0x10036b8e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x90]
push edx
push eax
push ecx
call fcn.10033080
add esp, 0xc
test eax, eax
jne 0x10036e88
lea edx, [esp + 0xa8]
push edx
lea eax, [ebx + 8]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.10032f60
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x84]
push ecx
push edx
push eax
call fcn.10032fa0
add esp, 0x18
test eax, eax
jne 0x10036e88
lea ecx, [esp + 0x60]
push ecx
lea eax, [ebx + 8]
push eax
lea edx, [esp + 0x80]
push edx
call fcn.10032f60
add esp, 0xc
cmp dword [esp + 0x30], 0
je 0x10036bb1
lea eax, [esi + esi]
lea ecx, [ebp + ebp]
lea edx, [edi + edi]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, edx
mov ebp, ecx
mov esi, eax
mov edx, dword [esp + 0x34]
lea eax, [edx + 0x58]
mov dword [esp + 0x5c], eax
add eax, esi
mov dword [esp + 0x48], eax
add eax, ebp
mov ecx, ebp
and ebp, 0xff
mov dword [esp + 0x3c], ebp
mov ebp, esi
and esi, 0xff
mov dword [esp + 0x50], esi
mov esi, edx
and edx, 0xff
mov dword [esp + 0x58], edx
movzx edx, byte [ebx + 7]
push edx
movzx edx, byte [ebx + 6]
push edx
movzx edx, byte [ebx + 5]
push edx
movzx edx, byte [ebx + 4]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x58]
shr edx, 8
and edx, 0xff
push edx
movzx edx, byte [esp + 0x5c]
push edx
mov eax, edi
shr eax, 8
and eax, 0xff
push eax
and edi, 0xff
push edi
push eax
mov eax, dword [esp + 0x94]
push edi
push 0
push 0
mov edx, eax
shr edx, 8
movzx eax, al
and edx, 0xff
push edx
push eax
mov eax, dword [esp + 0x9c]
shr ecx, 8
and ecx, 0xff
push ecx
push eax
push ecx
push eax
mov eax, dword [esp + 0xcc]
push 0
mov ecx, eax
shr ebp, 8
shr esi, 8
push 0
and ebp, 0xff
shr ecx, 8
and esi, 0xff
movzx edx, al
mov eax, dword [esp + 0xc8]
and ecx, 0xff
push ecx
push edx
push ebp
push eax
push ebp
push eax
mov eax, dword [esp + 0xe8]
push 0
push 0
push 0
push 0x58
push esi
push eax
push esi
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 eax, [esp + 0x1a4]
push 0x400
push eax
call fcn.10012fe0
mov edi, eax
add esp, 0xec
cmp edi, 0x3e8
jae 0x10036d3a
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + edi + 0xc0], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + edi + 0xc4], edx
mov edx, dword [esp + 0x70]
mov dword [esp + edi + 0xc8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + edi + 0xcc], ecx
mov dword [esp + edi + 0xd0], edx
mov dword [esp + edi + 0xd4], eax
add edi, 0x18
mov esi, dword [esp + 0x34]
mov ecx, 0x400
sub ecx, esi
cmp edi, ecx
jae 0x10036d61
mov edx, dword [esp + 0x38]
push esi
push edx
lea eax, [esp + edi + 0xc8]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10036d7b
push eax
call dword [0x10074008]
add esp, 4
mov dword [esp + 0x28], 0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
lea ebp, [edi + esi]
add edx, ebp
add edx, dword [esp + 0x14]
cmp edx, 0x400
jb 0x10036db0
mov eax, dword [esp + 0x18]
push str.user__domain__host_name_too_big
push eax
call fcn.1000e670
add esp, 8
mov eax, 0x1b
jmp 0x10036e88
cmp dword [esp + 0x30], 0
je 0x10036dcb
lea ecx, [esp + edi + 0xc0]
mov edi, dword [esp + 0x2c]
shr esi, 1
call fcn.10036830
jmp 0x10036de1
mov ecx, dword [esp + 0x2c]
push esi
push ecx
lea edx, [esp + edi + 0xc8]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x30], 0
je 0x10036e00
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
shr esi, 1
lea ecx, [esp + ebp + 0xc0]
call fcn.10036830
jmp 0x10036e1a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + ebp + 0xc8]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
add ebp, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
je 0x10036e40
mov esi, dword [esp + 0x14]
shr esi, 1
lea ecx, [esp + ebp + 0xc0]
lea edi, [esp + 0x4c0]
call fcn.10036830
jmp 0x10036e5d
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x4c4]
push ecx
lea edx, [esp + ebp + 0xc8]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
add ebp, dword [esp + 0x14]
push eax
push ecx
push ebp
lea eax, [esp + 0xcc]
push eax
push 0
call fcn.10033a50
push ebx
mov esi, eax
call fcn.10031e20
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x8c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10060d08
add esp, 0x8b8
ret