joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2279a811
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x227a16b0]
xor eax, ebp
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.2279a7e1
mov eax, 0x22790000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x2279a875
cmp dword [ebp - 0x1c], 5
jb 0x2279a88d
jmp 0x2279a889
cmp dword [ebp - 0x10], 1
jne 0x2279a88d
cmp dword [ebp - 0x1c], 4
ja 0x2279a889
jne 0x2279a88d
cmp dword [ebp - 0x18], 0
jbe 0x2279a88d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x2279ce54
call fcn.22792d9a
test eax, eax
jge 0x2279a8ae
mov byte [0x227a16e4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.2279a349
add ebp, 0x78
leave
ret
Function at 0x10004150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
faddp st(6)
inc ebp
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
fcmovb st(0), st(6)
inc ebp
neg dl

Function at 0x10004160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.10003dd1
push eax
push esi
push dword [ebp + 8]
call fcn.10003d86
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10003dd1
push eax
push esi
push dword [ebp + 8]
call fcn.10003d86
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10003dd1
push eax
push esi
push dword [ebp + 8]
call fcn.10003d86
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10003dc1
xchg esp, eax
lea edx, [ebx]
nop
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51

Function at 0x10004260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10003dc1
adc bh, ch
add eax, 0x7c858df7
invalid
Function at 0x10007350
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013af8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x1001c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1000748c
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x10007467
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x10007461
lea ecx, [ebp - 0x10]
push ecx
push 0x100162d8
push 1
push 0
push 0x100163a8
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10007461
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.10007260
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x100073fc
mov ecx, dword [eax]
jmp 0x100073fe
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
lea esi, [ebp - 0x14]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [ebp - 0x18]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10007300
test esi, esi
js 0x10007456
mov eax, dword [ebp - 0x14]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x14]
jns 0x1000747c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10012c5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c018]
jne 0x10012c66
repz ret
jmp fcn.10013241
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x401037
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path

Disassembly:
call 0x401037
push 0
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push esi
push edi
push ebx
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403030], eax
mov dword [ebp - 8], 0
push 0xa
push section..data
push 0
call sub.kernel32.dll_FindResourceA
or eax, eax
je 0x401089
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_LoadResource
or eax, eax
je 0x401089
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4010c1
push 4
push 0x1000
push dword [ebp - 0xc]
push 0
call sub.kernel32.dll_VirtualAlloc
mov edi, eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push edi
call sub.kernel32.dll_RtlMoveMemory
mov dword [ebp - 8], edi
push 0xdeadbeef
push dword [ebp - 0xc]
push dword [ebp - 8]
call section..text
cmp dword [ebp - 8], 0
je 0x4010fb
lea eax, [ebp - 0x40c]
push eax
push 0x400
call sub.kernel32.dll_GetTempPathA
push str.dup2patcher.dll
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_lstrcatA
push dword [ebp - 0xc]
push dword [ebp - 8]
lea eax, [ebp - 0x40c]
push eax
call fcn.00401184
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_LoadLibraryA
or eax, eax
je 0x401130
mov ebx, eax
push str.load_patcher
push ebx
call sub.kernel32.dll_GetProcAddress
or eax, eax
je 0x40111e
call eax
push ebx
call sub.kernel32.dll_FreeLibrary
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_DeleteFileA
pop ebx
pop edi
pop esi
leave
ret

