Function at 0x57c360
Capabilities:
Check if file exists
Delete file
Get common file path
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5ba7f3
mov eax, dword fs:[0]
push eax
sub esp, 0x6d4
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x6d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x6e8]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x6f0], ebx
mov dword [esp + 0x80], ebx
push 0x208
mov byte [esp + 0x6f4], 2
call fcn.00588eb5
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
cmp edi, ebx
je 0x57d4e5
push 0x208
call fcn.00588eb5
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x57d4e5
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, str.Verify360ini
lea ecx, [esp + 0x50]
call fcn.0057d770
push eax
lea eax, [esp + 0x5c]
push eax
mov ebx, str..ini
mov byte [esp + 0x6f8], 3
call fcn.00406330
mov eax, dword [eax]
add esp, 8
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57c44c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6f0], 2
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57c474
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x6f0], 4
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
mov dword [esp + 0x50], 0
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
push 0x911c78
push str.http:__dl.360safe.com_gf_v_u.cab
lea ecx, [esp + 0x2e4]
push 0x104
push ecx
call fcn.0058a8f0
lea edx, [esp + 0x2ec]
push edx
lea ebx, [esp + 0x34]
call fcn.0057dec0
add esp, 0x14
push 0
mov esi, eax
call fcn.0058870b
add esp, 4
mov edi, esi
mov dword [esp + 0x3c], edi
test esi, esi
jne 0x57c51e
push str.http:__dl.360safe.com_gf_vDefault.cab
call fcn.0057dec0
add esp, 4
push esi
mov edi, eax
call fcn.0058870b
add esp, 4
mov dword [esp + 0x3c], edi
test edi, edi
jne 0x57c51e
push edi
jmp 0x57c704
push 0x408
lea eax, [esp + 0x2e0]
push 0
push eax
mov byte [esp + 0xd0], 0xbe
mov byte [esp + 0xd1], 0xac
mov byte [esp + 0xd2], 0x19
mov byte [esp + 0xd3], 0x88
mov byte [esp + 0xd4], 9
mov byte [esp + 0xd5], 0x25
mov byte [esp + 0xd6], 0xbb
mov byte [esp + 0xd7], 0xcc
call fcn.0058e300
add esp, 0xc
lea ecx, [esp + 0xc4]
push 8
push ecx
lea esi, [esp + 0x2e4]
call fcn.0057e340
mov ebx, dword [esp + 0x28]
push ebx
push edi
mov eax, esi
call fcn.0057e410
add esp, 0x10
mov dword [esp + 0x14], 0
lea edx, [esp + 0x14]
push edx
push 0x5e77a0
push 0x17
push 0
mov byte [esp + 0x700], 7
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x5e7780
call esi
test eax, eax
jge 0x57c610
cmp eax, 0x800401f0
jne 0x57c5f2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x14]
push eax
push 0x5e77a0
push 0x17
push 0
push 0x5e7780
call esi
test eax, eax
jge 0x57c610
mov byte [esp + 0x6f0], 6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x57c60a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
jmp 0x57c704
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x57c63c
test edi, edi
jne 0x57c63c
push ebx
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
jne 0x57c663
push 0x8007000e
call fcn.00406af0
mov esi, dword [esp + 0x3c]
push esi
mov edi, ebx
call fcn.00571190
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
jne 0x57c667
test ebx, ebx
je 0x57c667
push 0x8007000e
call fcn.00406af0
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x6f0], 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x8c]
push edx
push edi
push eax
mov eax, dword [ecx + 0x104]
call eax
test eax, eax
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
setl bl
call edi
test bl, bl
je 0x57c6a9
mov byte [esp + 0x6f0], 6
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x57c6f9
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x6f0], 9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0xb4]
call eax
test eax, eax
jge 0x57c861
mov byte [esp + 0x6f0], 7
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x57c6eb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6f0], 6
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x57c703
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
mov byte [esp + 0x6f4], 5
call fcn.0058870b
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
add esp, 4
lea eax, [esp + 0xd4]
push eax
push 0x104
call esi
mov edx, str.360ini
lea ecx, [esp + 0x48]
call fcn.0057d770
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ebx, str..cab
mov byte [esp + 0x6f8], 0x17
call fcn.00406330
mov eax, dword [eax]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 8
push eax
lea edx, [esp + 0xd8]
push edx
call ebx
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57c78b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6f0], 5
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57c7b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x38]
cmp dword [edi - 0xc], 0
je 0x57d0ac
lea ecx, [esp + 0xd4]
push ecx
push edi
call fcn.0057da20
add esp, 8
test eax, eax
jne 0x57d12f
lea edx, [esp + 0xd4]
push edx
push str.http:__dl.360safe.com_gf_360ini.cab
call fcn.0057da20
add esp, 8
test eax, eax
jne 0x57d12f
add ebp, 0xfffffff0
mov byte [esp + 0x6f0], 4
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x57c81c
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x6f0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57c840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
call fcn.0058870b
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call fcn.0058870b
mov edx, dword [esp + 0x38]
add esp, 4
push edx
jmp 0x57d4f8
mov dword [esp + 0x28], ebx
mov byte [esp + 0x6f0], 0xa
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x57c6eb
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jge 0x57c8ab
mov byte [esp + 0x6f0], 9
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x57c6d3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x57c6d3
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jl 0x57c88a
lea ecx, [esp + 0x20]
call fcn.00406560
mov byte [esp + 0x6f0], 0xb
xor esi, esi
cmp dword [esp + 0x58], ebx
jle 0x57cb69
lea ecx, [ecx]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x6f0], 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x57cb42
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x84]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x57cb42
cmp dword [esp + 0x84], 1
jne 0x57cb42
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x4c], ecx
cmp eax, ebx
je 0x57c957
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push 0x5e7790
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
cmp ecx, ebx
jne 0x57c968
mov byte [esp + 0x6f0], 0xb
jmp 0x57cb4e
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x6f0], 0xf
mov eax, dword [ecx]
mov eax, dword [eax + 0xac]
lea edx, [esp + 0x1c]
push edx
push ecx
call eax
test eax, eax
jge 0x57c9bb
mov ecx, dword [esp + 0x40]
push ecx
call edi
mov edx, dword [esp + 0x1c]
push edx
call edi
mov byte [esp + 0x6f0], 0xc
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x57cb42
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x57cb42
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
test eax, eax
jge 0x57c9ff
mov ecx, dword [esp + 0x40]
push ecx
call edi
mov edx, dword [esp + 0x1c]
push edx
call edi
mov byte [esp + 0x6f0], 0xc
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x57cb42
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x57cb42
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
push eax
call fcn.00406c20
lea ecx, [esp + 0x54]
push ecx
mov ecx, str.Version
mov byte [esp + 0x6f4], 0x10
call fcn.0040ffc0
test eax, eax
jne 0x57ca56
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x88]
push edx
call fcn.00406c20
lea edi, [esp + 0x20]
mov byte [esp + 0x6f0], 0x11
call fcn.00406500
lea ecx, [esp + 0x88]
jmp 0x57cb08
lea eax, [esp + 0x54]
push eax
mov ecx, str.ModuleUrl
call fcn.0040ffc0
test eax, eax
jne 0x57ca8e
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00406c20
lea edi, [esp + 0x38]
mov byte [esp + 0x6f0], 0x12
call fcn.00406500
lea ecx, [esp + 0x7c]
jmp 0x57cb08
lea edx, [esp + 0x54]
push edx
mov ecx, str.LoadType
call fcn.0040ffc0
test eax, eax
jne 0x57cacc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x48]
push eax
call fcn.00406c20
mov eax, dword [eax]
push 0xa
push ebx
push eax
call fcn.0058d255
add esp, 0xc
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], eax
call fcn.004066e0
jmp 0x57cb13
lea ecx, [esp + 0x54]
push ecx
mov ecx, str.ExportPath
call fcn.0040ffc0
test eax, eax
jne 0x57cb13
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xc4]
push edx
call fcn.00406c20
lea edi, [esp + 0x18]
mov byte [esp + 0x6f0], 0x13
call fcn.00406500
lea ecx, [esp + 0xc4]
call fcn.004066e0
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x54]
call fcn.004066e0
mov eax, dword [esp + 0x40]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
mov byte [esp + 0x6f0], 0xc
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x57cb42
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x6f0], 0xb
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x57cb5a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc esi
cmp esi, dword [esp + 0x58]
jl 0x57c8e0
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
cmp dword [ebp - 0xc], ebx
je 0x57cbec
push 0x104
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebx
je 0x57cbec
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x57cbb7
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
call fcn.00406c20
mov eax, dword [eax]
push eax
push ebx
mov dword [esp + 0x4c], 1
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x57cbb7
mov bl, 1
jmp 0x57cbb9
xor bl, bl
test byte [esp + 0x44], 1
je 0x57cbe8
mov eax, dword [esp + 0xc4]
and dword [esp + 0x44], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57cbe8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x57cc1f
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0x5e76fc
lea ecx, [esp + 0xc4]
call fcn.0057d770
mov eax, dword [eax]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0xc4]
call fcn.004066e0
mov edx, esi
lea edi, [esp + 0x18]
call fcn.00406be0
mov edx, str.360ini
lea ecx, [esp + 0x48]
call fcn.0057d770
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ebx, str..dll
mov byte [esp + 0x6f8], 0x14
call fcn.00406330
mov eax, dword [eax]
add esp, 8
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x57cc83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6f0], 0xb
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57ccab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebp, ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
push 0x5de2e4
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x6f8], 0x16
call fcn.005178a9
push 0x5d1ab4
lea edx, [esp + 0x70]
push edx
call fcn.005178a9
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x60]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0xd0], esp
mov esi, esp
mov dword [esp + 0x28], eax
call fcn.00406580
add eax, 0x10
mov dword [esi], eax
call fcn.0057e5b0
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov edi, eax
cmp eax, 4
jb 0x57cd34
mov edi, 4
xor esi, esi
cmp edi, ebp
ja 0x57ce09
mov ebx, dword [esp + 0x34]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x57d009
lea eax, [esp + 0x90]
push eax
mov eax, ebx
call fcn.0057e2b0
add esp, 4
test eax, eax
jne 0x57ce3b
lea edi, [esp + 0x6c]
call fcn.005178ff
lea edi, [esp + 0x5c]
call fcn.005178ff
mov byte [esp + 0x6f0], 0xa
mov eax, dword [esp + 0x1c]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57cda2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6f0], 9
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x57cdba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6f0], 7
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x57cdd2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6f0], 6
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x57cdea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6f0], 5
mov eax, dword [esp + 0x3c]
push eax
call fcn.0058870b
mov ebp, dword [esp + 0x1c]
jmp 0x57c711
mov eax, dword [esp + 0x60]
cmp esi, eax
jae 0x57ce31
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + esi*4]
push 0xa
push ebp
push eax
call fcn.0058d255
mov dword [esp + esi*4 + 0xd0], eax
inc esi
add esp, 0xc
cmp esi, edi
jb 0x57ce05
jmp 0x57cd3e
push 0x80070057
call fcn.00406af0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x98]
shl eax, 0x10
or eax, dword [esp + 0xc8]
cmp ecx, eax
ja 0x57ceaf
jne 0x57ce73
mov ecx, dword [esp + 0xcc]
shl ecx, 0x10
or ecx, dword [esp + 0xd0]
cmp dword [esp + 0x9c], ecx
jae 0x57ceaf
lea edi, [esp + 0x6c]
call fcn.005178ff
lea edi, [esp + 0x5c]
call fcn.005178ff
lea ecx, [esp + 0x20]
call fcn.004066e0
mov byte [esp + 0x6f0], 9
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x57cdba
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x57cdba
mov ecx, dword [esp + 0x50]
push ebx
call fcn.0057e880
lea edi, [esp + 0x6c]
test eax, eax
jge 0x57cf5f
call fcn.005178ff
lea edi, [esp + 0x5c]
call fcn.005178ff
lea ecx, [esp + 0x20]
call fcn.004066e0
mov byte [esp + 0x6f0], 9
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x57cef4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6f0], 7
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x57cf0c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6f0], 6
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x57cf24
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x3c]
push eax
call fcn.0058870b
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004066e0
lea ecx, [esp + 0x38]
call fcn.004066e0
push ebp
call fcn.0058870b
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call fcn.0058870b
add esp, 4
push ebx
jmp 0x57d4f8
mov esi, dword [0x6246d0]
call fcn.005178ff
lea edi, [esp + 0x5c]
call fcn.005178ff
lea ecx, [esp + 0x20]
call fcn.004066e0
mov byte [esp + 0x6f0], 9
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x57cf94
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x6f0], 7
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x57cfac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6f0], 6
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x57cfc4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x3c]
push eax
call fcn.0058870b
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004066e0
lea ecx, [esp + 0x38]
call fcn.004066e0
push ebp
call fcn.0058870b
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call fcn.0058870b
add esp, 4
push ebx
call fcn.0058870b
add esp, 4
mov eax, esi
jmp 0x57d502
mov byte [esp + 0x6f0], 0x15
mov edi, dword [esp + 0x6c]
cmp edi, ebp
je 0x57d056
mov eax, dword [esp + 0x70]
xor esi, esi
mov ebx, eax
cmp eax, ebp
jbe 0x57d04d
mov eax, dword [edi + esi*4]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x57d044
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, ebx
jb 0x57d025
mov edi, dword [esp + 0x6c]
push edi
call fcn.0058870b
add esp, 4
mov byte [esp + 0x6f0], 0xb
mov edi, dword [esp + 0x5c]
cmp edi, ebp
je 0x57cd7d
mov eax, dword [esp + 0x60]
xor esi, esi
mov ebx, eax
cmp eax, ebp
jbe 0x57d09e
mov eax, dword [edi + esi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d095
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, ebx
jb 0x57d076
mov edi, dword [esp + 0x5c]
push edi
call fcn.0058870b
add esp, 4
jmp 0x57cd7d
lea eax, [esp + 0xd4]
push eax
push str.http:__dl.360safe.com_gf_360ini.cab
call fcn.0057da20
add esp, 8
test eax, eax
jne 0x57d12f
add ebp, 0xfffffff0
mov byte [esp + 0x6f0], 4
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d0ea
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
lea eax, [edi - 0x10]
mov byte [esp + 0x6f0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d10e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
call fcn.0058870b
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call fcn.0058870b
mov edx, dword [esp + 0x38]
add esp, 4
push edx
jmp 0x57d4f8
cmp dword [ebp - 0xc], 0
jne 0x57d1c9
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x57d15f
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.00406a80
mov ebp, dword [esp + 0x18]
push ebp
push 0x104
call esi
mov edx, 0x5e76fc
lea ecx, [esp + 0xc4]
call fcn.0057d770
mov eax, dword [eax]
push eax
push ebp
call ebx
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d1a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.0058a3a5
add esp, 8
test eax, eax
jl 0x57ce31
cmp eax, dword [ebp - 8]
jg 0x57ce31
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], cx
push ebp
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x57d1f5
lea eax, [ebp - 0x10]
call fcn.00406580
or dword [esp + 0x44], 2
lea esi, [eax + 0x10]
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x57d1fc
mov bl, 1
jmp 0x57d1fe
mov esi, dword [esp + 0x80]
xor bl, bl
test byte [esp + 0x44], 2
je 0x57d221
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x57d221
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x57d28f
add ebp, 0xfffffff0
mov byte [esp + 0x6f0], 4
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d24a
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
lea eax, [edi - 0x10]
mov byte [esp + 0x6f0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d26e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
call fcn.0058870b
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call fcn.0058870b
mov edx, dword [esp + 0x38]
add esp, 4
push edx
jmp 0x57d4f8
push ebp
push 0x57c190
push 0
lea eax, [esp + 0xe0]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
lea ecx, [esp + 0xd4]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jne 0x57d323
add ebp, 0xfffffff0
mov byte [esp + 0x6f0], 4
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x57d2de
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x6f0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
call fcn.0058870b
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call fcn.0058870b
mov edx, dword [esp + 0x38]
add esp, 4
push edx
jmp 0x57d4f8
mov edx, str.360ini
lea ecx, [esp + 0x48]
call fcn.0057d770
push eax
lea eax, [esp + 0xc8]
push eax
mov ebx, str..dll
mov byte [esp + 0x6f8], 0x18
call fcn.00406330
mov eax, dword [eax]
mov edi, dword [esp + 0x3c]
add esp, 8
push eax
push ebp
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
mov eax, dword [esp + 0xc4]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d386
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6f0], 5
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d3ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x57d413
add ebp, 0xfffffff0
mov byte [esp + 0x6f0], 4
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d3d7
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x6f0], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d3ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
call fcn.0058870b
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
jmp 0x57d4ef
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x57d47c
add ebp, 0xfffffff0
mov byte [esp + 0x6f0], 4
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x57d443
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0x6f0], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57d46b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
call fcn.0058870b
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
jmp 0x57d4ef
mov ecx, dword [esp + 0x50]
push edi
call fcn.0057e880
lea ecx, [esp + 0x18]
test eax, eax
jge 0x57d4ad
call fcn.004066e0
lea ecx, [esp + 0x38]
call fcn.004066e0
push 0
call fcn.0058870b
mov edx, dword [esp + 0x28]
add esp, 4
push edx
jmp 0x57d4ef
mov esi, dword [0x6246d0]
call fcn.004066e0
lea ecx, [esp + 0x38]
call fcn.004066e0
push 0
call fcn.0058870b
mov eax, dword [esp + 0x28]
add esp, 4
push eax
call fcn.0058870b
add esp, 4
push edi
call fcn.0058870b
add esp, 4
mov eax, esi
jmp 0x57d502
push ebx
call fcn.0058870b
add esp, 4
push ebx
call fcn.0058870b
add esp, 4
push edi
call fcn.0058870b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x6e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.005886fc
add esp, 0x6e0
ret