joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d08d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 7], 0
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x53
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x63
mov byte [ebp - 0x1a], 0x75
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x79
mov byte [ebp - 0x15], 0x44
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0x6c
call fcn.0041d038
lea ecx, [ebp - 0x20]
mov dword [0x428158], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41d116
leave
ret
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x1d
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.004121a7
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x41d70a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push 0x19
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.004121a7
add esp, 0xc
mov byte [ebp - 0x1c], 0x57
mov byte [ebp - 0x17], 0x68
mov byte [ebp - 0x12], 0x4d
mov byte [ebp - 0xd], 0x42
mov byte [ebp - 8], bl
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0xc], 0x79
mov byte [ebp - 7], bl
mov byte [ebp - 0x1a], 0x64
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 6], bl
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x14], 0x54
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 5], bl
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 9], bl
mov byte [ebp - 4], bl
call fcn.004121d6
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x41d798
xor eax, eax
jmp 0x41d7c7
push esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x19
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.004121a7
add esp, 0xc
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41dfd3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea eax, [ebp - 0x108]
push edi
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0xd4
push eax
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x22
mov byte [ebp - 0xd], 0xf0
mov byte [ebp - 0xc], 0xbb
mov byte [ebp - 0xb], 0x19
mov byte [ebp - 0xa], 0xe9
mov byte [ebp - 9], 0x45
mov byte [ebp - 8], 0x35
mov byte [ebp - 7], 0x68
mov byte [ebp - 6], 0x24
mov byte [ebp - 5], 0xc2
mov byte [ebp - 4], 0x9e
mov byte [ebp - 3], 0x71
mov byte [ebp - 2], 0x7a
mov byte [ebp - 1], 0x68
call fcn.0041e1a1
push 0x20
mov esi, 0x42b56c
pop edi
lea eax, [ebp - 0x30]
push edi
push esi
push eax
call fcn.00415731
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041e25e
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00415731
add esp, 0x30
cmp byte [ebp - 0x30], 0
je 0x41e0b3
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.0041e0c0
pop ecx
test eax, eax
pop ecx
jne 0x41e0b7
add esi, edi
push edi
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00415731
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041e25e
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00415731
add esp, 0x28
jmp 0x41e067
xor eax, eax
jmp 0x41e0bc
mov eax, 0xeaf5
pop edi
pop esi
leave
ret

Function at 0x41e0c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x46
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0x11], 0x64
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0x10], 0x57
mov byte [ebp - 0xb], 0x77
call fcn.0041e13c
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41e11c
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x41e13c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
mov eax, dword [0x428150]
and byte [ebp - 0xa], 0
and byte [ebp - 9], 0
and byte [ebp - 8], 0
add esp, 0xc
cmp eax, 1
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0x14], 0x75
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x33
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x2e
mov byte [ebp - 0xd], 0x64
jne 0x41e19f
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x428150], eax
leave
ret
Function at 0x41e38d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 2
mov byte [ebp - 0xc], 0x4f
mov byte [ebp - 0xa], 0x4c
mov byte [ebp - 8], 0x44
mov byte [ebp - 6], 0x47
mov byte [ebp - 4], 0x45
mov byte [ebp - 2], 0x45
mov byte [ebp - 0xb], 0x4c
mov byte [ebp - 9], 0x59
mov byte [ebp - 7], 0x42
mov byte [ebp - 5], 0x2e
mov byte [ebp - 3], 0x58
mov byte [ebp - 1], bl
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x14], 0x4e
mov byte [ebp - 0x12], 0x53
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0x17], 0x45
mov byte [ebp - 0x15], 0x45
mov byte [ebp - 0x13], 0x44
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0xf], 0x58
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1e], 0x4d
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1a], 0x45
mov byte [ebp - 0x23], 0x33
mov byte [ebp - 0x21], 0x44
mov byte [ebp - 0x1f], 0x53
mov byte [ebp - 0x1d], 0x2e
mov byte [ebp - 0x1b], 0x58
mov byte [ebp - 0x19], bl
call fcn.0041e68c
mov esi, eax
pop ecx
cmp esi, 0xffffffff
pop ecx
mov dword [ebp - 0x28], esi
je 0x41e543
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0x128
push eax
push esi
call fcn.0041e73c
pop ecx
test eax, eax
pop ecx
je 0x41e54a
call fcn.0041e5ee
cmp dword [ebp - 0x14c], eax
jne 0x41e477
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0041e7c4
pop ecx
test eax, eax
pop ecx
jne 0x41e461
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0041e73c
pop ecx
test eax, eax
pop ecx
je 0x41e54a
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14c], eax
jne 0x41e52b
lea eax, [ebp - 0x130]
push eax
call fcn.0041e5b6
lea eax, [ebp - 0x130]
push eax
call fcn.0041e593
lea eax, [ebp - 0xc]
push eax
call fcn.0041e5b6
lea eax, [ebp - 0x18]
push eax
call fcn.0041e5b6
lea eax, [ebp - 0x24]
push eax
call fcn.0041e5b6
lea eax, [ebp - 0xc]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0041e558
mov esi, eax
lea eax, [ebp - 0x18]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0041e558
mov edi, eax
lea eax, [ebp - 0x24]
push 0xd
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0041e558
add esp, 0x38
cmp esi, ebx
je 0x41e543
cmp edi, ebx
je 0x41e543
cmp eax, ebx
je 0x41e543
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0041e7c4
pop ecx
test eax, eax
pop ecx
je 0x41e547
jmp 0x41e4a1
xor eax, eax
jmp 0x41e553
push 1
pop ebx
push esi
call fcn.00412410
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e5ee
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
and byte [ebp - 1], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x43
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x63
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x49
mov byte [ebp - 2], 0x64
call fcn.004121d6
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
mov eax, fcn.0041e5ee
add esp, 0xc
test eax, eax
je 0x41e684
call esi
jmp 0x41e689
call fcn.0041c15e
pop esi
leave
ret

