Function at 0x4117f0
Capabilities:
Delete file
Delete registry value
Persist via run registry key
Print debug messages
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53a6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x58bc40]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x2390]
xor esi, esi
cmp eax, esi
jne 0x41189a
push esi
lea ecx, [edi + 0x13cc]
mov dword [edi + 0x2390], 1
call fcn.00424ad1
push 1
lea ecx, [edi + 0x1500]
call fcn.00424ad1
push esi
lea ecx, [edi + 0x2084]
call fcn.00424ad1
push esi
lea ecx, [edi + 0x224c]
call fcn.00424ad1
push 0x568a20
push 1
mov ecx, edi
call fcn.004248f0
mov ecx, eax
call fcn.00424a06
mov eax, dword [edi + 0x20]
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x411e68
push edi
call fcn.00412a90
mov ebx, 6
test eax, eax
je 0x4118cf
push 4
push esi
push 0x568a28
mov ecx, edi
call fcn.0041dc28
cmp eax, ebx
jne 0x411f51
push edi
call fcn.00412e00
call fcn.00418988
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4118e9
push 0x80004005
call fcn.00408450
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [edi + 0x1500]
lea edx, [esp + 0x24]
mov dword [esp + 0x50], esi
call fcn.00414460
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 1
call fcn.00407da0
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411940
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
push 0x5677ec
call fcn.00413020
add esp, 8
test al, al
je 0x4119d5
push esi
push esi
push 0x568aa0
mov ecx, edi
call fcn.0041dc28
lea ecx, [edi + 0x15c0]
call fcn.00424d15
mov edx, dword [edi + 0x15e0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push esi
push 0xb1
push edx
call ebx
mov eax, dword [edi + 0x15e0]
push esi
push esi
push 0xb7
push eax
call ebx
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.logininfo
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0040fce0
add esp, 0xc
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x24], esi
call fcn.00418988
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x411a1a
push 0x80004005
call fcn.00408450
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str.config
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x5c], 3
call fcn.0040fce0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 4
call fcn.00407da0
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00418988
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x411a94
push 0x80004005
call fcn.00408450
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x50], 5
call fcn.00418988
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x411ac3
push 0x80004005
call fcn.00408450
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x5684d8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x5c], bl
call fcn.0040fce0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 7
call fcn.00407da0
mov byte [esp + 0x50], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.getMac.exe
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0040fce0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 8
call fcn.00407da0
mov byte [esp + 0x50], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411b6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edx, [esp + 0x18]
lea ecx, [edi + 0x2394]
push edx
call fcn.00407da0
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x2398]
push eax
call fcn.00407da0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx - 0xc]
push 0x30
mov dword [esp + 0x30], edx
call fcn.0041652a
add esp, 4
push 0x30
mov ebx, eax
push esi
push ebx
call fcn.005168b0
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 0xc]
add esp, 0xc
push 0x568450
push eax
lea ecx, [esp + 0x1c]
call fcn.00408410
push eax
call fcn.00515459
mov esi, eax
add esp, 8
test esi, esi
jne 0x411bf4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push 0x568458
push eax
lea ecx, [esp + 0x1c]
call fcn.00408410
push eax
call fcn.00515459
add esp, 8
mov esi, eax
cmp dword [edi + 0x1f18], 0
mov eax, 1
je 0x411c06
mov dword [esp + 0x24], eax
cmp dword [edi + 0x1fa4], 0
je 0x411c12
mov dword [ebx + 0x14], eax
cmp dword [edi + 0x2030], 0
je 0x411ca5
mov dword [ebx + 0x10], eax
call fcn.00411620
lea edx, [esp + 0x20]
push edx
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411ce0
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00408410
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x20]
push ecx
push edx
push 1
push 0
push str.KongChong
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x2c], 0
je 0x411ce0
push 0x568b64
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x411ce0
lea edx, [esp + 0x20]
push edx
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411ce0
mov eax, dword [esp + 0x20]
push str.KongChong
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push esi
call fcn.005154fa
add esp, 0xc
push esi
push 0xc
push 4
push ebx
mov dword [ebx + 0xc], 1
call fcn.005156cd
push esi
call fcn.005159b2
add esp, 0x14
push esi
call fcn.005157b4
add esp, 4
push ebx
call fcn.00416559
add esp, 4
push 0
lea ecx, [edi + 0x13cc]
mov dword [edi + 0x2390], 2
call fcn.00424ad1
push 0
lea ecx, [edi + 0x1500]
call fcn.00424ad1
lea esi, [edi + 0x2084]
push 1
mov ecx, esi
call fcn.00424ad1
push 0
lea ecx, [edi + 0x224c]
call fcn.00424ad1
push 0
push 1
mov ecx, edi
call fcn.004248f0
mov ecx, eax
call fcn.00424ad1
mov edx, dword [edi + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x34], esp
mov ecx, esp
push edx
call fcn.00407f80
call fcn.0040f480
mov byte [esp + 0x50], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411dba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ddf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x411f51
push esi
lea ecx, [edi + 0x13cc]
mov dword [edi + 0x2390], 3
call fcn.00424ad1
push esi
lea ecx, [edi + 0x1500]
call fcn.00424ad1
push esi
lea ecx, [edi + 0x2084]
call fcn.00424ad1
push 1
lea ecx, [edi + 0x224c]
call fcn.00424ad1
push esi
push 1
mov ecx, edi
call fcn.004248f0
mov ecx, eax
call fcn.00424ad1
push 0x568b88
push 2
mov ecx, edi
call fcn.004248f0
mov ecx, eax
call fcn.00424a06
mov ecx, dword [edi + 0x20]
push 1
push esi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004127b0
mov edx, dword [edi + 0x2398]
mov edx, dword [edx - 0xc]
cmp edx, esi
jge 0x411efb
push 0x80070057
call fcn.00408450
mov eax, dword [edi + 0x2398]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x411f1e
push edx
lea ecx, [edi + 0x2398]
call fcn.004083b0
mov eax, dword [edi + 0x2398]
lea ecx, [esp + 0x30]
push ecx
call fcn.0040ace0
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x54], 9
call fcn.0040afa0
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 0xffffffff
call fcn.0040af40
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret