Function at 0x419690
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file
Get common file path
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0326
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x5035d0]
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 edi, ecx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x564], eax
mov dword [ebp - 0x560], eax
mov dword [ebp - 0x498], 0xf
cmp dword [edi + 0x78], 0x10
lea ebx, [edi + 0x64]
mov dword [ebp - 4], eax
jb 0x4196e9
mov ebx, dword [ebx]
mov dword [ebp - 0x49c], 0
mov byte [ebp - 0x4ac], 0
test ebx, ebx
je 0x41985b
call fcn.00468680
mov esi, eax
test esi, esi
je 0x4197c1
push ebx
push 0x2712
push esi
call fcn.004686e0
push 1
push 0x63
push esi
call fcn.004686e0
push 0
push 0x4e2c
push esi
call fcn.004686e0
push 0
push 0x40
push esi
call fcn.004686e0
push 0
push 0x51
push esi
call fcn.004686e0
push 1
push 0x3a
push esi
call fcn.004686e0
add esp, 0x48
push 1
push 0x34
push esi
call fcn.004686e0
push 5
push 0x44
push esi
call fcn.004686e0
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT6.1__Trident_5.0_
push 0x2722
push esi
call fcn.004686e0
push 0x1e
push 0x4e
push esi
call fcn.004686e0
lea eax, [ebp - 0x4ac]
push eax
push 0x2711
push esi
call fcn.004686e0
push 0x41a7a0
push 0x4e2b
push esi
call fcn.004686e0
add esp, 0x48
push 1
push 0x2b
push esi
call fcn.004686e0
push esi
call fcn.004686c0
push esi
call fcn.00468660
add esp, 0x14
mov ecx, dword [ebp - 0x49c]
test ecx, ecx
je 0x41985b
cmp dword [edi + 0xa4], 0
je 0x4198c6
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0xf
mov byte [ebp - 0x47c], 0
cmp dword [ebp - 0x498], 0x10
lea edx, [ebp - 0x47c]
push edx
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x4ac]
push ecx
push eax
call fcn.00409400
lea ecx, [edi + 0x94]
add esp, 0xc
cmp dword [ecx + 0x14], 0x10
jb 0x41982e
mov ecx, dword [ecx]
cmp dword [ebp - 0x468], 0x10
lea eax, [ebp - 0x47c]
push ecx
cmovae eax, dword [ebp - 0x47c]
push eax
call fcn.004a8e47
add esp, 8
test eax, eax
je 0x419888
lea ecx, [ebp - 0x47c]
call fcn.00402900
lea ecx, [ebp - 0x4ac]
call fcn.00402900
mov eax, dword [ebp - 0x560]
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.004a1365
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x468]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4198c6
mov ecx, dword [ebp - 0x47c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4198bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a074
push edx
push ecx
call fcn.004a1326
add esp, 8
push 0x20a
lea eax, [ebp - 0x258]
mov dword [edi + 0x114], 1
push 0
push eax
mov dword [edi + 0x11c], 0
call fcn.004a4df0
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x484], 0
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x480], 7
mov word [ebp - 0x494], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419930
sub ecx, edx
lea eax, [ebp - 0x258]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x494]
call fcn.00408140
mov ecx, dword [edi + 0x5c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x419980
cmp dword [edi + 0x60], 8
lea eax, [edi + 0x4c]
jb 0x419968
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x494]
call fcn.004090e0
mov ebx, dword [ebp - 0x564]
jmp 0x419af5
mov dword [ebp - 0x1c], 0x650052
mov dword [ebp - 0x18], 0x550063
mov dword [ebp - 0x14], 0x6e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x20a
mov ebx, eax
lea eax, [ebp - 0x464]
push 0
push eax
call fcn.004a4df0
mov eax, ebx
mov dword [ebp - 0x4c], 0x25007e
and eax, 0xff000000
mov dword [ebp - 0x48], 0x250073
push eax
mov eax, ebx
mov dword [ebp - 0x44], 0x320030
and eax, 0xff0000
mov dword [ebp - 0x40], 0x250058
push eax
mov eax, ebx
mov dword [ebp - 0x3c], 0x320030
and eax, 0xff00
mov dword [ebp - 0x38], 0x250078
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], 0x320030
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x30], 0x250078
push eax
lea eax, [ebp - 0x464]
mov dword [ebp - 0x2c], 0x320030
push eax
mov dword [ebp - 0x28], 0x2e0078
mov dword [ebp - 0x24], 0x780065
mov dword [ebp - 0x20], 0x65
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x28
mov dword [ebp - 0x46c], 0
xor eax, eax
mov dword [ebp - 0x468], 7
lea ecx, [ebp - 0x464]
mov word [ebp - 0x47c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419a60
sub ecx, edx
lea eax, [ebp - 0x464]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x47c]
call fcn.00408140
mov ebx, 1
cmp dword [ebp - 0x468], 8
lea eax, [ebp - 0x47c]
push dword [ebp - 0x46c]
cmovae eax, dword [ebp - 0x47c]
lea ecx, [ebp - 0x494]
push eax
mov byte [ebp - 4], 3
call fcn.004090e0
mov edx, dword [ebp - 0x468]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x419af5
mov ecx, dword [ebp - 0x47c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419aeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a079
push edx
push ecx
call fcn.004a1326
add esp, 8
cmp dword [ebp - 0x480], 8
lea eax, [ebp - 0x494]
cmovae eax, dword [ebp - 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xb0
lea eax, [ebp - 0x55c]
push 0
push eax
call fcn.004a4df0
add esp, 0xc
mov dword [ebp - 0x55c], 0x4d3c78
push 0
lea eax, [ebp - 0x558]
mov byte [ebp - 4], 4
or ebx, 2
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
lea ecx, [ebp - 0x4f4]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x4f8], 0x60
call fcn.004056c0
mov eax, dword [ebp - 0x55c]
push 8
mov dword [ebp - 4], 6
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x55c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x560], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004a1376
mov esi, eax
add esp, 4
test esi, esi
je 0x419bc4
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 7
call fcn.004a30ba
add esp, 4
mov dword [esi + 4], eax
jmp 0x419bc6
xor esi, esi
lea eax, [ebp - 0x554]
mov dword [ebp - 0x524], esi
mov dword [ebp - 0x54c], eax
lea ecx, [ebp - 0x558]
lea eax, [ebp - 0x550]
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x548], eax
lea eax, [ebp - 0x544]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x540]
mov dword [ebp - 0x538], eax
lea eax, [ebp - 0x534]
mov dword [ebp - 0x52c], eax
lea eax, [ebp - 0x530]
push 0
push 0
mov dword [ebp - 0x528], eax
mov dword [ebp - 0x540], 0
mov dword [ebp - 0x530], 0
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x534], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.0041b7b0
cmp dword [ebp - 0x480], 8
lea eax, [ebp - 0x494]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x494]
cmp dword [ebp - 0x50c], 0
jne 0x419dce
push 0x40
push 0x22
push eax
call fcn.004a34ba
add esp, 0xc
test eax, eax
je 0x419dce
push 1
push eax
lea ecx, [ebp - 0x558]
call fcn.0041b7b0
mov eax, dword [ebp - 0x524]
mov byte [ebp - 4], 9
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push eax
call fcn.00418b10
mov esi, eax
add esp, 4
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x419cf4
mov dword [ebp - 0x520], 0
jmp 0x419d7e
lea eax, [ebp - 0x554]
mov dword [ebp - 0x520], esi
mov dword [ebp - 0x54c], eax
lea eax, [ebp - 0x550]
mov dword [ebp - 0x548], eax
lea eax, [ebp - 0x544]
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x540]
mov dword [ebp - 0x538], eax
lea eax, [ebp - 0x534]
mov dword [ebp - 0x52c], eax
lea eax, [ebp - 0x530]
mov dword [ebp - 0x528], eax
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x540], 0
mov dword [ebp - 0x530], 0
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x534], 0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x419d9a
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x419d9a
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x55c]
xor edx, edx
mov byte [ebp - 4], 8
mov ecx, dword [eax + 4]
mov eax, 4
cmp dword [ebp + ecx - 0x524], edx
cmovne eax, edx
mov dword [ebp + ecx - 0x550], eax
test dword [ebp + ecx - 0x54c], eax
jne 0x41a07e
jmp 0x419e37
mov eax, dword [ebp - 0x55c]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x524], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x550]
and eax, 0x17
mov dword [ebp + ecx - 0x550], eax
mov ecx, dword [ebp + ecx - 0x54c]
and ecx, eax
je 0x419e37
test cl, 4
je 0x419e12
mov esi, str.ios_base::badbit_set
jmp 0x419e22
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.00401780
add esp, 8
push eax
push esi
jmp 0x41a092
cmp dword [ebp - 0x50c], 0
jne 0x419e5b
lea ecx, [ebp - 0x55c]
call fcn.00419420
lea ecx, [ebp - 0x494]
call fcn.00407ef0
jmp 0x41985b
cmp dword [ebp - 0x498], 0x10
lea eax, [ebp - 0x4ac]
push dword [ebp - 0x49c]
cmovae eax, dword [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x55c]
push eax
call fcn.00417dd0
add esp, 0xc
lea esi, [ebp - 0x558]
cmp dword [ebp - 0x50c], 0
jne 0x419e98
xor esi, esi
jmp 0x419ebf
lea ecx, [ebp - 0x558]
call fcn.0041b6f0
push dword [ebp - 0x50c]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.004ac12d
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x558]
call fcn.0041b7b0
test esi, esi
jne 0x419f1d
mov eax, dword [ebp - 0x55c]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x524], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x550]
and eax, 0x17
mov dword [ebp + ecx - 0x550], eax
mov ecx, dword [ebp + ecx - 0x54c]
and ecx, eax
je 0x419f1d
test cl, 4
je 0x419e12
mov esi, str.ios_base::badbit_set
jmp 0x419e22
cmp dword [ebp - 0x480], 8
lea eax, [ebp - 0x494]
cmovae eax, dword [ebp - 0x494]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419e40
cmp dword [ebp - 0x480], 8
lea eax, [ebp - 0x494]
mov ecx, edi
cmovae eax, dword [ebp - 0x494]
push eax
call fcn.0041a0f0
mov ecx, dword [ebp - 0x55c]
mov dword [ebp - 0x560], eax
mov ecx, dword [ecx + 4]
mov dword [ebp + ecx - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, dword [ebp - 0x55c]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0x560], ecx
lea ecx, [ebp - 0x558]
call fcn.00418de0
mov eax, dword [ebp - 0x55c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x55c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x560], eax
lea eax, [ebp - 0x4f4]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004a3392
mov edx, dword [ebp - 0x480]
add esp, 4
cmp edx, 8
jb 0x41a018
mov ecx, dword [ebp - 0x494]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a00e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a0ae
push edx
push ecx
call fcn.004a1326
add esp, 8
mov edx, dword [ebp - 0x498]
xor eax, eax
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 7
mov word [ebp - 0x494], ax
cmp edx, 0x10
jb 0x419866
mov ecx, dword [ebp - 0x4ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a065
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a0b3
push edx
push ecx
call fcn.004a1326
add esp, 8
jmp 0x419866
call fcn.004a8d39
call fcn.004a8d39
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.00401780
add esp, 8
push eax
push str.ios_base::badbit_set
lea ecx, [ebp - 0x478]
call fcn.00401ac0
push 0x4fdb54
lea eax, [ebp - 0x478]
push eax
call fcn.004a513f
call fcn.004a8d39
call fcn.004a8d39
int3