Function at 0x41e68c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.004121a7
and byte [ebp - 4], 0
add esp, 0xc
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 8], 0x73
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x16], 0x54
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 7], 0x68
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 6], 0x6f
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 5], 0x74
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 9], 0x70
call fcn.004121d6
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41e71c
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.004121a7
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x41e73c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004121a7
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x69
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x72
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x73
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 3], 0x74
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x46
call fcn.004121d6
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41e7a4
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004121a7
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x41e7c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004121a7
and byte [ebp - 3], 0
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x65
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x78
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x74
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x4e
call fcn.004121d6
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41e82c
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004121a7
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x41ea40
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ecx
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov dword [esp + 4], ebx
test ebx, ebx
je 0x41eb7e
push esi
push 0xf01ff
push str.ASSMSService
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x41eb5e
push edi
push 0x42ba24
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.MSVCR90.dll_printf]
test eax, eax
je 0x41eb0d
push ebp
push str.ASSMS_Service
push str.Stopping__s.
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
push 0x3e8
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x42ba24
push esi
call ebp
test eax, eax
je 0x41eae9
cmp dword [0x42ba28], 3
jne 0x41eae9
push 0x424130
call edi
add esp, 4
push 0x3e8
call ebx
push 0x42ba24
push esi
call ebp
test eax, eax
jne 0x41eac3
cmp dword [0x42ba28], 1
pop ebp
push str.ASSMS_Service
jne 0x41eaff
push str._n__s_stopped.__n
jmp 0x41eb04
push str._n__s_failed_to_stopp.__n
call edi
mov ebx, dword [esp + 0x14]
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x41eb3a
push str.ASSMS_Service
push str._s_removed.__n
call edi
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteService_failed____d.__n
call edi
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_failed____d__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed____d__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
pop ebx
pop ecx
ret
Function at 0x41eba0
Capabilities:
Create service
Persist via windows service

Disassembly:
sub esp, 0x204
mov eax, dword [0x42b730]
xor eax, esp
mov dword [esp + 0x200], eax
push 0x200
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41ebf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ASSMS_Service
push str.Unable_to_install__s____d__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 0xc
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.0041fff8
add esp, 0x204
ret
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x41ecad
push ebx
push esi
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 2
push 0x10
push 0xf01ff
push str.ASSMS_Service
push str.ASSMSService
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x41ec7d
push str.ASSMS_Service
push str._s_installed.__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.0041fff8
add esp, 0x204
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateService_failed____d__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.0041fff8
add esp, 0x204
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed____d__n
call dword [sym.imp.MSVCR90.dll_printf]
mov ecx, dword [esp + 0x20c]
add esp, 8
pop edi
xor ecx, esp
call fcn.0041fff8
add esp, 0x204
ret

