Function at 0x4720c0
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 0x47212b
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, 0x9783e0
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 0x47246e
mov ebx, dword [esp + 0x4c8]
lea esi, [esp + 0xa8]
push esi
push edi
call fcn.00484ec0
add esp, 8
test eax, eax
jne 0x4727e3
add ebx, 4
lea edi, [esp + 0x78]
push edi
push ebx
push esi
call fcn.00484b90
add esp, 0xc
lea esi, [esp + 0x90]
push esi
push dword [esp + 0x4c8]
call fcn.00484d40
add esp, 8
test eax, eax
jne 0x4727e3
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x58]
push eax
push ebx
push esi
call fcn.00484b90
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 [0x9783a0]
movups xmmword [esp + 0x4c], xmm1
movss xmm1, dword [0x9783a4]
movups xmmword [esp + 0x2c], xmm1
movdqa xmm1, xmmword [0x978380]
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.0040b350
add esp, 0xec
cmp eax, 0x3e7
ja 0x47244a
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 0x47252b
push str.incoming_NTLM_message_too_big
jmp 0x472578
lea eax, [esp + 0x70]
push 8
push eax
push dword [esp + 0x4c4]
call fcn.00414aa0
add esp, 0xc
test eax, eax
jne 0x4727e3
mov ebx, dword [esp + 0x4c8]
lea esi, [esp + 0xa8]
push esi
push edi
call fcn.00484ec0
add esp, 8
test eax, eax
jne 0x4727e3
lea edi, [esp + 0x90]
push edi
push esi
push ebp
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.00484fc0
add esp, 0x18
test eax, eax
jne 0x4727e3
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.004852a0
add esp, 0x10
test eax, eax
jne 0x4727e3
lea eax, [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
push ecx
push esi
push ebp
push edi
call fcn.00485100
add esp, 0x14
test eax, eax
jne 0x4727e3
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 0x4721e8
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.00405f90
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 0x47258b
push str.user__domain__hostname_too_big
push ebx
call fcn.00443930
add esp, 8
mov eax, 0x1b
jmp 0x4727e3
mov edx, esi
mov ebx, dword [esp + 0x4cc]
cmp dword [esp + 4], 0
jne 0x4725fb
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 0x4727a1
mov eax, dword [esp + 8]
and eax, 0x7fffffff
je 0x47268e
mov dword [esp + 0x14], ecx
xor ecx, ecx
cmp eax, 0x10
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
jb 0x47266b
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 0x47263e
test edi, edi
mov ebp, dword [esp + 0x1c]
je 0x47268a
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 0x472679
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov eax, ebx
and eax, 0x7fffffff
je 0x472774
mov dword [esp + 4], edx
add edx, esp
add edx, 0xa8
xor ecx, ecx
cmp eax, 0x10
jb 0x472719
mov esi, dword [esp]
add esi, eax
cmp edx, esi
mov esi, dword [esp]
jae 0x4726c9
lea esi, [edx + eax*2]
cmp dword [esp], esi
mov esi, dword [esp]
jb 0x472719
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 0x4726e8
test edi, edi
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
je 0x47276c
sub ebx, ecx
lea esi, [ecx + 1]
test bl, 1
je 0x472734
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 0x47276c
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 0x47274b
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.00437080
add esp, 0xc
mov esi, eax
push str.vauth_ntlm.c
push 0x2f6
mov edi, dword [esp + 0x4d0]
push dword [edi + 0x10]
call fcn.00405f90
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