Function at 0x401184
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x4011af
xor eax, eax
leave
ret 0xc
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
push dword [ebp - 4]
call sub.kernel32.dll_FlushFileBuffers
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
leave
ret 0xc
Function at 0x10001000
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
test eax, eax
je 0x100011ae
test edx, edx
je 0x100011ae
movzx ecx, byte [eax]
push esi
movzx esi, byte [eax + 1]
push edi
movzx edi, byte [eax + 5]
shl ecx, 8
xor ecx, esi
movzx esi, byte [eax + 2]
shl ecx, 8
xor ecx, esi
movzx esi, byte [eax + 3]
shl ecx, 8
xor ecx, esi
movzx esi, byte [eax + 4]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 6]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 7]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 9]
mov dword [edx + 4], esi
movzx esi, byte [eax + 8]
mov dword [edx], ecx
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xa]
lea ecx, [edx + 4]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xd]
mov dword [edx + 8], esi
movzx esi, byte [eax + 0xc]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl esi, 8
xor esi, edi
shl esi, 8
xor esi, eax
mov dword [edx + 0xc], esi
mov dword [edx + 0xf0], 0xa
mov eax, esi
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x1009cff0]
xor eax, 0x1000000
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x1009d3f0]
and edi, 0xff0000
and eax, 0xff000000
xor eax, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + 0x1009cbf0]
xor eax, edi
mov edi, esi
and edi, 0xff
mov edi, dword [edi*4 + 0x1009c7f0]
and edi, 0xff00
xor eax, edi
xor eax, dword [edx]
mov edi, dword [ecx]
xor edi, eax
mov dword [edx + 0x10], eax
mov eax, dword [edx + 8]
xor eax, edi
mov dword [edx + 0x18], eax
xor eax, esi
mov dword [edx + 0x14], edi
mov dword [edx + 0x1c], eax
mov esi, 0x1009e8f4
mov edi, edi
mov edx, dword [ecx + 0x18]
add ecx, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x1009d3f0]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x1009cff0]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + 0x1009c7f0]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x1009cbf0]
xor eax, edi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx - 4]
add esi, 4
xor eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ecx]
xor edx, eax
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 4]
xor eax, edx
mov dword [ecx + 0x14], eax
mov edx, dword [ecx + 8]
xor edx, eax
mov dword [ecx + 0x18], edx
cmp esi, 0x1009e918
jne 0x10001120
pop edi
xor eax, eax
pop esi
ret
or eax, 0xffffffff
ret
Function at 0x100011c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov edx, ebx
call fcn.10001000
test eax, eax
jl 0x100013f8
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x1000122d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
mov edi, edi
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x100011f0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x100013f4
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x1009cbf0]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1009cbf0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1009d7f0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1009dff0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1009cbf0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1009e3f0]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x1009cbf0]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1009dbf0]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x1009cbf0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1009cbf0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1009d7f0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1009dff0]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x1009cbf0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1009dbf0]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1009cbf0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1009e3f0]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x1009cbf0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1009cbf0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1009d7f0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1009dff0]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x1009cbf0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1009dbf0]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1009cbf0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1009e3f0]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x1009cbf0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1009cbf0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1009d7f0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1009dff0]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x1009cbf0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1009cbf0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1009dbf0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1009e3f0]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x10001241
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x10001fa0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x30]
mov esi, ecx
mov ebp, eax
cmp ebx, 0x10
jb 0x1000200e
shr ebx, 4
mov dword [esp + 0x10], ebx
mov ecx, edi
sub ebp, esi
mov eax, esi
sub ecx, esi
mov edx, 4
mov edi, edi
mov ebx, dword [eax + ebp]
xor ebx, dword [eax]
add eax, 4
sub edx, 1
mov dword [ecx + eax - 4], ebx
jne 0x10001fd0
mov eax, dword [esp + 0x2c]
push eax
push edi
push edi
call fcn.10001400
mov ebx, dword [esp + 0x34]
mov ebp, edi
sub ebx, 0x10
add esp, 0xc
add esi, 0x10
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x28], ebx
jne 0x10001fc1
mov eax, dword [esp + 0x30]
test ebx, ebx
je 0x1000210d
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x14], ecx
mov ecx, 1
sub ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, 2
sub ecx, esi
mov dword [esp + 0x1c], ecx
mov edx, ebp
sub edx, esi
mov ecx, 3
xor eax, eax
sub ecx, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
jmp 0x10002054
mov edx, dword [esp + 0x10]
cmp eax, ebx
jae 0x100020c2
mov ebx, dword [esp + 0x14]
lea ecx, [eax + esi]
mov dl, byte [edx + ecx]
xor dl, byte [ecx]
mov byte [ebx + ecx], dl
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
add edx, ecx
cmp edx, ebx
jae 0x100020b7
mov dl, byte [eax + ebp + 1]
xor dl, byte [eax + esi + 1]
mov byte [eax + edi + 1], dl
mov edx, dword [esp + 0x1c]
add edx, ecx
cmp edx, ebx
jae 0x100020ba
mov dl, byte [eax + esi + 2]
xor dl, byte [eax + ebp + 2]
mov byte [eax + edi + 2], dl
mov edx, dword [esp + 0x20]
add edx, ecx
cmp edx, ebx
jae 0x100020bf
mov cl, byte [eax + ebp + 3]
xor cl, byte [eax + esi + 3]
add eax, 4
mov byte [eax + edi - 1], cl
cmp eax, 0x10
jb 0x10002050
jmp 0x100020de
inc eax
jmp 0x100020c2
add eax, 2
jmp 0x100020c2
add eax, 3
cmp eax, 0x10
jae 0x100020de
mov edx, 0x10
sub ebp, edi
lea ecx, [eax + edi]
sub edx, eax
mov al, byte [ecx + ebp]
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x100020d3
mov ecx, dword [esp + 0x2c]
push ecx
push edi
push edi
call fcn.10001400
add esp, 0xc
mov ebp, edi
cmp ebx, 0x10
jbe 0x10002109
sub ebx, 0x10
add esi, 0x10
add edi, 0x10
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x10002016
mov eax, dword [esp + 0x30]
mov edx, dword [ebp]
mov dword [eax], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
pop edi
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
pop esi
pop ebp
mov dword [eax + 0xc], ecx
pop ebx
add esp, 0x14
ret
Function at 0x10002460
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, eax
cmp edi, ebx
jne 0x10002489
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x2c]
push ebx
push 0x80
push 3
push ebx
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x1000247f
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10002548
cmp dword [esp + 0x24], ebx
jne 0x10002548
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x10002548
mov dword [esp + 0x14], ebp
add ebp, 4
push ebp
push 8
push edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10002548
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x20]
push edx
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10002548
push ebp
push 8
push edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10002519
mov dword [esp + 0x10], eax
jmp 0x1000254c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
push 0
push edx
push esi
mov edx, ebx
call fcn.100025e0
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov eax, ebx
call fcn.10002770
test eax, eax
jge 0x1000254c
mov dword [esp + 0x10], 0
jmp 0x1000254c
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
je 0x10002567
push esi
push 0
push edi
call ebp
test ebx, ebx
je 0x10002571
push ebx
push 0
push edi
call ebp
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x10002580
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100025c2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0
lea ecx, [esp + 8]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x100025c7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x100027c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
jbe 0x100027f0
cmp eax, 2
ja 0x100027f0
push edi
push 0x100db788
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor edi, edi
jmp 0x100027e0
call fcn.10002e90
test eax, eax
jne 0x100027f3
inc edi
cmp edi, 0xb
jl 0x100027e0
pop edi
ret 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10002930
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTime]
push edi
lea eax, [esp + 0xc]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
push eax
mov eax, edx
mov edx, ecx
pop ecx
push eax
mov eax, edx
mov edx, ecx
pop ecx
push eax
mov eax, edx
mov edx, ecx
pop ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x1c]
push ecx
call esi
call edi
sub eax, ebx
mov edx, 0x1388
cmp edx, eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x20
ret
Function at 0x100031d0
Capabilities:
Create thread
Terminate process

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10002f60
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10003030
push 0
mov dword [0x100db78c], eax
push 0
call esi
push 0
push 0
push 0
push 0x10003100
push 0
mov dword [0x100db790], eax
push 0
call esi
mov dword [0x100db794], eax
mov eax, dword [0x100db78c]
pop esi
test eax, eax
je 0x1000323d
mov ecx, dword [0x100db790]
test ecx, ecx
je 0x1000323d
mov edx, dword [0x100db794]
test edx, edx
je 0x1000323d
mov eax, 1
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000fee0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov eax, dword [0x100d9234]
push edi
lea ecx, [esp + 4]
push ecx
push str.Software360iniconfig_elfsnow
push connect
mov dword [esp + 0x14], eax
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1000ff67
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push eax
mov eax, dword [esp + 0x18]
push str.dwCallId
push eax
call esi
test eax, eax
je 0x1000ff2e
xor edi, edi
mov edx, dword [esp + 8]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push str.dwDllVer
push edx
call esi
test eax, eax
je 0x1000ff4b
xor edi, edi
mov ecx, dword [esp + 8]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.dwLHP
push ecx
call esi
pop esi
test eax, eax
je 0x1000ff6e
xor eax, eax
pop edi
add esp, 8
ret
test edi, edi
je 0x1000ff7d
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
add esp, 8
ret

Function at 0x1000ff90
Capabilities:
Delete registry key

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 2
push 0
push str.Software
push connect
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ffc8
mov ecx, dword [esp + 4]
push str.360iniconfig_elfsnow
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1000ffcd
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret