Function at 0x49fb00
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5158e1
mov eax, dword fs:[0]
push eax
sub esp, 0x474
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 edi, ecx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x46c], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004b87cd
mov byte [ebp - 4], 1
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push str._____LoadMemDll_RunDll______url_:__s
call fcn.004b8eac
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.004b87cd
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c0]
cmp dword [ebp - 0x2ac], 8
cmovae eax, dword [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004b74dc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x290]
mov esi, dword [ebp - 0x27c]
cmp esi, 8
mov ebx, dword [ebp - 0x290]
push 0xe
push 0x561958
push dword [ebp - 0x280]
cmovae eax, ebx
push eax
call fcn.00499c70
add esp, 0x30
test eax, eax
je 0x49fc2d
push 0xb
push str.znshuru.com
push dword [ebp - 0x280]
cmp esi, 8
lea eax, [ebp - 0x290]
cmovae eax, ebx
push eax
call fcn.00499c70
add esp, 0x10
test eax, eax
je 0x49fc2d
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str._____LoadMemDll_RunDll______not_base_web_url_:__s
call fcn.004b8eac
add esp, 8
xor esi, esi
jmp 0x4a03d7
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c42d0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call fcn.004b7670
add esp, 0x14
lea eax, [ebp + 8]
lea ecx, [ebp - 0x464]
push eax
call fcn.004ba0ff
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x464]
call fcn.004ba35b
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004b87cd
mov byte [ebp - 4], 5
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
mov ecx, edi
cmovae eax, dword [ebp - 0x260]
add esp, 4
push eax
push str.DownLoadFile
lea eax, [ebp - 0x248]
push eax
call fcn.004a0a20
mov byte [ebp - 4], 6
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x248]
push eax
call ebx
test eax, eax
jne 0x49fd52
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x248]
cmp ecx, eax
je 0x49fd07
push 0xffffffffffffffff
push 0
push eax
call fcn.00498ec0
push 7
push str.Config_
lea ecx, [ebp - 0x248]
call fcn.0049db90
cmp word [ebp - 0x218], 0
jne 0x49fd27
xor ecx, ecx
jmp 0x49fd3f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49fd30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0049db90
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x49fd6f
mov eax, dword [ecx]
jmp 0x49fd71
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x248]
push edx
push eax
call fcn.00498ec0
lea eax, [ebp - 0x278]
push eax
call fcn.004a07d0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
push ecx
cmovae eax, dword [ebp - 0x260]
mov ecx, edi
push eax
push str.FileMD5
lea eax, [ebp - 0x2a8]
push eax
call fcn.004a0a20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x278]
cmovae ecx, dword [ebp - 0x2a8]
cmp dword [ebp - 0x264], 8
push ecx
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.004caddd
add esp, 8
test eax, eax
jne 0x49fe2a
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push 0
cmovae eax, dword [ebp - 0x278]
push 0x561700
push dword [ebp - 0x268]
push eax
call fcn.00499c70
add esp, 0x10
test eax, eax
jne 0x49ffc7
push 0x98967f
push 0xf4240
call fcn.004b7c81
push 0x104
mov esi, eax
lea eax, [ebp - 0x3f4]
push 0
push eax
call fcn.004c42d0
push esi
lea eax, [ebp - 0x3f4]
push 0x562640
push eax
call fcn.004978e0
add esp, 0x20
lea ecx, [ebp + 8]
push 1
push 0x562644
call fcn.0049d340
cmp byte [ebp - 0x3f4], 0
jne 0x49fe7f
xor ecx, ecx
jmp 0x49fe91
lea ecx, [ebp - 0x3f4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49fe88
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f4]
push eax
lea ecx, [ebp + 8]
call fcn.0049d340
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x470], esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x49fec4
mov eax, dword [edx]
jmp 0x49fec6
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x218], cx
je 0x49feef
lea ecx, [ebp - 0x218]
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49fee0
sub ecx, esi
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edx
push eax
call fcn.00498dc0
sub esp, 0x18
mov byte [ebp - 4], 9
mov eax, esp
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004b87cd
add esp, 8
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2d8]
push eax
call fcn.004a04b0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x2d8]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x2c4], 8
push ecx
cmovae eax, dword [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x24c], 8
push ecx
cmovae eax, dword [ebp - 0x260]
push eax
push ecx
mov ecx, edi
call fcn.004a0c60
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c4]
cmp eax, 8
jb 0x49ffc7
inc eax
lea ecx, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2d8]
call fcn.00499470
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call ebx
test eax, eax
jne 0x4a000d
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push eax
mov byte [ecx], al
lea eax, [ebp + 8]
push eax
call fcn.004991e0
mov ecx, edi
call fcn.0049f850
mov esi, eax
jmp 0x4a00cd
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x3a8]
cmovae eax, dword [ebp - 0x248]
sub esp, 0xc
push eax
call fcn.0049bc40
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x3a8]
call fcn.0049c720
mov esi, dword [eax + 8]
add esi, dword [eax]
lea eax, [esi + 0xa]
push eax
call fcn.004adda0
mov ecx, eax
lea eax, [esi + 1]
push eax
push 0
push ecx
mov dword [edi + 0x4c], ecx
call fcn.004c42d0
add esp, 4
lea ecx, [ebp - 0x3a8]
call fcn.0049c800
push 0
push esi
push dword [edi + 0x4c]
lea ecx, [ebp - 0x3a8]
call fcn.0049c910
lea ecx, [ebp - 0x398]
call fcn.0049d9a0
test eax, eax
jne 0x4a00be
mov eax, dword [ebp - 0x3a8]
lea ecx, [ebp - 0x3a8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.0049a830
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 8
call fcn.0049b3a0
test esi, esi
jne 0x4a00f0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x562648
jmp 0x4a02d6
mov al, byte [0x561aa0]
lea edx, [ebp - 0x480]
movq xmm0, qword [0x561a98]
lea ecx, [ebp - 0x3f8]
movq qword [ebp - 0x480], xmm0
mov byte [ebp - 0x478], al
call fcn.0049e760
xor ecx, ecx
lea edx, [ebp - 0x37c]
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edx - 4]
lea edx, [edx - 8]
mov dword [ebp + ecx*4 - 0x378], eax
mov eax, dword [edx + 8]
mov dword [ebp + ecx*4 - 0x374], eax
add ecx, 2
cmp ecx, 0x20
jl 0x4a0130
mov edx, dword [edi + 0x4c]
lea ecx, [ebp - 0x3f8]
push esi
xorps xmm0, xmm0
push edx
movq qword [ebp - 0x2f8], xmm0
call fcn.0049f4d0
add esp, 8
lea eax, [ebp - 0x468]
push eax
lea eax, [esi - 0xc]
push eax
mov eax, dword [edi + 0x4c]
add eax, 0xc
push eax
call fcn.004aef80
test eax, eax
je 0x4a02bc
cmp byte [eax], 0x4d
je 0x4a019b
cmp byte [eax + 1], 0x5a
jne 0x4a02bc
mov edx, dword [ebp - 0x468]
sub esp, 0x18
mov ecx, eax
call fcn.004a2730
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4a0291
mov edx, str.run_lib
mov ecx, edi
call fcn.004a29b0
mov esi, eax
test esi, esi
jne 0x4a022c
mov edx, 0x562728
mov ecx, edi
call fcn.004a29b0
cmp dword [ebp - 0x21c], 8
mov esi, eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str._____LoadMemDll_RunDll______memory__run_lib__is_NULL_:__s
call fcn.004b8eac
add esp, 8
test esi, esi
jne 0x4a022c
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str._____LoadMemDll_RunDll______memory__Run__is_NULL_:__s
call fcn.004b8eac
add esp, 8
mov ecx, edi
call fcn.004a2a70
jmp 0x4a02de
push 0x104
lea eax, [ebp - 0x3f4]
push 0
push eax
call fcn.004c42d0
lea eax, [ebp - 0x3f4]
push eax
push dword [ebp - 0x46c]
call fcn.004b887e
lea eax, [ebp - 0x3f4]
push eax
call esi
cmp dword [ebp - 0x21c], 8
mov esi, eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push esi
push str._____LoadMemDll_RunDll______memory_run_code_:__d_url_:__s
call fcn.004b8eac
add esp, 0x24
test esi, esi
je 0x4a02b3
mov ecx, edi
call fcn.004a2a70
mov esi, 1
jmp 0x4a02e0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str._____LoadMemDll_RunDll______memory_load_library_is_NULL_:__s
call fcn.004b8eac
add esp, 8
mov ecx, edi
call fcn.004a2a70
jmp 0x4a02de
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str._____LoadMemDll_RunDll______dcrypt_error._url_:__s
call fcn.004b8eac
add esp, 8
xor esi, esi
mov eax, dword [ebp - 0x294]
cmp eax, 8
jb 0x4a02fe
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.00499470
xor eax, eax
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x298], 0
cmp eax, 8
jb 0x4a0339
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00499470
xor eax, eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x268], 0
cmp eax, 8
jb 0x4a0374
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00499470
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x4a03af
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00499470
xor eax, eax
mov dword [ebp - 0x24c], 7
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
call fcn.00498a90
mov eax, dword [ebp - 0x27c]
cmp eax, 8
jb 0x4a03f5
inc eax
lea ecx, [ebp - 0x290]
push eax
push dword [ebp - 0x290]
call fcn.00499470
xor eax, eax
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x280], 0
cmp eax, 8
jb 0x4a0430
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.00499470
xor eax, eax
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x2b0], 0
cmp eax, 8
jb 0x4a046b
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00499470
xor eax, eax
mov dword [ebp - 0x21c], 7
lea ecx, [ebp + 8]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00498a90
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.004add49
mov esp, ebp
pop ebp
ret 0x1c