joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443950
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x443b0a
cmp dword [edi + 0x18], 0
je 0x443b0a
cmp dword [edi + 0x7c], 0
je 0x443979
call fcn.00443b20
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
call fcn.004436f0
add esp, 8
test eax, eax
je 0x44399d
pop edi
mov eax, 0xffffff99
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x84
call fcn.00561eeb
mov esi, eax
add esp, 4
test esi, esi
je 0x4439e0
push 0x4000
call fcn.00561eeb
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x4439ec
push esi
call fcn.0055fc02
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x54], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x443a44
lea ecx, [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.00442490
test eax, eax
jne 0x443a44
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov cl, byte [edi + 0x30]
mov dword [esi + 0x58], eax
and cl, 1
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x30]
shr eax, 3
mov byte [esi + 0x6c], cl
test al, 1
je 0x443a68
mov al, byte [edi + 0x39]
jmp 0x443a6b
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov edx, 0xc
xor eax, eax
mov dword [esi + 0x70], 0x12345678
test cl, cl
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmovne eax, edx
mov dword [esi + 0x7c], eax
test ebx, ebx
je 0x443aeb
nop dword [eax]
mov al, byte [ebx]
test al, al
je 0x443aeb
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
movzx eax, cl
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
mov dword [esi + 0x70], ecx
mov ecx, dword [esi + 0x78]
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5d2640]
mov dword [esi + 0x78], ecx
add ebx, 1
jne 0x443aa0
mov eax, dword [ebp - 0xc]
add eax, 0x1e
mov dword [edi + 0x7c], esi
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593017
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5f88c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
push 0x44c
call fcn.0054b297
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x238], 0xffffffff
mov dword [ebx + 0x23c], 0
mov dword [ebx + 0x240], 0
test esi, esi
je 0x4447cd
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4447a0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.0054b2d5
add esp, 4
mov dword [ebx + 0x23c], eax
sub eax, esi
nop dword [eax]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax + esi - 1], cl
test cl, cl
jne 0x4447c0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx], 0
jne 0x4448a7
cmp dword [ebx + 4], 0xffffffff
jne 0x4448a7
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444800
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x444837
cmp eax, 0x2f
je 0x444837
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x444824
mov eax, dword [0x5d4030]
mov dword [edi], eax
push 0x20
call fcn.0054b297
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.00442e80
mov dword [ebx], eax
test eax, eax
jne 0x444878
mov eax, 0x200
jmp 0x4448ac
push 8
mov dword [0x60551c], 0
call fcn.0054b297
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x1000000
mov dword [0x60551c], eax
mov eax, dword [ebx + 0x23c]
test eax, eax
je 0x4448c4
push eax
call fcn.0054b2de
add esp, 4
mov eax, dword [ebx + 0x240]
mov dword [ebx + 0x23c], 0
test eax, eax
je 0x4448e1
push eax
call fcn.0054b2de
add esp, 4
push 0x44c
push ebx
mov dword [ebx + 0x240], 0
call fcn.0054b2c7
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452a30
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x452ab8
push 0x10000
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x452aa8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x452a90
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x452aba
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x452aba
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x452aba
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x45b3b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5f88c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0045af50
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CryptoPP::BaseN_Decoder.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.CryptoPP::BaseN_Decoder.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0045b030
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00496940
lea edx, [ebp + 0xc]
push edx
call fcn.0045d990
push eax
push 1
lea eax, [ebp + 8]
push eax
call fcn.0045d5f0
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0045a690
add esp, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
call fcn.0045a270
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004a3ad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0045c340
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4651a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59496d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5f88c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004035e0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004035e0
add esp, 4
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.00465e00
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00454570
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00467ab0
mov dword [ebp - 0x20], 0x464f80
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
push 0
lea ecx, [ebp - 0x14]
call fcn.00458180
push eax
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
call fcn.00561c02
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x46524c
lea ecx, [ebp - 0x14]
call fcn.0045a010
jmp 0x46525d
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call fcn.00537928
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00467ab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4670f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594c9f
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5f88c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004fd4f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.004fd4f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0x28
push eax
call fcn.00465ba0
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
movsd xmm0, qword [0x5a4410]
movsd qword [ecx + 0x30], xmm0
mov edx, dword [ebp - 0x14]
movsd xmm0, qword [0x5a4410]
movsd qword [edx + 0x38], xmm0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x40], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00467030
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
push ecx
call fcn.00465c70
add esp, 4
mov byte [ebp - 4], 4
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0xd]
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x58
push eax
call fcn.00465d30
add esp, 8
mov byte [ebp - 4], 5
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0xe]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x60
push edx
call fcn.00465d30
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
add eax, 0x5c
mov ecx, eax
call fcn.00458040
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
add eax, 0x2c
mov ecx, eax
call fcn.00458040
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
add eax, 0x44
mov ecx, eax
call fcn.00458040
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
xorps xmm0, xmm0
movsd qword [eax + 0x20], xmm0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
xorps xmm0, xmm0
movsd qword [eax + 0x18], xmm0
push 0x5a3aa1
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
add eax, 0x74
mov ecx, eax
call fcn.0040b380
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
mov dword [eax + 0xc], 0
push 0x5a3aa2
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
add eax, 0x8c
mov ecx, eax
call fcn.0040b380
push 0x5a3aa3
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
add eax, 0xa4
mov ecx, eax
call fcn.0040b380
push 0x5a3ad6
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00454b60
add eax, 0xbc
mov ecx, eax
call fcn.0040b380
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46d140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x46d160
jl 0x46d157
cmp dword [ebp + 0xc], 0
ja 0x46d160
xor eax, eax
xor edx, edx
jmp 0x46d297
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x46d182
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.004632f0
jmp 0x46d297
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.00461310
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x46d1f1
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00453290
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00462160
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004594f0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.004620d0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x46d288
mov ecx, dword [ebp - 8]
call fcn.00469280
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x46d261
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00560f33
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x46d25f
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x46d297
jmp 0x46d20d
cmp dword [ebp - 4], 0
jbe 0x46d288
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00560f33
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46df20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x438], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x46df6d
or eax, 0xffffffff
jmp 0x46e08d
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46df8d
mov byte [ebp - 0x439], 1
jmp 0x46df94
mov byte [ebp - 0x439], 0
mov dl, byte [ebp - 0x439]
mov byte [ebp - 0x43b], dl
movzx eax, byte [ebp - 0x43b]
test eax, eax
je 0x46e07e
mov ecx, dword [ebp - 0x430]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x46e037
push 0x208
lea edx, [ebp - 0x20c]
push edx
push 0
mov eax, dword [ebp - 0x440]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x46e02a
mov ecx, dword [ebp - 0x448]
cmp dword [ecx], 0
je 0x46e02a
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x448]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x444]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x46e057
mov byte [ebp - 0x43a], 1
jmp 0x46e05e
mov byte [ebp - 0x43a], 0
mov cl, byte [ebp - 0x43a]
mov byte [ebp - 0x43b], cl
mov edx, dword [ebp - 0x44c]
add edx, 1
mov dword [ebp - 0x44c], edx
jmp 0x46dfa0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret
Function at 0x470730
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595718
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
push 0x288
call fcn.00561eeb
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x288
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x4707a7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0055fc02
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00561eeb
add esp, 4
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4708ef
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x190]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x194
push edx
lea ecx, [ebp - 0x28]
call fcn.00419c40
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0xe8]
call fcn.0045f8d0
mov byte [ebp - 4], 1
push 0x30
lea eax, [ebp - 0x35]
push eax
call fcn.0046f990
add esp, 8
push eax
push 0x472630
push 0x4722c0
lea ecx, [ebp - 0xe8]
call fcn.004700f0
mov ecx, eax
call fcn.004700f0
push eax
call fcn.0046e880
add esp, 8
mov dword [ebp - 0x30], 0
jmp 0x47083c
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
call fcn.00402f90
cmp dword [ebp - 0x30], eax
jae 0x4708a6
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x28]
call fcn.00403da0
movsx eax, byte [eax]
push eax
push 0
push 2
lea ecx, [ebp - 0x50]
push ecx
call fcn.00537b38
add esp, 0xc
push eax
lea edx, [ebp - 0xe8]
push edx
call fcn.0046e8a0
add esp, 8
mov ecx, eax
call fcn.0046fdd0
lea ecx, [ebp - 0x28]
call fcn.00402f90
sub eax, 1
cmp dword [ebp - 0x30], eax
jae 0x4708a4
push 0x5a46b4
lea eax, [ebp - 0xe8]
push eax
call fcn.0046e8d0
add esp, 8
jmp 0x470833
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0055fc02
add esp, 4
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xe8]
call fcn.00462f90
mov eax, dword [ebp - 0x34]
or eax, 1
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00460a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov eax, dword [ebp + 8]
jmp 0x470914
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0055fc02
add esp, 4
push 0x5a44d6
mov ecx, dword [ebp + 8]
call fcn.00403fb0
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret
Function at 0x478aa0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595efd
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150], 0
push str.unknow
lea ecx, [ebp - 0x28]
call fcn.00403fb0
mov dword [ebp - 4], 0
push 0x11c
push 0
lea eax, [ebp - 0x144]
push eax
call fcn.0054d9f0
add esp, 0xc
mov dword [ebp - 0x144], 0x11c
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x478c54
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x148], 5
jne 0x478b5a
cmp dword [ebp - 0x14c], 1
jne 0x478b5a
push str.winxp
lea ecx, [ebp - 0x28]
call fcn.0040b380
jmp 0x478c54
cmp dword [ebp - 0x148], 6
jne 0x478b7e
cmp dword [ebp - 0x14c], 0
jne 0x478b7e
push str.winvista
lea ecx, [ebp - 0x28]
call fcn.0040b380
jmp 0x478c54
cmp dword [ebp - 0x148], 6
jne 0x478ba2
cmp dword [ebp - 0x14c], 1
jne 0x478ba2
push str.win7
lea ecx, [ebp - 0x28]
call fcn.0040b380
jmp 0x478c54
cmp dword [ebp - 0x148], 6
jne 0x478bc6
cmp dword [ebp - 0x14c], 2
jne 0x478bc6
push str.win8
lea ecx, [ebp - 0x28]
call fcn.0040b380
jmp 0x478c54
cmp dword [ebp - 0x148], 6
jne 0x478be7
cmp dword [ebp - 0x14c], 3
jne 0x478be7
push str.win8.1
lea ecx, [ebp - 0x28]
call fcn.0040b380
jmp 0x478c54
cmp dword [ebp - 0x140], 0xa
jne 0x478c14
cmp dword [ebp - 0x13c], 0
jne 0x478c14
cmp dword [ebp - 0x138], 0x55f0
jb 0x478c14
push 0x5a5df4
lea ecx, [ebp - 0x28]
call fcn.0040b380
jmp 0x478c54
cmp dword [ebp - 0x148], 0xa
jne 0x478c35
cmp dword [ebp - 0x14c], 0
jne 0x478c35
push str.win10
lea ecx, [ebp - 0x28]
call fcn.0040b380
jmp 0x478c54
cmp dword [ebp - 0x148], 0xa
jne 0x478c54
cmp dword [ebp - 0x14c], 0
jle 0x478c54
push str.win11
lea ecx, [ebp - 0x28]
call fcn.0040b380
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403f70
mov edx, dword [ebp - 0x150]
or edx, 1
mov dword [ebp - 0x150], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret

Function at 0x478ca0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov byte [ebp - 1], 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x28]
cmp ecx, 9
je 0x478cc6
movzx edx, word [ebp - 0x28]
cmp edx, 0xc
jne 0x478cca
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x479920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 4
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x240]
push edx
push 0
push str.SystemComponent
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x238], 1
jne 0x47999b
mov al, 1
jmp 0x479ab9
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0054d9f0
add esp, 0xc
mov dword [ebp - 0x23c], 0x208
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
push ecx
push 0
push str.DisplayName
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4799f9
mov al, 1
jmp 0x479ab9
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
push ecx
push 0
push 0
push 0
push str.ParentKeyName
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x479a2a
mov al, 1
jmp 0x479ab9
mov dword [ebp - 0x238], 0
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x240]
push edx
push 0
push str.ClickToRunComponent
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x238], 1
jne 0x479a67
mov al, 1
jmp 0x479ab9
mov ecx, dword [ebp + 0x14]
call fcn.00403230
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00481e40
add esp, 8
mov dword [ebp - 4], 0
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
call fcn.0047b2c0
mov byte [ebp - 0x231], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00403f20
mov al, byte [ebp - 0x231]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret 0x10