Function at 0x10086730
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8b8
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0x8b4], eax
mov eax, dword [esp + 0x8bc]
mov ecx, dword [esp + 0x8c4]
mov edx, dword [esp + 0x8cc]
push ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x8cc]
push ebp
push esi
mov esi, dword [esp + 0x8cc]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 4]
push edi
and eax, 1
xor ebx, ebx
push 0x400
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x8e4]
mov dword [esp + 0x58], edx
lea eax, [esp + 0x4c5]
lea edx, [esp + 0xac]
push ebx
push eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x4cc], bl
call fcn.1011e8d0
push 0x5c
push esi
mov dword [esp + 0x3c], 0x101a721a
mov dword [esp + 0x40], ebx
call fcn.1011bb30
mov ebp, eax
add esp, 0x14
cmp ebp, ebx
jne 0x100867f1
push 0x2f
push esi
call fcn.1011bb30
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x10086806
mov ebx, ebp
sub ebx, esi
add ebp, 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
jmp 0x1008680c
mov ebp, esi
mov dword [esp + 0x30], esi
mov edi, ebp
lea ecx, [edi + 1]
mov al, byte [edi]
add edi, 1
test al, al
jne 0x10086811
sub edi, ecx
lea ecx, [esp + 0x4c0]
push 0x401
push ecx
mov dword [esp + 0x44], edi
call fcn.10084bf0
add esp, 8
test eax, eax
je 0x1008684f
mov edx, dword [esp + 0x18]
push str.gethostname___failed__continuing_without__n
push edx
call fcn.100383e0
add esp, 8
xor esi, esi
jmp 0x1008686b
lea esi, [esp + 0x4c0]
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x10086860
sub esi, ecx
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x14], 0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
je 0x1008693c
push 8
lea ecx, [esp + 0x5c]
push ecx
push edx
call fcn.10047610
add esp, 0xc
test eax, eax
jne 0x10086c8c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x90]
push eax
push ecx
push edx
call fcn.10084f80
add esp, 0xc
test eax, eax
jne 0x10086c8c
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x94]
push ecx
push ebx
push edx
push edi
push ebp
call fcn.10085070
add esp, 0x18
test eax, eax
jne 0x10086c8c
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x60]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.10085280
add esp, 0x10
test eax, eax
jne 0x10086c8c
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.10085110
add esp, 0x14
test eax, eax
jne 0x10086c8c
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], edx
jmp 0x100869ac
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x90]
push eax
push ecx
push edx
call fcn.10084f80
add esp, 0xc
test eax, eax
jne 0x10086c8c
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0xa8]
push eax
add ebp, 8
lea ecx, [esp + 0x94]
push ebp
push ecx
call fcn.10084da0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x84]
push edx
push eax
push ecx
call fcn.10084e30
add esp, 0x18
test eax, eax
jne 0x10086c8c
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x7c]
push ebp
push eax
call fcn.10084da0
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x100869c5
add ebx, ebx
add edi, edi
add esi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x24]
lea eax, [edx + 0x58]
lea ecx, [ebx + eax]
lea ebp, [edi + ecx]
mov dword [esp + 0x14], ebp
mov ebp, esi
and esi, 0xff
mov dword [esp + 0x40], esi
mov esi, edi
and edi, 0xff
mov dword [esp + 0x48], edi
mov edi, ebx
and ebx, 0xff
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x24]
and ebx, 0xff
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + 7]
push ebx
mov ebx, dword [esp + 0x14]
movzx ebx, byte [ebx + 6]
push ebx
mov ebx, dword [esp + 0x18]
movzx ebx, byte [ebx + 5]
push ebx
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx + 4]
and ebx, 0xff
push ebx
push 0
push 0
push 0
push 0
push 0
movzx ebx, byte [esp + 0x39]
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, dword [esp + 0x50]
and ebx, 0xff
push ebx
mov ebx, dword [esp + 0x80]
shr ebp, 8
and ebp, 0xff
push ebp
push ebx
push ebp
push ebx
push 0
push 0
movzx ebx, ch
push ebx
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0xa8]
shr esi, 8
and esi, 0xff
push esi
push ecx
push esi
push ecx
push 0
push 0
movzx ecx, ah
push ecx
shr edi, 8
shr edx, 8
and edi, 0xff
and edx, 0xff
and eax, 0xff
push eax
mov eax, dword [esp + 0xd0]
push edi
push eax
push edi
push eax
push 0
mov eax, dword [esp + 0xd8]
push 0
push 0
push 0x58
push edx
push eax
push edx
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 + 0x1a4]
push 0x400
push edx
call fcn.1003e930
mov edi, eax
add esp, 0xec
cmp edi, 0x3e8
jae 0x10086b4f
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [esp + edi + 0xc0], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + edi + 0xc4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + edi + 0xc8], edx
mov edx, dword [esp + 0x74]
mov dword [esp + edi + 0xcc], eax
mov dword [esp + edi + 0xd0], ecx
mov dword [esp + edi + 0xd4], edx
add edi, 0x18
mov esi, dword [esp + 0x24]
mov eax, 0x400
sub eax, esi
cmp edi, eax
jae 0x10086b76
mov ecx, dword [esp + 0x38]
push esi
push ecx
lea edx, [esp + edi + 0xc8]
push edx
call fcn.1011e560
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x34]
push eax
call dword [0x101b9004]
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
lea ebx, [edi + esi]
lea ecx, [ebx + ebp]
add ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, 0x400
jb 0x10086bba
mov edx, dword [esp + 0x18]
push str.user__domain__host_name_too_big
push edx
call fcn.10038470
add esp, 8
mov eax, 0x1b
jmp 0x10086c8c
cmp dword [esp + 0x20], 0
lea ecx, [esp + edi + 0xc0]
je 0x10086bd5
mov edi, dword [esp + 0x28]
shr esi, 1
call fcn.10084f20
jmp 0x10086be4
mov eax, dword [esp + 0x28]
push esi
push eax
push ecx
call fcn.1011e560
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x10086c01
mov edi, dword [esp + 0x30]
mov esi, ebp
shr esi, 1
lea ecx, [esp + ebx + 0xc0]
call fcn.10084f20
jmp 0x10086c17
mov edx, dword [esp + 0x30]
push ebp
push edx
lea eax, [esp + ebx + 0xc8]
push eax
call fcn.1011e560
add esp, 0xc
add ebx, ebp
cmp dword [esp + 0x20], 0
je 0x10086c3b
mov esi, dword [esp + 0x1c]
shr esi, 1
lea ecx, [esp + ebx + 0xc0]
lea edi, [esp + 0x4c0]
call fcn.10084f20
jmp 0x10086c58
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x4c4]
push edx
lea eax, [esp + ebx + 0xc8]
push eax
call fcn.1011e560
add esp, 0xc
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x20]
add ebx, eax
push ebx
lea ecx, [esp + 0xcc]
push ecx
push edx
call fcn.10046c50
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
call fcn.10086650
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x8c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011a380
add esp, 0x8b8
ret