Function at 0x469070
Capabilities:
Get hostname
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x988
mov eax, dword [0x730b1c]
xor eax, esp
mov dword [esp + 0x984], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [esp + 0x4c], eax
mov esi, edx
push edi
mov edi, dword [ebp + 0xc]
mov eax, 0x18
mov dword [esp + 0x24], eax
lea eax, [esp + 0x150]
mov dword [esp + 0x20], eax
push 0x400
mov al, byte [edi]
and al, 1
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x1f], al
lea eax, [esp + 0x585]
push 0
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0
call fcn.00614d30
add esp, 0xc
mov dword [esp + 0x14], 0
push 0x5c
push esi
call fcn.00614850
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x46910f
push 0x2f
push esi
call fcn.00614850
add esp, 8
mov ecx, eax
mov edx, ecx
test ecx, ecx
je 0x469124
mov eax, ecx
sub eax, esi
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
jmp 0x46912a
mov ecx, esi
mov dword [esp + 0x2c], esi
test edx, edx
mov eax, 0x70c6f4
lea edx, [ecx + 1]
cmovne eax, esi
mov dword [esp + 0x38], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469140
mov byte [esp + 0x580], al
sub ecx, edx
push 0x401
lea eax, [esp + 0x584]
mov dword [esp + 0x10], ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esp + 0x980], 0
test eax, eax
je 0x46918f
mov esi, dword [esp + 0x28]
push str.gethostname___failed__continuing_without__n
push esi
call fcn.004511c0
add esp, 8
mov dword [esp + 0x1c], 0
jmp 0x4691c3
lea eax, [esp + 0x580]
push 0x2e
push eax
call fcn.00614850
add esp, 8
test eax, eax
je 0x4691a8
mov byte [eax], 0
lea ecx, [esp + 0x580]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4691b2
mov esi, dword [esp + 0x28]
sub ecx, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [edi]
test eax, 0x80000
je 0x469414
push 8
lea edx, [esp + 0xdc]
mov ecx, esi
call fcn.0044f4d0
add esp, 4
test eax, eax
jne 0x4699d5
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x168]
push eax
call fcn.0042c3c0
add esp, 4
test eax, eax
jne 0x4699d5
mov eax, dword [esp + 0xc]
cmp eax, 0x7a1200
ja 0x4693f9
mov ecx, dword [esp + 0x14]
cmp ecx, 0x7a1200
ja 0x4693f9
add eax, ecx
add eax, eax
mov dword [esp + 0x20], eax
inc eax
push eax
call dword [0x73166c]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x4693f9
mov edi, dword [esp + 0xc]
xor esi, esi
test edi, edi
je 0x46927d
nop
mov eax, dword [esp + 0x2c]
mov ah, byte [esi + eax]
mov dl, ah
mov al, ah
sub al, 0x20
sub dl, 0x61
movzx ecx, al
cmp dl, 0x19
movzx eax, ah
cmova ecx, eax
mov eax, dword [esp + 0x10]
mov byte [eax + esi*2], cl
mov byte [eax + esi*2 + 1], 0
inc esi
cmp esi, edi
jb 0x469250
mov edx, dword [esp + 0x14]
lea esi, [eax + edi*2]
xor ecx, ecx
test edx, edx
je 0x4692a8
mov edi, dword [esp + 0x38]
nop
mov al, byte [edi + ecx]
mov byte [esi + ecx*2], al
mov byte [esi + ecx*2 + 1], 0
inc ecx
cmp ecx, edx
jb 0x469290
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x120]
push ecx
push dword [esp + 0x24]
lea edx, [esp + 0x170]
push eax
push ecx
call fcn.00438cf0
push dword [esp + 0x20]
mov esi, eax
call dword [0x731670]
add esp, 0x14
test esi, esi
jne 0x4699d3
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x120]
push 0x10
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x148], eax
call fcn.00438be0
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x469838
mov eax, dword [esi]
lea ecx, [esp + 0x138]
push 0x10
push ecx
push dword [esi + 4]
mov eax, dword [eax + 4]
call eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov esi, dword [esi]
push dword [eax + 4]
lea eax, [esp + 0xe4]
push eax
mov eax, dword [esi + 8]
call eax
push dword [esi + 0x14]
lea eax, [esp + 0xec]
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 8]
mov eax, dword [esi + 4]
call eax
mov eax, dword [esp + 0x24]
add esp, 0x14
push dword [eax + 8]
lea eax, [esp + 0xe4]
push eax
mov eax, dword [esi + 8]
call eax
push dword [esp + 0x18]
call dword [0x731670]
mov eax, dword [esp + 0xe4]
lea edx, [esp + 0xe4]
movups xmm0, xmmword [esp + 0xec]
mov dword [esp + 0x11c], eax
lea ecx, [esp + 0x12c]
mov eax, dword [esp + 0xe8]
add esp, 0xc
mov dword [esp + 0x114], eax
lea eax, [esp + 0x24]
movups xmmword [esp + 0x100], xmm0
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x38]
call fcn.0042c4a0
add esp, 0xc
test eax, eax
jne 0x4699d5
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
jmp 0x469679
mov esi, 0x1b
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x984]
xor ecx, esp
call fcn.00610840
mov esp, ebp
pop ebp
ret
test eax, 0x200
je 0x469559
push 8
lea edx, [esp + 0xdc]
mov ecx, esi
call fcn.0044f4d0
add esp, 4
test eax, eax
jne 0x4699d5
mov eax, dword [edi + 4]
xorps xmm0, xmm0
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0xd8]
mov ecx, dword [edi + 8]
mov dword [esp + 0x138], eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], edx
movups xmmword [esp + 0x10c], xmm0
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], esi
mov dword [esp + 0x148], edx
call fcn.00507b00
add esp, 4
lea eax, [esp + 0x138]
push 0x10
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00508490
add esp, 0xc
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.00508350
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x128]
push eax
call fcn.0042c3c0
add esp, 0xc
test eax, eax
jne 0x4699d5
lea edx, [esp + 0x58]
lea ecx, [esp + 0x120]
call fcn.0042c240
push 1
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.00507930
lea edx, [esp + 0x68]
lea ecx, [esp + 0x137]
call fcn.0042c240
push 1
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.00507930
lea edx, [esp + 0x78]
lea ecx, [esp + 0x14e]
call fcn.0042c240
push 1
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x10c]
push eax
jmp 0x46966d
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x120]
push eax
mov edx, esi
call fcn.0042c3c0
add esp, 4
test eax, eax
jne 0x4699d5
lea edx, [esp + 0x58]
add edi, 4
lea ecx, [esp + 0x120]
call fcn.0042c240
push 1
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x158]
push eax
push edi
call fcn.00507930
lea edx, [esp + 0x68]
lea ecx, [esp + 0x137]
call fcn.0042c240
push 1
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x170]
push eax
push edi
call fcn.00507930
lea edx, [esp + 0x78]
lea ecx, [esp + 0x14e]
call fcn.0042c240
push 1
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x188]
push eax
push edi
call fcn.00507930
lea eax, [esp + 0x110]
mov edx, esi
push eax
call fcn.0042c2f0
add esp, 0x34
test eax, eax
jne 0x4699d5
lea edx, [esp + 0x58]
lea ecx, [esp + 0xe0]
call fcn.0042c240
push 1
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x108]
push eax
push edi
call fcn.00507930
lea edx, [esp + 0x68]
lea ecx, [esp + 0xf7]
call fcn.0042c240
push 1
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x120]
push eax
push edi
call fcn.00507930
lea edx, [esp + 0x78]
lea ecx, [esp + 0x10e]
call fcn.0042c240
push 1
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x138]
push eax
push edi
call fcn.00507930
mov edi, dword [esp + 0x3c]
add esp, 0x30
cmp byte [esp + 0x1b], 0
je 0x4696a2
mov eax, dword [esp + 0x14]
add eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
add eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
add eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
add eax, 0x58
add eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
lea ecx, [edi + eax]
mov eax, dword [esp + 0x1c]
shr eax, 8
movzx edx, al
mov eax, dword [esp + 0x1c]
movzx esi, al
mov eax, edi
shr eax, 8
movzx edi, al
mov eax, dword [esp + 0xc]
movzx eax, al
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
shr eax, 8
movzx eax, al
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
movzx eax, dl
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [esp + 0x3c], eax
movzx eax, dl
mov edx, dword [esp + 0x30]
mov dword [esp + 0xd8], eax
movzx eax, byte [edx + 3]
push eax
movzx eax, byte [edx + 2]
push eax
movzx eax, byte [edx + 1]
push eax
movzx eax, byte [edx]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [esp + 0x38]
mov eax, ecx
push 0
push 0
push 0
push 0
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
mov ecx, dword [esp + 0x7c]
push eax
push edx
push esi
push edx
push esi
push 0
push 0
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
mov ecx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0xa4]
add ecx, 0x58
push edi
push eax
push edi
push eax
push 0
mov eax, ecx
push 0
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
mov ecx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc8]
push eax
push ecx
push eax
mov eax, dword [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x168]
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 + 0x264]
push 0x400
push eax
call fcn.004472f0
add esp, 0xec
cmp eax, 0x3e8
jae 0x469817
movups xmm0, xmmword [esp + 0x100]
movups xmmword [esp + eax + 0x180], xmm0
movq xmm0, qword [esp + 0x110]
movq qword [esp + eax + 0x190], xmm0
add eax, 0x18
mov ecx, dword [esp + 0x24]
lea edi, [eax + ecx]
cmp edi, 0x400
jbe 0x469851
push str.incoming_NTLM_message_too_big
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004512d0
add esp, 8
mov eax, 0x1b
pop edi
pop esi
mov ecx, dword [esp + 0x984]
xor ecx, esp
call fcn.00610840
mov esp, ebp
pop ebp
ret
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x188]
add eax, ecx
push eax
call fcn.00614e90
add esp, 0xc
push dword [esp + 0x34]
call dword [0x731670]
mov esi, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0xc]
add esi, edi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
lea eax, [esi + ecx]
add eax, edx
mov dword [esp + 0x3c], eax
cmp eax, 0x400
jb 0x46989e
push str.user__domain__host_name_too_big
jmp 0x46982b
cmp byte [esp + 0x1b], 0
lea edi, [esp + edi + 0x180]
je 0x469946
shr dword [esp + 0x14], 1
mov esi, 0
je 0x4698db
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov al, byte [ecx + esi]
mov byte [edi + esi*2], al
mov byte [edi + esi*2 + 1], 0
inc esi
cmp esi, edx
jb 0x4698c3
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x180]
mov eax, ecx
add edi, dword [esp + 0x20]
mov esi, 0
shr eax, 1
mov dword [esp + 0xd8], eax
je 0x469918
mov edx, dword [esp + 0x2c]
mov ecx, eax
nop
mov al, byte [esi + edx]
mov byte [edi + esi*2], al
mov byte [edi + esi*2 + 1], 0
inc esi
cmp esi, ecx
jb 0x469900
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x180]
add eax, ecx
mov ecx, 0
add esi, eax
shr edx, 1
je 0x469995
mov al, byte [esp + ecx + 0x580]
mov byte [esi + ecx*2], al
mov byte [esi + ecx*2 + 1], 0
inc ecx
cmp ecx, edx
jb 0x469930
jmp 0x469995
push dword [esp + 0x14]
push dword [esp + 0x3c]
push edi
call fcn.00614e90
add esp, 0xc
lea eax, [esp + 0x180]
add eax, esi
push dword [esp + 0xc]
push dword [esp + 0x30]
push eax
call fcn.00614e90
add esp, 0xc
lea eax, [esp + 0x580]
lea ecx, [esp + 0x180]
push dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
add eax, esi
add eax, ecx
push eax
call fcn.00614e90
add esp, 0xc
push dword [esp + 0x50]
lea eax, [esp + 0x184]
mov ecx, 0x710818
push dword [esp + 0x58]
push dword [esp + 0x44]
push eax
call fcn.004265f0
mov edi, dword [esp + 0x40]
mov esi, eax
push dword [edi + 0xc]
call dword [0x731670]
add esp, 0x14
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov eax, esi
mov ecx, dword [esp + 0x98c]
pop edi
pop esi
xor ecx, esp
call fcn.00610840
mov esp, ebp
pop ebp
ret