Function at 0x422dc0
Capabilities:
Contain obfuscated stackstrings
Enumerate files on windows
Get common file path

Disassembly:
mov eax, 0x193c
call fcn.00431c10
mov eax, dword [0x43b5c8]
mov ecx, dword [0x43b588]
push ebx
mov edx, dword [0x43b590]
push ebp
push esi
push edi
push str.Function_Entry
push 0x43d2ec
push 4
push 0xa6d
push eax
mov eax, dword [0x43b58c]
push ecx
push edx
mov ebp, 1
xor ebx, ebx
push eax
push ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
call fcn.0040ee40
mov eax, dword [esp + 0x1974]
add esp, 0x24
cmp eax, ebx
je 0x42377b
cmp dword [esp + 0x1954], 0x105
jl 0x42377b
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x168]
rep stosd dword es:[edi], eax
mov ecx, 0x43
lea edi, [esp + 0x2a8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [0x4453d8], ebp
je 0x422e85
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x422e79
xor ecx, ecx
cmp al, 4
sete cl
mov dword [0x4453d4], ecx
jmp 0x422e7f
mov dword [0x4453d4], ebx
mov dword [0x4453d8], ebp
cmp dword [0x4453d4], ebp
jne 0x422e9e
lea edx, [esp + 0x24]
mov esi, 0x1e
push edx
push 0xff
jmp 0x422ead
lea eax, [esp + 0x24]
mov esi, 0x64
push eax
push 0x1ff
call fcn.00411de0
mov ecx, dword [esp + 0x2c]
add esp, 8
add esi, ecx
cmp esi, ebx
mov dword [esp + 0x1c], esi
jl 0x42376d
cmp esi, 0x1388
jg 0x42376d
lea edx, [esp + 0x2a8]
push 0x10e
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x422efb
mov esi, 0x80000b2b
mov ecx, 0xa94
mov eax, esi
jmp 0x423787
lea edi, [esp + 0x2a8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebp
jl 0x42375f
cmp ecx, 0x104
jg 0x42375f
mov byte [esp + ecx + 0x2a8], 0x5c
inc ecx
mov byte [esp + ecx + 0x2a8], 0x2a
inc ecx
mov byte [esp + ecx + 0x2a8], 0x2e
inc ecx
mov byte [esp + ecx + 0x2a8], 0x64
inc ecx
mov byte [esp + ecx + 0x2a8], 0x6c
inc ecx
cmp esi, ebx
mov byte [esp + ecx + 0x2a8], 0x6c
mov byte [esp + ecx + 0x2a9], al
jle 0x423669
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x168]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x168]
lea ecx, [esp + 0x2a8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
je 0x42360e
mov cl, byte [esp + 0x194]
test cl, cl
je 0x42361f
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
cmp dword [esp + 0x18], 0x1388
jg 0x4235d3
mov eax, dword [esp + 0x168]
test al, 0x10
jne 0x42359d
test ah, 1
jne 0x42359d
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x194]
inc edx
test eax, eax
mov dword [esp + 0x18], edx
je 0x42359d
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x3b8]
mov edx, dword [0x43b588]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x3c]
push str.Function_Entry
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x108]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0xa4]
rep stosd dword es:[edi], eax
mov ecx, dword [0x43b5ac]
mov eax, dword [0x43b590]
push 0x43d2ec
push 4
push 0x75d
push ecx
mov ecx, dword [0x43b58c]
push edx
push eax
push ecx
push 1
call fcn.0040ee40
lea edx, [esp + 0xc4]
add esp, 0x24
test edx, edx
je 0x4230d2
mov byte [esp + 0xa0], 0x4d
mov byte [esp + 0xa1], 0x69
mov byte [esp + 0xa2], 0x63
mov byte [esp + 0xa3], 0x72
mov byte [esp + 0xa4], 0x6f
mov byte [esp + 0xa5], 0x73
mov byte [esp + 0xa6], 0x6f
mov byte [esp + 0xa7], 0x66
mov byte [esp + 0xa8], 0x74
mov byte [esp + 0xa9], 0
xor esi, esi
jmp 0x423104
mov eax, dword [0x43b5ac]
mov ecx, dword [0x43b588]
mov edx, dword [0x43b590]
push 0x65
push 0x763
push eax
mov eax, dword [0x43b58c]
push ecx
mov esi, 0x80000b03
push edx
push eax
push esi
push esi
push 3
call fcn.0040fdd0
add esp, 0x24
mov ecx, dword [0x43b5ac]
mov edx, dword [0x43b588]
mov eax, dword [0x43b590]
push esi
push str.Function_Exit
push str._s__Rc__0x_08X
push 4
push 0x783
push ecx
mov ecx, dword [0x43b58c]
push edx
push eax
push ecx
push 1
call fcn.0040ee40
add esp, 0x28
mov ecx, 0x4e2
xor eax, eax
lea edi, [esp + 0x5c4]
lea edx, [esp + 0x3b8]
push 0x20a
rep stosd dword es:[edi], eax
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x42359d
lea edi, [esp + 0x3b8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
cmp edx, 1
jl 0x42359d
cmp edx, 0x104
jg 0x42359d
mov byte [esp + edx + 0x3b8], 0x5c
lea edi, [esp + 0x194]
or ecx, 0xffffffff
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jl 0x42359d
cmp ecx, 0x104
jg 0x42359d
lea eax, [ecx + edx]
lea esi, [eax + 1]
cmp esi, 0x209
ja 0x42359d
lea edi, [esp + edx + 0x3b8]
mov edx, ecx
lea esi, [esp + 0x194]
push str.version32.dll
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x3bc], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x42359d
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetFileVersionInfoA
push ebx
call ebp
push str.GetFileVersionInfoSizeA
push ebx
mov esi, eax
call ebp
push str.VerQueryValueA
push ebx
mov edi, eax
call ebp
test esi, esi
mov ebp, eax
je 0x423605
test edi, edi
je 0x423605
test ebp, ebp
je 0x423605
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3b8]
push eax
push ecx
call edi
mov edx, eax
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x423571
cmp edx, 0x1388
ja 0x423571
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x5c4]
push eax
push edx
lea edx, [esp + 0x3c0]
push ecx
push edx
call esi
test eax, eax
je 0x423571
mov eax, dword [0x43b5b4]
mov ecx, dword [0x43b588]
mov edx, dword [0x43b590]
push str.Function_Entry
push 0x43d2ec
push 4
push 0x80a
push eax
mov eax, dword [0x43b58c]
push ecx
push edx
push eax
push 1
call fcn.0040ee40
lea ecx, [esp + 0x60]
add esp, 0x24
test ecx, ecx
je 0x42335a
mov byte [esp + 0x3c], 0x5c
mov byte [esp + 0x3d], 0x56
mov byte [esp + 0x3e], 0x61
mov byte [esp + 0x3f], 0x72
mov byte [esp + 0x40], 0x46
mov byte [esp + 0x41], 0x69
mov byte [esp + 0x42], 0x6c
mov byte [esp + 0x43], 0x65
mov byte [esp + 0x44], 0x49
mov byte [esp + 0x45], 0x6e
mov byte [esp + 0x46], 0x66
mov byte [esp + 0x47], 0x6f
mov byte [esp + 0x48], 0x5c
mov byte [esp + 0x49], 0x54
mov byte [esp + 0x4a], 0x72
mov byte [esp + 0x4b], 0x61
mov byte [esp + 0x4c], 0x6e
mov byte [esp + 0x4d], 0x73
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x61
mov byte [esp + 0x50], 0x74
mov byte [esp + 0x51], 0x69
mov byte [esp + 0x52], 0x6f
mov byte [esp + 0x53], 0x6e
mov byte [esp + 0x54], 0
xor esi, esi
jmp 0x42338d
mov edx, dword [0x43b5b4]
mov eax, dword [0x43b588]
mov ecx, dword [0x43b590]
push 0x65
push 0x810
push edx
mov edx, dword [0x43b58c]
push eax
mov esi, 0x80000b03
push ecx
push edx
push esi
push esi
push 3
call fcn.0040fdd0
add esp, 0x24
mov eax, dword [0x43b5b4]
mov ecx, dword [0x43b588]
mov edx, dword [0x43b590]
push esi
push str.Function_Exit
push str._s__Rc__0x_08X
push 4
push 0x84f
push eax
mov eax, dword [0x43b58c]
push ecx
push edx
push eax
push 1
call fcn.0040ee40
add esp, 0x28
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x5cc]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x20], edi
call ebp
test eax, eax
je 0x42356b
mov ecx, dword [esp + 0x10]
cmp ecx, 4
jb 0x42356b
mov esi, dword [esp + 0x2c]
mov eax, edi
shr ecx, 2
je 0x423411
mov edx, esi
cmp byte [edx], 9
je 0x423428
inc eax
add edx, 4
cmp eax, ecx
jb 0x423404
xor eax, eax
cmp ecx, edi
jbe 0x423426
mov edx, esi
cmp byte [edx], 0
je 0x423428
inc eax
add edx, 4
cmp eax, ecx
jb 0x423419
xor eax, eax
mov eax, dword [esi + eax*4]
mov edx, eax
and eax, 0xffff
shr edx, 0x10
push edx
push eax
push str._04x_04x
lea eax, [esp + 0x110]
push 0x64
push eax
call fcn.00409b70
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x50]
push 0x64
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00423800
mov dl, byte [esp + 0x120]
mov al, byte [esp + 0x121]
mov cl, byte [esp + 0x122]
mov byte [esp + 0x68], dl
mov dl, byte [esp + 0x123]
mov byte [esp + 0x69], al
mov al, byte [esp + 0x124]
mov byte [esp + 0x6a], cl
mov cl, byte [esp + 0x125]
mov byte [esp + 0x6b], dl
mov dl, byte [esp + 0x126]
mov byte [esp + 0x6c], al
mov al, byte [esp + 0x127]
add esp, 0x1c
mov byte [esp + 0x51], cl
mov byte [esp + 0x52], dl
lea ecx, [esp + 0x10]
mov byte [esp + 0x53], al
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x5cc]
push eax
push ecx
mov dword [esp + 0x20], 0
call ebp
test eax, eax
je 0x423571
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x423571
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, ecx
je 0x423579
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa0]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x30]
not ecx
dec ecx
add eax, esi
push ecx
push edx
push eax
call fcn.00430f00
add esp, 0xc
test eax, eax
je 0x423561
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
dec ecx
sub edx, ecx
cmp esi, edx
jb 0x423516
jmp 0x423579
mov dword [esp + 0x14], 1
jmp 0x423579
mov dword [esp + 0x14], edi
jmp 0x423579
mov dword [esp + 0x14], 0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42359d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jge 0x423637
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x194]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x168]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4235d3
mov al, byte [esp + 0x194]
test al, al
jne 0x422fae
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov ecx, eax
sub ecx, esi
cmp ecx, 0x32
jl 0x423669
cmp dword [esp + 0x18], 0x1388
jg 0x423669
cmp eax, dword [esp + 0x1c]
jl 0x422f64
jmp 0x423669
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x42359d
mov esi, 0x80000b2b
mov ecx, 0xab2
mov eax, esi
jmp 0x423787
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x80000b2b
mov ecx, 0xab8
mov eax, esi
jmp 0x423787
mov edx, dword [esp + 0x1954]
mov ecx, dword [esp + 0x1950]
lea eax, [esp + 0x194]
push edx
push eax
push ecx
call fcn.004099d0
mov edx, dword [esp + 0x34]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
jmp 0x4237b2
mov eax, dword [esp + 0x1c]
xor ebp, ebp
test eax, eax
jle 0x423703
mov ebx, eax
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x168]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x168]
lea ecx, [esp + 0x2a8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x423711
mov al, byte [esp + 0x194]
test al, al
je 0x42371f
mov eax, dword [esp + 0x168]
test al, 0x10
jne 0x4236c6
test ah, 1
jne 0x4236c6
inc ebp
cmp ebp, ebx
jge 0x423734
lea edx, [esp + 0x168]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x194]
push edx
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4236f4
mov al, byte [esp + 0x194]
test al, al
jne 0x4236b1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebp, ebx
jl 0x423679
mov esi, 0x80000b2b
mov ecx, 0xb2d
mov eax, esi
jmp 0x423787
mov esi, 0x80000b2b
mov ecx, 0xaff
mov eax, esi
jmp 0x423787
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 0x80000b2b
mov ecx, 0xb05
mov eax, esi
jmp 0x423787
mov eax, dword [esp + 0x1954]
mov edx, dword [esp + 0x1950]
lea ecx, [esp + 0x194]
push eax
push ecx
push edx
call fcn.004099d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
jmp 0x4237b2
mov esi, 0x80000b2b
mov ecx, 0xa9b
mov eax, esi
jmp 0x423787
mov esi, 0x80000b2b
mov ecx, 0xa8c
mov eax, esi
jmp 0x423787
mov esi, 0x80000b03
mov ecx, 0xa73
mov eax, esi
mov edx, dword [0x43b588]
push 0x65
push ecx
mov ecx, dword [0x43b5c8]
push ecx
mov ecx, dword [0x43b590]
push edx
mov edx, dword [0x43b58c]
push ecx
push edx
push eax
push esi
push 3
call fcn.0040fdd0
add esp, 0x24
mov eax, dword [0x43b5c8]
mov ecx, dword [0x43b588]
mov edx, dword [0x43b590]
push esi
push str.Function_Exit
push str._s__Rc__0x_08X
push 4
push 0xb35
push eax
mov eax, dword [0x43b58c]
push ecx
push edx
push eax
push 1
call fcn.0040ee40
add esp, 0x28
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x193c
ret