Function at 0x41eda0
Capabilities:
Query service status
Stop service

Disassembly:
sub esp, 0x1c
push edi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x41ee16
push ebx
push esi
push 0xf01ff
push str.ASSMSService
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x41edf9
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [esp + 0x10], 4
jne 0x41edf6
lea ecx, [esp + 0xc]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call ebx
push edi
call ebx
push str.ASSMS_Service
push str._s_stop.__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
pop esi
pop ebx
pop edi
add esp, 0x1c
ret
push str.ASSMS_Service
push str._s_not_stop.__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
pop edi
add esp, 0x1c
ret
Function at 0x41ee30
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [0x42ba44], 0
je 0x41ee96
push esi
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push str.c:_rlfsSvlog.txt
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 8]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret

Function at 0x41f050
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x42b730]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push 0x3ff
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.MSVCR90.dll_memset
mov esi, dword [esp + 0x418]
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f090
sub eax, edx
cmp eax, 0x3e8
jae 0x41f0e2
mov ecx, dword [esp + 0x410]
push ecx
lea edx, [esp + 8]
push esi
push edx
call fcn.0041eea0
lea eax, [esp + 0x10]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f0c0
sub eax, edx
push eax
lea eax, [esp + 8]
push eax
call fcn.0041ee30
add esp, 8
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
call fcn.0041fff8
add esp, 0x404
ret

Function at 0x41f3d0
Capabilities:
Start service

Disassembly:
push edi
push 0
push str.StartMyService
call fcn.0041f050
add esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x41f436
push ebx
push esi
push 0x10
push str.ASSMSService
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x41f41c
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
call ebx
push edi
call ebx
push str.ASSMS_Service
push str._s_start.__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
pop esi
pop ebx
pop edi
ret
push str.ASSMS_Service
push str._s_not_start.__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
pop edi
ret
Function at 0x41fff8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b730]
jne 0x420002
repz ret
jmp fcn.004204ad
Function at 0x401088
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
xor eax, eax
push esi
mov esi, ecx
push edi
mov ecx, 0x1369e
lea edi, [esi + 0x10]
mov dword [esi], 0x4042e8
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
mov dword [esi + 0x4da8c], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0xffffffff
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret
Function at 0x408414
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x408448
mov esi, ecx
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.0040966a
lea eax, [ebx + 1]
cmp eax, 2
jb 0x408441
mov dword [esi], ebx
call fcn.00413650
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x40a3b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x5c3648]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [0x5ccd6c]
mov ecx, dword [0x5cee38]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40a405
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.004f2990
mov eax, 0x5ccd68
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5ccd6c
call fcn.004dfcf2
add esp, 4
cmp dword [0x5ccd6c], 0xffffffff
jne 0x40a3ea
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.004f5340
add esp, 0xc
mov dword [esp + 0x3c], 0x11c
lea edi, [esp + 0x3c]
push edi
call dword [sym.imp.kernel32.dll_GetVersionExW]
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call dword [sym.imp.kernel32.dll_GetProductInfo]
push 0x74
call fcn.004dfcf2
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0xc]
mov eax, dword [0x5ccdac]
mov ecx, dword [0x5cee38]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40a4b4
mov ecx, esi
push ebx
push 0x5ccd88
push edi
call fcn.0040a530
mov dword [0x5ccd68], esi
push 0x5ccd6c
call fcn.004dfcf2
add esp, 4
jmp 0x40a3ea
push 0x5ccdac
call fcn.004dfcf2
add esp, 4
cmp dword [0x5ccdac], 0xffffffff
jne 0x40a48e
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x30]
mov dword [0x5ccda8], eax
movaps xmm0, xmmword [esp + 0x10]
movaps xmm1, xmmword [esp + 0x20]
movups xmmword [0x5ccd98], xmm1
movups xmmword [0x5ccd88], xmm0
push 0x5ccdac
call fcn.004dfcf2
add esp, 4
jmp 0x40a48e

Function at 0x4117d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004117e0