Function at 0x403000
Capabilities:
Check if file exists
Delete file
Delete registry value
Get system information on windows
Persist via run registry key
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41640e
mov eax, dword fs:[0]
push eax
sub esp, 0xaf8
mov eax, dword [0x41f008]
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 + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0xac0], xmm0
mov dword [ebp - 0xab8], 0
mov dword [ebp - 0xae8], ebx
mov dword [ebp - 0xac0], 0
mov dword [ebp - 0xabc], 0
mov dword [ebp - 0xab8], 0
mov dword [ebp - 4], 0
mov dword [0x4202dc], 0
call fcn.00402ad0
mov edi, dword [ebp + 8]
cmp edi, 1
jle 0x403277
push 0x41c744
push dword [ebx + 4]
call fcn.00408573
add esp, 8
test eax, eax
jne 0x4031e5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xae8], eax
lea eax, [ebp - 0xae8]
push eax
push 0xf013f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4030e1
push 0x41c748
push dword [ebp - 0xae8]
call edi
push dword [ebp - 0xae8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [ebp - 0xae8]
mov dword [ebp - 0xae8], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
test eax, eax
jne 0x403124
push 0x41c748
push dword [ebp - 0xae8]
call edi
push dword [ebp - 0xae8]
call esi
lea eax, [ebp - 0xae8]
mov dword [ebp - 0xae8], 0
push eax
push 0xf013f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
test eax, eax
jne 0x403161
push str.InDeploy
push dword [ebp - 0xae8]
call edi
push dword [ebp - 0xae8]
call esi
lea eax, [ebp - 0xae8]
mov dword [ebp - 0xae8], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call ebx
test eax, eax
jne 0x40319e
push str.InDeploy
push dword [ebp - 0xae8]
call edi
push dword [ebp - 0xae8]
call esi
xor dl, dl
mov byte [0x4202d8], 0
mov ecx, 0x41c778
mov byte [0x4202d9], 1
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c780
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c788
call fcn.00402650
jmp 0x4038ee
xor esi, esi
test edi, edi
jle 0x403248
lea ebx, [esi + 1]
nop
mov eax, dword [ebp - 0xae8]
push str.True
push dword [eax + esi*4]
call fcn.00408573
movzx ecx, byte [0x4202d8]
test eax, eax
mov eax, dword [ebp - 0xae8]
push 0x41c6c0
cmove ecx, ebx
mov byte [0x4202d8], cl
push dword [eax + esi*4]
call fcn.00408573
movzx ecx, byte [0x4202d9]
add esp, 0x10
test eax, eax
cmove ecx, ebx
inc esi
mov byte [0x4202d9], cl
cmp esi, edi
jl 0x4031f0
mov ebx, dword [ebp - 0xae8]
mov esi, 1
cmp edi, esi
jle 0x4038ee
mov ecx, dword [ebx + esi*4]
mov dword [0x4202dc], ecx
test ecx, ecx
je 0x40326d
mov dl, byte [0x4202d8]
call fcn.00402650
inc esi
cmp esi, edi
jl 0x403255
jmp 0x4038ee
lea eax, [ebp - 0xae4]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0xae4]
cmp ax, 9
je 0x403297
cmp ax, 6
jne 0x4032ae
lea eax, [ebp - 0xaec]
mov dword [ebp - 0xaec], 0
push eax
call dword [0x4202fc]
xor eax, eax
mov dword [ebp - 0xa34], 7
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
lea ecx, [ebp - 0xb04]
mov byte [ebp - 4], 1
call fcn.00402320
push str.crun.cfg
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa30]
call fcn.00404440
add esp, 4
mov esi, eax
lea eax, [ebp - 0xa48]
cmp eax, esi
je 0x403340
mov eax, dword [ebp - 0xa34]
cmp eax, 8
jb 0x403317
inc eax
push eax
push dword [ebp - 0xa48]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xa34], 7
push esi
lea ecx, [ebp - 0xa48]
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
call fcn.004015b0
mov eax, dword [ebp - 0xa1c]
cmp eax, 8
jb 0x403358
inc eax
push eax
push dword [ebp - 0xa30]
call fcn.004018d0
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0xa30], ax
mov eax, dword [ebp - 0xaf0]
mov dword [ebp - 0xa1c], 7
mov dword [ebp - 0xa20], 0
cmp eax, 8
jb 0x403391
inc eax
push eax
push dword [ebp - 0xb04]
call fcn.004018d0
cmp dword [ebp - 0xa34], 8
lea eax, [ebp - 0xa48]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0xa48]
push eax
call ebx
cmp eax, 1
jne 0x4036f7
xorps xmm0, xmm0
mov dword [ebp - 0xa70], 0
movq qword [ebp - 0xa78], xmm0
mov dword [ebp - method.Sc_Convert.virtual_0], vtable.Sc_Convert.0
mov dword [ebp - 0xa74], 0
mov dword [ebp - 0xa70], 0
cmp dword [ebp - 0xa34], 8
lea eax, [ebp - 0xa48]
cmovae eax, dword [ebp - 0xa48]
push eax
push 0x800
lea eax, [ebp - 0xa18]
push eax
push str.Error
push 0x41c7b0
push 0x41c7b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0xa1c], 0xf
mov dword [ebp - 0xa20], 0
mov byte [ebp - 0xa30], 0
lea eax, [ebp - 0xa18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xb04]
call fcn.004012a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0xb04]
cmp dword [ebp - 0xaf0], 8
lea ecx, [ebp - 0xa78]
cmovae eax, dword [ebp - 0xb04]
push eax
call fcn.00401120
mov edx, eax
cmp byte [edx], 0
jne 0x403480
xor ecx, ecx
jmp 0x40348e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403485
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa30]
call fcn.004016b0
mov eax, dword [ebp - 0xaf0]
cmp eax, 8
jb 0x4034b3
inc eax
push eax
push dword [ebp - 0xb04]
call fcn.004018d0
xorps xmm0, xmm0
mov dword [ebp - 0xa4c], 0
xor ebx, ebx
movq qword [ebp - 0xa54], xmm0
xor esi, esi
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa54], esi
mov dword [ebp - 0xa4c], ebx
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], ebx
jb 0x403501
mov eax, dword [ecx]
jmp 0x403503
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xa30]
push 0
push eax
call fcn.004017b0
lea ecx, [ebp - 0xaf8]
call fcn.004024f0
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0xa54]
cmp eax, edi
je 0x403565
mov ecx, eax
call fcn.004040c0
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0xa54], esi
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], eax
mov dword [edi + 8], 0
lea ecx, [ebp - 0xaf8]
call fcn.004040c0
sub ebx, esi
mov eax, 0x2aaaaaab
imul ebx
xor ecx, ecx
sar edx, 2
mov edi, edx
mov dword [ebp - 0xaec], ecx
shr edi, 0x1f
add edi, edx
je 0x403613
mov ebx, esi
cmp edi, ecx
jbe 0x403627
cmp dword [ebx + 0x14], 0x10
jb 0x4035ab
mov eax, dword [ebx]
mov dword [ebp - 0xae8], eax
jmp 0x4035b3
mov eax, ebx
mov dword [ebp - 0xae8], ebx
push str.True
push eax
call fcn.00408573
movzx ecx, byte [0x4202d8]
test eax, eax
mov eax, 1
push 0x41c6c0
push dword [ebp - 0xae8]
cmove ecx, eax
mov byte [0x4202d8], cl
call fcn.00408573
movzx ecx, byte [0x4202d9]
add esp, 0x10
test eax, eax
mov eax, 1
cmove ecx, eax
add ebx, 0x18
mov byte [0x4202d9], cl
mov ecx, dword [ebp - 0xaec]
inc ecx
mov dword [ebp - 0xaec], ecx
cmp edi, ecx
ja 0x40359b
xor ebx, ebx
test edi, edi
je 0x40364a
cmp edi, ebx
jbe 0x403627
cmp dword [esi + 0x14], 0x10
jb 0x403631
mov ecx, dword [esi]
jmp 0x403633
push str.invalid_vector_T__subscript
call fcn.0040509c
mov ecx, esi
test ecx, ecx
je 0x403642
mov dl, byte [0x4202d8]
call fcn.00402650
inc ebx
add esi, 0x18
cmp edi, ebx
ja 0x40361d
lea ecx, [ebp - 0xa54]
call fcn.004040c0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xa1c]
cmp eax, 0x10
jb 0x4036a9
mov ecx, dword [ebp - 0xa30]
inc eax
cmp eax, 0x1000
jb 0x4036a0
test cl, 0x1f
je 0x40367c
call fcn.004082b3
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x403688
call fcn.004082b3
sub ecx, eax
cmp ecx, 4
jae 0x403694
call fcn.004082b3
cmp ecx, 0x23
jbe 0x40369e
call fcn.004082b3
mov ecx, eax
push ecx
call fcn.00405112
add esp, 4
mov eax, dword [ebp - 0xa74]
mov dword [ebp - 0xa1c], 0xf
mov dword [ebp - 0xa20], 0
mov byte [ebp - 0xa30], 0
test eax, eax
je 0x4036d9
push 1
push eax
call fcn.00405117
add esp, 8
mov eax, dword [ebp - 0xa70]
test eax, eax
je 0x4038d2
push 2
push eax
call fcn.00405117
add esp, 8
jmp 0x4038d2
lea ecx, [ebp - 0xb04]
call fcn.00402320
push str.noime.dll
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa30]
call fcn.00404440
add esp, 4
mov esi, eax
lea eax, [ebp - 0xa48]
cmp eax, esi
je 0x403768
mov eax, dword [ebp - 0xa34]
cmp eax, 8
jb 0x40373f
inc eax
push eax
push dword [ebp - 0xa48]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xa34], 7
push esi
lea ecx, [ebp - 0xa48]
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
call fcn.004015b0
mov eax, dword [ebp - 0xa1c]
cmp eax, 8
jb 0x403780
inc eax
push eax
push dword [ebp - 0xa30]
call fcn.004018d0
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0xa30], ax
mov eax, dword [ebp - 0xaf0]
mov dword [ebp - 0xa1c], 7
mov dword [ebp - 0xa20], 0
cmp eax, 8
jb 0x4037b9
inc eax
push eax
push dword [ebp - 0xb04]
call fcn.004018d0
cmp dword [ebp - 0xa34], 8
lea eax, [ebp - 0xa48]
cmovae eax, dword [ebp - 0xa48]
push eax
call ebx
test eax, eax
jne 0x4038d2
mov dl, 1
mov byte [0x4202d8], 1
mov ecx, 0x41c778
mov byte [0x4202d9], 1
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c780
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c7d4
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c788
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c7d8
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c7dc
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, str.2345
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c7ec
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c7f4
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c7fc
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c804
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c810
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c814
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, str.iqiyi
call fcn.00402650
mov dl, byte [0x4202d8]
mov ecx, 0x41c824
call fcn.00402650
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xa34]
cmp eax, 8
jb 0x4038ee
inc eax
push eax
push dword [ebp - 0xa48]
call fcn.004018d0
cmp byte [0x4202d9], 1
jne 0x403dad
lea eax, [ebp - 0xae4]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0xae4]
cmp ax, 9
je 0x40391b
cmp ax, 6
jne 0x403932
lea eax, [ebp - 0xaec]
mov dword [ebp - 0xaec], 0
push eax
call dword [0x4202fc]
xor eax, eax
mov dword [ebp - 0xaa0], 7
mov dword [ebp - 0xaa4], 0
mov word [ebp - 0xab4], ax
mov dword [ebp - 0xa58], 7
mov dword [ebp - 0xa5c], eax
mov word [ebp - 0xa6c], ax
lea ecx, [ebp - 0xa84]
mov byte [ebp - 4], 0xb
call fcn.00402320
push 0x41c644
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb04]
call fcn.00404440
add esp, 4
mov esi, eax
lea eax, [ebp - 0xab4]
cmp eax, esi
je 0x4039db
mov eax, dword [ebp - 0xaa0]
cmp eax, 8
jb 0x4039b2
inc eax
push eax
push dword [ebp - 0xab4]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xaa0], 7
push esi
lea ecx, [ebp - 0xab4]
mov dword [ebp - 0xaa4], 0
mov word [ebp - 0xab4], ax
call fcn.004015b0
mov eax, dword [ebp - 0xaf0]
cmp eax, 8
jb 0x4039f3
inc eax
push eax
push dword [ebp - 0xb04]
call fcn.004018d0
xor eax, eax
mov byte [ebp - 4], 0xb
mov word [ebp - 0xb04], ax
mov eax, dword [ebp - 0xa70]
mov dword [ebp - 0xaf0], 7
mov dword [ebp - 0xaf4], 0
cmp eax, 8
jb 0x403a2c
inc eax
push eax
push dword [ebp - 0xa84]
call fcn.004018d0
lea ecx, [ebp - 0xa84]
call fcn.00402320
push str.crun.cfg
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb04]
call fcn.00404440
add esp, 4
mov esi, eax
lea eax, [ebp - 0xa6c]
cmp eax, esi
je 0x403a9d
mov eax, dword [ebp - 0xa58]
cmp eax, 8
jb 0x403a74
inc eax
push eax
push dword [ebp - 0xa6c]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xa58], 7
push esi
lea ecx, [ebp - 0xa6c]
mov dword [ebp - 0xa5c], 0
mov word [ebp - 0xa6c], ax
call fcn.004015b0
mov eax, dword [ebp - 0xaf0]
cmp eax, 8
jb 0x403ab5
inc eax
push eax
push dword [ebp - 0xb04]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xaf0], 7
mov word [ebp - 0xb04], ax
mov eax, dword [ebp - 0xa70]
mov dword [ebp - 0xaf4], 0
cmp eax, 8
jb 0x403aea
inc eax
push eax
push dword [ebp - 0xa84]
call fcn.004018d0
xorps xmm0, xmm0
mov dword [ebp - 0xa70], 0
movq qword [ebp - 0xa78], xmm0
mov dword [ebp - method.Sc_Convert.virtual_0], vtable.Sc_Convert.0
mov dword [ebp - 0xa74], 0
mov dword [ebp - 0xa70], 0
cmp dword [ebp - 0xaa0], 8
lea eax, [ebp - 0xab4]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [ebp - 0xab4]
push eax
call esi
cmp dword [ebp - 0xa58], 8
lea eax, [ebp - 0xa6c]
cmovae eax, dword [ebp - 0xa6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403b70
cmp dword [ebp - 0xa58], 8
lea eax, [ebp - 0xa6c]
cmovae eax, dword [ebp - 0xa6c]
push eax
call esi
cmp dword [0x4202f0], 0
je 0x403b8f
cmp dword [0x4202f4], 8
mov eax, 0x4202e0
cmovae eax, dword [0x4202e0]
push eax
call esi
xor eax, eax
mov dword [ebp - 0xa1c], 7
mov dword [ebp - 0xa20], 0
mov word [ebp - 0xa30], ax
mov dword [ebp - 0xa88], 7
mov dword [ebp - 0xa8c], eax
mov word [ebp - 0xa9c], ax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x12
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [ebp - 0x218], 0
jne 0x403be9
xor ecx, ecx
jmp 0x403c01
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403bf2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa30]
call fcn.00401380
lea eax, [ebp - 0xa30]
push eax
lea ecx, [ebp - 0xad8]
call fcn.00404500
push 0x41c828
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xb04]
call fcn.00404440
add esp, 8
mov esi, eax
lea eax, [ebp - 0xa9c]
cmp eax, esi
je 0x403c8c
mov eax, dword [ebp - 0xa88]
cmp eax, 8
jb 0x403c63
inc eax
push eax
push dword [ebp - 0xa9c]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xa88], 7
push esi
lea ecx, [ebp - 0xa9c]
mov dword [ebp - 0xa8c], 0
mov word [ebp - 0xa9c], ax
call fcn.004015b0
mov eax, dword [ebp - 0xaf0]
cmp eax, 8
jb 0x403ca4
inc eax
push eax
push dword [ebp - 0xb04]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xaf0], 7
mov word [ebp - 0xb04], ax
mov eax, dword [ebp - 0xac4]
mov dword [ebp - 0xaf4], 0
cmp eax, 8
jb 0x403cd9
inc eax
push eax
push dword [ebp - 0xad8]
call fcn.004018d0
cmp dword [ebp - 0xa88], 8
lea ecx, [ebp - 0xa9c]
cmovae ecx, dword [ebp - 0xa9c]
push ecx
call fcn.00402160
mov eax, dword [ebp - 0xa88]
add esp, 4
cmp eax, 8
jb 0x403d0e
inc eax
push eax
push dword [ebp - 0xa9c]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xa88], 7
mov word [ebp - 0xa9c], ax
mov eax, dword [ebp - 0xa1c]
mov dword [ebp - 0xa8c], 0
cmp eax, 8
jb 0x403d43
inc eax
push eax
push dword [ebp - 0xa30]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xa1c], 7
mov word [ebp - 0xa30], ax
mov eax, dword [ebp - 0xa58]
mov dword [ebp - 0xa20], 0
cmp eax, 8
jb 0x403d78
inc eax
push eax
push dword [ebp - 0xa6c]
call fcn.004018d0
xor eax, eax
mov dword [ebp - 0xa58], 7
mov word [ebp - 0xa6c], ax
mov eax, dword [ebp - 0xaa0]
mov dword [ebp - 0xa5c], 0
cmp eax, 8
jb 0x403dad
inc eax
push eax
push dword [ebp - 0xab4]
call fcn.004018d0
lea ecx, [ebp - 0xac0]
call fcn.00404040
xor eax, eax
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.004050c9
mov esp, ebp
pop ebp
ret