Function at 0x4057e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x84
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x438]
mov esi, 0x43
push ebx
mov ebx, 0x58
sub esp, 0x69c
rep stosd dword es:[edi], eax
mov ecx, 0x43
lea edi, [ebp - 0x228]
mov word [ebp - 0x424], bx
mov word [ebp - 0x434], cx
mov ecx, 0x84
rep stosd dword es:[edi], eax
mov edi, 0x58
mov dword [ebp - 0x438], 0x420041
mov dword [ebp - 0x430], 0x580058
mov dword [ebp - 0x42c], 0x580058
mov dword [ebp - 0x428], 0x580058
mov dword [ebp - 0x228], 0x420041
mov word [ebp - 0x224], si
mov dword [ebp - 0x220], 0x580058
mov dword [ebp - 0x21c], 0x580058
mov dword [ebp - 0x218], 0x580058
mov word [ebp - 0x214], di
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [0x410018]
mov dword [esp + 4], 0x26d
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov ebx, eax
call fcn.0040aa60
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_result__d_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0
mov dword [esp], str.Testtest
call dword [0x410018]
mov dword [esp + 4], 0x26f
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov ebx, eax
call fcn.0040aa60
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_result__d_n
mov dword [esp], eax
call fcn.0040acd0
lea eax, [ebp - 0x438]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [0x410018]
mov dword [esp + 4], 0x271
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
mov ebx, eax
call fcn.0040aa60
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_result__d_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x272
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
lea eax, [ebp - 0x438]
shr eax, 0x10
mov dword [ebp - 0x684], eax
je 0x4061f3
lea eax, [ebp - 0x438]
mov dword [esp + 4], 0xffffffff
mov ebx, str._invalid_
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x405a84
cmp word [ebp - 0x438], 0
je 0x4059ce
lea esi, [esi]
lea esi, [esi]
add eax, 1
cmp word [ebp + eax*2 - 0x438], 0
jne 0x4059c0
mov edx, 0x224c
lea ecx, [ebp - 0x438]
lea edi, [ebp - 0x442]
mov word [ebp - 0x564], dx
lea ebx, [eax - 1]
lea edx, [ebp - 0x562]
mov dword [ebp - 0x67c], ecx
test eax, eax
jle 0x405a57
lea esi, [esi]
cmp edx, edi
ja 0x405a57
add dword [ebp - 0x67c], 2
mov eax, dword [ebp - 0x67c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x406150
ja 0x406130
cmp ax, 9
je 0x4061e0
cmp ax, 0xa
jne 0x406180
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
lea esi, [esi]
nop
lea ebx, [eax - 1]
test eax, eax
jg 0x405a00
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x405a71
mov ebx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x564]
mov dword [esp], eax
call fcn.0040b780
mov ebx, eax
lea eax, [ebp - 0x228]
mov dword [esp + 8], 0x210
mov dword [esp + 4], eax
lea eax, [ebp - 0x438]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 8], ebx
mov ebx, str.Testtest
test eax, eax
mov dword [esp + 4], str.Destination_was_modified:__s_n
sete al
xor edi, edi
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
lea eax, [ebp - 0x438]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [0x410018]
mov dword [esp + 8], ebx
mov esi, eax
lea eax, [ebp - 0x228]
mov dword [esp + 0x14], 0x108
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x278
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x10], edi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_result__d__expected__d__test_case__u_n
call fcn.0040acd0
mov dword [esp + 4], 0x279
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov ecx, dword [ebp - 0x684]
test ecx, ecx
je 0x4060f0
lea eax, [ebp - 0x438]
mov dword [esp + 4], 0xffffffff
mov ebx, str._invalid_
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x405c47
cmp word [ebp - 0x438], 0
je 0x405bae
nop
add eax, 1
cmp word [ebp + eax*2 - 0x438], 0
jne 0x405ba0
mov edx, 0x224c
lea ebx, [ebp - 0x438]
lea esi, [eax - 1]
mov word [ebp - 0x564], dx
lea edx, [ebp - 0x562]
test eax, eax
jle 0x405c1a
lea esi, [esi]
lea eax, [ebp - 0x442]
cmp edx, eax
ja 0x405c1a
add ebx, 2
movzx eax, word [ebx - 2]
cmp ax, 0xd
je 0x405d40
ja 0x405ca0
cmp ax, 9
je 0x405d23
cmp ax, 0xa
jne 0x405cc3
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
lea esi, [eax - 1]
test eax, eax
jg 0x405bd0
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x405c34
mov ebx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x564]
mov dword [esp], eax
call fcn.0040b780
mov ebx, eax
lea eax, [ebp - 0x228]
mov dword [esp + 8], 0x210
mov dword [esp + 4], eax
lea eax, [ebp - 0x438]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov dword [esp + 0xc], edi
test eax, eax
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_output__s__test_case__u_n
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
cmp edi, 1
je 0x405d70
mov ebx, 0x40f224
mov edi, 1
jmp 0x405ac7
cmp ax, 0x22
je 0x405d53
cmp ax, 0x5c
jne 0x405cc3
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x405c13
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x406120
mov ecx, eax
mov byte [edx], 0x5c
add edx, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdef]
mov byte [edx - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdef]
mov byte [edx - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + str.0123456789abcdef]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, esi
mov byte [edx - 2], cl
jmp 0x405c13
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x405c13
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x405c13
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x405c13
mov dword [ebp - 0x67c], 0x102
lea esi, [ebp - 0x66b]
lea edi, [ebp - 0x667]
mov ecx, esi
mov eax, 0x41414141
mov dword [esi], 0x41414141
and edi, 0xfffffffc
lea ebx, [ebp - 0x228]
mov dword [esi + 0x103], 0x41414141
sub ecx, edi
add ecx, 0x107
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x84
lea edi, [ebp - 0x438]
mov eax, dword [ebp - 0x67c]
mov byte [esi + eax], 0
mov eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, 0x84
lea edi, [ebp - 0x228]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x438]
mov dword [esp], esi
mov dword [esp + 4], ecx
call dword [0x410018]
mov dword [esp + 0x10], ebx
mov edi, eax
mov dword [esp + 0x14], 0x104
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
sub esp, 0x18
mov ebx, eax
mov dword [esp + 4], 0x287
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov eax, dword [ebp - 0x67c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
xor eax, eax
cmp edi, ebx
sete al
mov dword [esp + 4], str.Got_unexpected_result__d__expected__d__length__u_n
mov dword [esp], eax
call fcn.0040acd0
mov dword [esp + 4], 0x288
mov dword [esp], str..._wine_dlls_msvcp140_tests_msvcp140.c
call fcn.0040aa60
mov ecx, dword [ebp - 0x684]
test ecx, ecx
je 0x4060b0
lea eax, [ebp - 0x438]
mov dword [esp + 4], 0xffffffff
mov ebx, str._invalid_
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x405f74
cmp word [ebp - 0x438], 0
je 0x405ec1
add eax, 1
cmp word [ebp + eax*2 - 0x438], 0
jne 0x405eb3
mov edx, 0x224c
lea ecx, [ebp - 0x438]
lea ebx, [eax - 1]
mov word [ebp - 0x564], dx
lea edx, [ebp - 0x562]
mov dword [ebp - 0x680], ecx
test eax, eax
jle 0x405f47
lea esi, [esi]
lea esi, [esi]
lea eax, [ebp - 0x442]
cmp edx, eax
ja 0x405f47
add dword [ebp - 0x680], 2
mov eax, dword [ebp - 0x680]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x406003
ja 0x405fe0
cmp ax, 9
je 0x406080
cmp ax, 0xa
jne 0x406020
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
lea esi, [esi]
lea ebx, [eax - 1]
test eax, eax
jg 0x405ef0
mov byte [edx], 0x22
lea eax, [edx + 1]
test ebx, ebx
jle 0x405f61
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x564]
mov dword [esp], eax
call fcn.0040b780
mov ebx, eax
lea eax, [ebp - 0x228]
mov dword [esp + 8], 0x210
mov dword [esp + 4], eax
lea eax, [ebp - 0x438]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov edi, dword [ebp - 0x67c]
mov dword [esp + 8], ebx
test eax, eax
mov dword [esp + 4], str.Got_unexpected_output__s__length__u_n
sete al
mov dword [esp + 0xc], edi
add edi, 1
movzx eax, al
mov dword [esp], eax
call fcn.0040acd0
mov dword [ebp - 0x67c], edi
cmp edi, 0x106
jne 0x405d80
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ax, 0x22
je 0x406093
cmp ax, 0x5c
jne 0x406020
mov edi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], di
jmp 0x405f40
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x405f40
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4060e0
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, ebx
mov byte [edx - 2], cl
jmp 0x405f40
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x405f40
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x405f40
lea eax, [ebp - 0x438]
mov dword [esp], str._04x
mov dword [ebp - 0x680], eax
movzx eax, word [ebp - 0x680]
mov dword [esp + 4], eax
call fcn.00401490
mov ebx, eax
jmp 0x405f74
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x405f40
lea eax, [ebp - 0x438]
mov dword [esp], str._04x
mov dword [ebp - 0x67c], eax
movzx eax, word [ebp - 0x67c]
mov dword [esp + 4], eax
call fcn.00401490
mov ebx, eax
jmp 0x405c47
mov byte [edx], al
add edx, 1
mov eax, esi
jmp 0x405c13
cmp ax, 0x22
je 0x406163
cmp ax, 0x5c
jne 0x406180
mov esi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], si
jmp 0x405a50
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x405a50
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x405a50
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x406220
mov esi, eax
mov byte [edx], 0x5c
add edx, 5
shr si, 0xc
movzx esi, si
movzx ecx, byte [esi + str.0123456789abcdef]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [esi + str.0123456789abcdef]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdef]
and esi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [esi + str.0123456789abcdef]
mov byte [edx - 1], al
mov eax, ebx
mov byte [edx - 2], cl
jmp 0x405a50
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x405a50
lea eax, [ebp - 0x438]
mov dword [esp], str._04x
mov dword [ebp - 0x67c], eax
movzx eax, word [ebp - 0x67c]
mov dword [esp + 4], eax
call fcn.00401490
mov ebx, eax
jmp 0x405a84
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x405a50