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

Disassembly:
sub esp, 0x8b8
mov eax, dword [0x6b278c]
xor eax, esp
mov dword [esp + 0x8b4], eax
mov eax, dword [esp + 0x8c4]
mov ecx, dword [esp + 0x8cc]
mov edx, dword [esp + 0x8d0]
push ebx
mov ebx, dword [esp + 0x8cc]
push ebp
mov ebp, dword [esp + 0x8c8]
push esi
mov dword [esp + 0x18], eax
push edi
mov edi, dword [esp + 0x8cc]
lea eax, [esp + 0xa8]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 4]
xor esi, esi
push 0x400
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x4c5]
and eax, 1
push esi
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x3c], 0x18
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], eax
mov byte [esp + 0x4cc], 0
call fcn.005b4de0
push 0x5c
push ebp
mov dword [esp + 0x3c], 0x640e16
mov dword [esp + 0x38], esi
call fcn.005bcc60
add esp, 0x14
test eax, eax
jne 0x617c3a
push 0x2f
push ebp
call fcn.005bcc60
add esp, 8
test eax, eax
je 0x617c4f
mov ecx, eax
sub ecx, ebp
inc eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov esi, ecx
jmp 0x617c55
mov dword [esp + 0x14], ebp
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x617c58
sub eax, edx
lea edx, [esp + 0x4c0]
mov ebp, eax
push 0x401
push edx
mov dword [esp + 0x20], ebp
call fcn.00615bb0
add esp, 8
test eax, eax
je 0x617c96
push str.gethostname___failed__continuing_without__n
push edi
call fcn.005ef600
add esp, 8
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x617caf
lea eax, [esp + 0x4c0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x617ca0
sub eax, edx
mov dword [esp + 0x10], eax
mov edi, eax
cmp dword [ebx + 0x14], 0
je 0x617d78
mov ecx, dword [esp + 0x20]
push 8
lea eax, [esp + 0x5c]
push eax
push ecx
call fcn.00612400
add esp, 0xc
test eax, eax
jne 0x6180e1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x90]
push edx
push eax
push ecx
call fcn.00615f90
add esp, 0xc
test eax, eax
jne 0x6180e1
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x94]
push eax
push esi
push ecx
push ebp
push edx
call fcn.006160d0
add esp, 0x18
test eax, eax
jne 0x6180e1
lea eax, [esp + 0x60]
push eax
lea ecx, [ebx + 8]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.006162e0
add esp, 0x10
test eax, eax
jne 0x6180e1
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
push ebx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.00616170
add esp, 0x14
test eax, eax
jne 0x6180e1
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], edx
jmp 0x617dee
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x90]
push eax
push ecx
push edx
call fcn.00615f90
add esp, 0xc
test eax, eax
jne 0x6180e1
lea ecx, [esp + 0xa8]
push ecx
lea eax, [ebx + 8]
push eax
lea edx, [esp + 0x98]
push edx
call fcn.00615e70
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x84]
push eax
push ecx
push edx
call fcn.00615eb0
add esp, 0x18
test eax, eax
jne 0x6180e1
lea eax, [esp + 0x60]
push eax
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00615e70
add esp, 0xc
cmp dword [esp + 0x2c], 0
je 0x617e11
lea edx, [esi + esi]
lea eax, [ebp + ebp]
lea ecx, [edi + edi]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov edi, ecx
mov ebp, eax
mov esi, edx
mov edx, dword [esp + 0x30]
lea eax, [edx + 0x58]
mov dword [esp + 0x48], eax
add eax, esi
mov dword [esp + 0x50], eax
add eax, ebp
mov ecx, ebp
and ebp, 0xff
mov dword [esp + 0x3c], ebp
mov ebp, esi
and esi, 0xff
mov dword [esp + 0x40], esi
mov esi, edx
and edx, 0xff
mov dword [esp + 0x44], 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 + 0x54], eax
mov edx, dword [esp + 0x54]
shr edx, 8
and edx, 0xff
push edx
movzx edx, byte [esp + 0x58]
push edx
mov eax, edi
shr eax, 8
and eax, 0xff
push eax
and edi, 0xff
push edi
push eax
mov eax, dword [esp + 0x9c]
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 + 0xb8]
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 + 0xb8]
and ecx, 0xff
push ecx
push edx
push ebp
push eax
push ebp
push eax
mov eax, dword [esp + 0xd4]
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.005f6250
mov edi, eax
add esp, 0xec
cmp edi, 0x3e8
jae 0x617f9a
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 + 0x30]
mov ecx, 0x400
sub ecx, esi
cmp edi, ecx
jae 0x617fc1
mov edx, dword [esp + 0x38]
push esi
push edx
lea eax, [esp + edi + 0xc8]
push eax
call fcn.005b5620
add esp, 0xc
add edi, esi
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x6b3f84]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
lea ebp, [edi + esi]
lea eax, [edx + ebp]
add eax, dword [esp + 0x14]
add esp, 4
cmp eax, 0x400
jb 0x618004
mov ecx, dword [esp + 0x20]
push str.user__domain__host_name_too_big
push ecx
call fcn.005ef690
add esp, 8
mov eax, 0x1b
jmp 0x6180e1
cmp dword [esp + 0x2c], 0
je 0x61801f
lea ecx, [esp + edi + 0xc0]
mov edi, dword [esp + 0x28]
shr esi, 1
call fcn.00617a70
jmp 0x618035
mov edx, dword [esp + 0x28]
push esi
push edx
lea eax, [esp + edi + 0xc8]
push eax
call fcn.005b5620
add esp, 0xc
cmp dword [esp + 0x2c], 0
je 0x618054
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
shr esi, 1
lea ecx, [esp + ebp + 0xc0]
call fcn.00617a70
jmp 0x61806e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + ebp + 0xc8]
push eax
call fcn.005b5620
add esp, 0xc
add ebp, dword [esp + 0x18]
cmp dword [esp + 0x2c], 0
je 0x618094
mov esi, dword [esp + 0x10]
shr esi, 1
lea ecx, [esp + ebp + 0xc0]
lea edi, [esp + 0x4c0]
call fcn.00617a70
jmp 0x6180b1
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x4c4]
push edx
lea eax, [esp + ebp + 0xc8]
push eax
call fcn.005b5620
add esp, 0xc
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
push ecx
push edx
mov edx, dword [esp + 0x28]
add ebp, eax
push ebp
lea ecx, [esp + 0xcc]
push ecx
push edx
call fcn.00616a00
push ebx
mov esi, eax
call fcn.00617aa0
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x8c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b4b30
add esp, 0x8b8
ret