Function at 0x470c20
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4a8
mov eax, dword [esp + 0x4c8]
mov ebp, dword [esp + 0x4c0]
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x24], 0
mov ebx, dword [eax]
pxor xmm0, xmm0
movq qword [esp + 0x68], xmm0
pxor xmm1, xmm1
movdqu xmmword [esp + 0x58], xmm1
movdqu xmmword [esp + 0x78], xmm1
movq qword [esp + 0x88], xmm0
push 0x5c
push ebp
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
add esp, 8
mov esi, eax
test eax, eax
jne 0x470c8b
push 0x2f
push ebp
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
add esp, 8
mov esi, eax
mov edi, dword [esp + 0x4c4]
mov eax, esi
sub eax, ebp
lea ecx, [esi + 1]
test esi, esi
cmove ecx, ebp
mov edx, 0xa28a10
cmovne edx, ebp
mov dword [esp + 0x20], edx
cmove eax, esi
mov ebp, eax
mov dword [esp], ecx
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
test ebx, 0x80000
jne 0x470fce
mov ebx, dword [esp + 0x4c8]
lea esi, [esp + 0xa8]
push esi
push edi
call fcn.00483a20
add esp, 8
test eax, eax
jne 0x471343
add ebx, 4
lea edi, [esp + 0x78]
push edi
push ebx
push esi
call fcn.004836f0
add esp, 0xc
lea esi, [esp + 0x90]
push esi
push dword [esp + 0x4c8]
call fcn.004838a0
add esp, 8
test eax, eax
jne 0x471343
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x58]
push eax
push ebx
push esi
call fcn.004836f0
add esp, 0xc
mov edx, 0xfff7ffff
mov eax, dword [esp + 0x4c8]
and edx, dword [eax]
mov dword [eax], edx
mov ebx, 0x18
mov ecx, dword [esp + 4]
and ecx, 1
mov esi, 0xb
mov eax, 0x16
cmove eax, esi
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0xc]
shl edi, cl
mov dword [esp + 8], ebp
mov eax, ebp
mov dword [esp + 4], ecx
shl eax, cl
lea ecx, [ebx + 0x58]
movzx esi, cl
mov dword [esp + 0x10], esi
movzx ecx, ch
mov dword [esp + 0x4c], ecx
movzx ecx, bl
mov dword [esp + 0x44], ecx
movzx ecx, bh
mov dword [esp + 0x3c], ecx
lea ecx, [ebx + eax + 0x58]
movzx esi, cl
mov dword [esp + 0x54], esi
movzx esi, ch
mov dword [esp + 0x48], esi
add ecx, edi
movzx esi, cl
mov dword [esp + 0x18], esi
movzx ecx, ch
mov dword [esp + 0x50], ecx
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
mov dword [esp + 0x40], ecx
movzx ecx, dl
mov dword [esp + 0x38], ecx
movzx ecx, dh
mov dword [esp + 0x34], ecx
shr edx, 0x18
movzx ebx, al
mov ecx, edi
movzx ebp, cl
mov dword [esp + 0x14], eax
movzx esi, ah
mov dword [esp + 0x30], edi
movzx ecx, ch
sub esp, 0xec
mov dword [esp + 0xe8], edx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc4], xmm0
movdqu xmmword [esp + 0xb4], xmm0
movss xmm1, dword [0xa289d0]
movups xmmword [esp + 0x4c], xmm1
movss xmm1, dword [0xa289d4]
movups xmmword [esp + 0x2c], xmm1
movdqa xmm1, xmmword [0xa289b0]
movdqu xmmword [esp + 0x1c], xmm1
movdqu xmmword [esp + 0xc], xmm0
mov eax, dword [esp + 0x120]
mov dword [esp + 0xe0], eax
mov edi, dword [esp + 0x128]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x138]
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x134]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0xdc], eax
mov edi, dword [esp + 0x130]
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x84], ebp
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x108]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x140]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x194]
mov dword [esp], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x9c], ebp
mov eax, dword [esp + 0x104]
mov dword [esp + 0xac], eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 8], str.NTLMSSP_c
mov dword [esp + 4], 0x400
call fcn.00409eb0
add esp, 0xec
cmp eax, 0x3e7
ja 0x470faa
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + eax + 0xb8], xmm0
movdqu xmm0, xmmword [esp + 0x58]
movdqu xmmword [esp + eax + 0xa8], xmm0
add eax, 0x18
mov ebx, dword [esp + 0x4bc]
mov ecx, dword [esp + 0x28]
lea esi, [ecx + eax]
cmp esi, 0x401
jb 0x47108b
push str.incoming_NTLM_message_too_big
jmp 0x4710d8
lea eax, [esp + 0x70]
push 8
push eax
push dword [esp + 0x4c4]
call fcn.00413600
add esp, 0xc
test eax, eax
jne 0x471343
mov ebx, dword [esp + 0x4c8]
lea esi, [esp + 0xa8]
push esi
push edi
call fcn.00483a20
add esp, 8
test eax, eax
jne 0x471343
lea edi, [esp + 0x90]
push edi
push esi
push ebp
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.00483b20
add esp, 0x18
test eax, eax
jne 0x471343
mov dword [esp + 8], ebp
mov esi, ebx
lea eax, [ebx + 4]
lea ecx, [esp + 0x58]
push ecx
push eax
lea ebp, [esp + 0x78]
push ebp
push edi
call fcn.00483e00
add esp, 0x10
test eax, eax
jne 0x471343
lea eax, [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
push ecx
push esi
push ebp
push edi
call fcn.00483c60
add esp, 0x14
test eax, eax
jne 0x471343
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x28]
mov edx, dword [esi]
mov ebp, dword [esp + 8]
jmp 0x470d48
mov dword [esp + 0x18], eax
add eax, esp
add eax, 0xa8
mov dword [esp + 0x10], ecx
push ecx
push dword [esp + 0x30]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
push str.vauth_ntlm.c
push 0x2b9
push dword [esp + 0x2c]
call fcn.00404af0
add esp, 0xc
mov eax, dword [esp + 0x30]
add eax, ebp
mov ecx, dword [esp + 0x14]
add ecx, esi
add eax, ecx
cmp eax, 0x400
jb 0x4710eb
push str.user__domain__hostname_too_big
push ebx
call fcn.00442490
add esp, 8
mov eax, 0x1b
jmp 0x471343
mov edx, esi
mov ebx, dword [esp + 0x4cc]
cmp dword [esp + 4], 0
jne 0x47115b
lea eax, [esp + edx]
add eax, 0xa8
mov edi, dword [esp + 8]
push edi
push dword [esp + 0x24]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
add esi, edi
lea eax, [esp + esi]
add eax, 0xa8
mov edi, dword [esp + 0xc]
push edi
push dword [esp + 4]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov edx, esi
add esp, 0xc
add edx, edi
mov dword [esp + edx + 0xa8], 0x4b524f57
mov dword [esp + edx + 0xac], 0x54415453
mov dword [esp + edx + 0xaf], 0x4e4f4954
jmp 0x471301
mov eax, dword [esp + 8]
and eax, 0x7fffffff
je 0x4711ee
mov dword [esp + 0x14], ecx
xor ecx, ecx
cmp eax, 0x10
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
jb 0x4711cb
mov edx, dword [esp + 8]
and edx, 0xf
mov ecx, eax
mov edi, edx
sub ecx, edx
mov edx, dword [esp + 0x10]
add edx, ebx
add edx, esp
add edx, 0xb8
xor ebp, ebp
pxor xmm0, xmm0
movq xmm1, qword [esi + ebp]
movq xmm2, qword [esi + ebp + 8]
punpcklbw xmm1, xmm0
movdqu xmmword [edx + ebp*2 - 0x10], xmm1
punpcklbw xmm2, xmm0
movdqu xmmword [edx + ebp*2], xmm2
add ebp, 0x10
cmp ecx, ebp
jne 0x47119e
test edi, edi
mov ebp, dword [esp + 0x1c]
je 0x4711ea
mov edx, dword [esp + 0x10]
add edx, ebx
add edx, esp
add edx, 0xa9
movzx ebx, byte [esi + ecx]
mov byte [edx + ecx*2 - 1], bl
mov byte [edx + ecx*2], 0
inc ecx
cmp eax, ecx
jne 0x4711d9
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov eax, ebx
and eax, 0x7fffffff
je 0x4712d4
mov dword [esp + 4], edx
add edx, esp
add edx, 0xa8
xor ecx, ecx
cmp eax, 0x10
jb 0x471279
mov esi, dword [esp]
add esi, eax
cmp edx, esi
mov esi, dword [esp]
jae 0x471229
lea esi, [edx + eax*2]
cmp dword [esp], esi
mov esi, dword [esp]
jb 0x471279
mov edi, ebx
and edi, 0xf
mov ecx, eax
sub ecx, edi
lea ebx, [esp + 0xa8]
mov ebp, dword [esp + 4]
add ebx, ebp
add ebx, 0x10
xor ebp, ebp
pxor xmm0, xmm0
movq xmm1, qword [esi + ebp]
movq xmm2, qword [esi + ebp + 8]
punpcklbw xmm1, xmm0
movdqu xmmword [ebx + ebp*2 - 0x10], xmm1
punpcklbw xmm2, xmm0
movdqu xmmword [ebx + ebp*2], xmm2
add ebp, 0x10
cmp ecx, ebp
jne 0x471248
test edi, edi
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
je 0x4712cc
sub ebx, ecx
lea esi, [ecx + 1]
test bl, 1
je 0x471294
mov edi, dword [esp]
movzx ebx, byte [edi + ecx]
mov byte [edx + ecx*2], bl
mov byte [edx + ecx*2 + 1], 0
mov ecx, esi
cmp eax, esi
mov esi, dword [esp]
je 0x4712cc
lea edx, [esp + 0xa8]
mov edi, dword [esp + 4]
add edx, edi
add edx, 3
movzx ebx, byte [esi + ecx]
mov byte [edx + ecx*2 - 3], bl
mov byte [edx + ecx*2 - 2], 0
movzx ebx, byte [esi + ecx + 1]
mov byte [edx + ecx*2 - 1], bl
mov byte [edx + ecx*2], 0
add ecx, 2
cmp eax, ecx
jne 0x4712ab
mov edx, dword [esp + 4]
add edx, dword [esp + 0x30]
movdqa xmm0, xmmword [str.WORKSTATX]
movdqu xmmword [esp + edx + 0xa8], xmm0
mov dword [esp + edx + 0xb8], 0x4f0049
mov word [esp + edx + 0xbc], 0x4e
mov ebx, dword [esp + 0x4cc]
add edx, ebp
push edx
lea eax, [esp + 0xac]
push eax
push ebx
call fcn.00435be0
add esp, 0xc
mov esi, eax
push str.vauth_ntlm.c
push 0x2f6
mov edi, dword [esp + 0x4d0]
push dword [edi + 0x10]
call fcn.00404af0
mov eax, esi
add esp, 0xc
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
add esp, 0x4a8
pop esi
pop edi
pop ebx
pop ebp
ret