Function at 0x42c1f0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1242
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x51352c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x23c]
push 0x208
xor esi, esi
mov dword [ebp - 0x398], ebx
push esi
push eax
mov dword [ebp - 0x34], 0x75004c
mov dword [ebp - 0x30], 0x610064
mov dword [ebp - 0x2c], 0x680073
mov dword [ebp - 0x28], 0x5c0069
mov dword [ebp - 0x24], 0x610067
mov dword [ebp - 0x20], 0x65006d
mov dword [ebp - 0x1c], 0x6a002e
mov dword [ebp - 0x18], 0x6f0073
mov dword [ebp - 0x14], 0x6e
call fcn.0047cba0
add esp, 0xc
lea eax, [ebp - 0x23c]
push esi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c6ba
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], 0xf
mov byte [ebp - 0x254], 0
lea eax, [ebp - 0x254]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.0042d2a0
add esp, 8
test eax, eax
je 0x42c684
cmp dword [ebp - 0x244], esi
je 0x42c684
cmp dword [ebp - 0x240], 0x10
lea eax, [ebp - 0x254]
cmovae eax, dword [ebp - 0x254]
push eax
call fcn.0041f7d0
mov edi, eax
add esp, 4
mov dword [ebp - 0x394], edi
test edi, edi
je 0x42c67f
push edi
call fcn.0041f6a0
add esp, 4
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x390], esi
test eax, eax
jle 0x42c676
mov dword [ebp - 0x258], 0xf
mov dword [ebp - 0x25c], 0
mov byte [ebp - 0x26c], 0
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 1
push eax
push esi
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.00420c70
add esp, 0x10
mov edx, dword [ebp - 0x258]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x42c3b7
mov ecx, dword [ebp - 0x26c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c3ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c6da
push edx
push ecx
call fcn.00464e0e
add esp, 8
cmp dword [ebp - 0x274], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], 0
je 0x42c625
cmp dword [ebp - 0x270], 0x10
lea edi, [ebp - 0x284]
lea eax, [ebp - 0x384]
cmovae edi, dword [ebp - 0x284]
mov dword [ebp - 0x388], eax
test edi, edi
jne 0x42c410
xor esi, esi
mov dword [ebp - 0x388], esi
jmp 0x42c4d4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c415
sub ecx, edx
lea eax, [ebp - 0x384]
push 0x80
push eax
lea eax, [ebp - 0x388]
lea esi, [ecx + 1]
push esi
push eax
mov dword [ebp - 0x38c], esi
call fcn.0042be00
add esp, 0x10
push esi
push dword [ebp - 0x388]
push esi
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x42c4c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42c4c0
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push esi
push edi
push 0
push 0xfde9
call ebx
mov esi, eax
lea eax, [ebp - 0x384]
push 0x80
push eax
lea eax, [ebp - 0x388]
push esi
push eax
call fcn.0042be00
add esp, 0x10
push esi
push dword [ebp - 0x388]
push dword [ebp - 0x38c]
push edi
push 0
push 0xfde9
call ebx
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
jne 0x42c6df
mov esi, dword [ebp - 0x388]
mov ebx, dword [ebp - 0x398]
mov eax, dword [0x515e8c]
mov byte [ebp - 4], 4
test al, 1
jne 0x42c517
or eax, 1
mov dword [0x515e8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x4d9cb0
mov dword [0x515e80], 0x4dc6f4
mov dword [0x515e84], eax
mov byte [0x515e88], 0
call fcn.00465218
mov eax, dword [0x515e8c]
add esp, 4
test al, 2
jne 0x42c573
or eax, 2
mov dword [0x515e90], 0x4dc70c
mov dword [0x515e8c], eax
xor eax, eax
push 0x4d9ce0
mov dword [0x515e94], 0x515e80
mov dword [0x515ea4], 2
mov dword [0x515e9c], 0
mov dword [0x515ea0], 0
mov dword [0x515ea8], eax
mov dword [0x515e98], 0x515e90
call fcn.00465218
add esp, 4
mov eax, dword [0x515e90]
mov ecx, 0x515e90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38c], eax
mov byte [ebp - 4], 5
test esi, esi
je 0x42c5aa
test esi, 0xffff0000
jne 0x42c5aa
movzx eax, si
lea ecx, [ebp - 0x38c]
push eax
call fcn.0040dd40
jmp 0x42c5b6
push esi
lea ecx, [ebp - 0x38c]
call fcn.0041cd80
mov eax, dword [ebp - 0x388]
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 7
cmp eax, ecx
je 0x42c5d3
push eax
call fcn.00487118
add esp, 4
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x38c]
push ecx
cmp dword [ebx + 8], eax
je 0x42c5ef
mov ecx, eax
call fcn.0041d7b0
add dword [ebx + 4], 4
jmp 0x42c5f7
push eax
mov ecx, ebx
call fcn.0042bea0
mov edx, dword [ebp - 0x38c]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c619
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x394]
mov esi, dword [ebp - 0x390]
mov edx, dword [ebp - 0x270]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42c663
mov ecx, dword [ebp - 0x284]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c659
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c6da
push edx
push ecx
call fcn.00464e0e
add esp, 8
inc esi
mov dword [ebp - 0x390], esi
cmp esi, dword [ebp - 0x39c]
jl 0x42c342
push edi
call fcn.0041f4e0
add esp, 4
mov esi, 1
mov edx, dword [ebp - 0x240]
cmp edx, 0x10
jb 0x42c6ba
mov ecx, dword [ebp - 0x254]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c6b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c6da
push edx
push ecx
call fcn.00464e0e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046522d
mov esp, ebp
pop ebp
ret 4
call fcn.00486f58
push 0x80
lea eax, [ebp - 0x384]
push eax
push dword [ebp - 0x388]
call fcn.0042be80
add esp, 0xc
call fcn.0040ce30
int3