joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d9d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x48d9d8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48dbca
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x48dbe0
mov eax, esi
call fcn.0048b760
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040408c
lea ecx, [ebp - 0x10]
mov edx, 0x48dbf4
mov eax, esi
call fcn.0048b760
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040408c
lea ecx, [ebp - 0x14]
mov edx, 0x48dc0c
mov eax, esi
call fcn.0048b760
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040408c
lea ecx, [ebp - 0x18]
mov edx, 0x48dc28
mov eax, esi
call fcn.0048b760
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040408c
lea ecx, [ebp - 0x1c]
mov edx, 0x48dc44
mov eax, esi
call fcn.0048b760
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040408c
lea ecx, [ebp - 0x24]
mov edx, 0x48dc5c
mov eax, esi
call fcn.0048b760
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408564
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408afc
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x48dc74
mov eax, esi
call fcn.0048b760
mov eax, dword [ebp - 0x28]
call fcn.0048a878
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x48dc84
mov eax, esi
call fcn.0048b760
mov eax, dword [ebp - 0x2c]
call fcn.0048a878
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x48dc9c
mov eax, esi
call fcn.0048b760
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408afc
inc eax
je 0x48db6d
lea ecx, [ebp - 0x34]
mov edx, 0x48dc9c
mov eax, esi
call fcn.0048b760
mov eax, dword [ebp - 0x34]
call fcn.00408ac0
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a070
fstp qword [ebp - 0x3c]
wait
call fcn.0040a3d4
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x48db88
lea ecx, [ebp - 0x40]
mov edx, 0x48dc9c
mov eax, esi
call fcn.0048b760
mov eax, dword [ebp - 0x40]
call fcn.0048a878
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x48dcac
mov eax, esi
call fcn.0048b760
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040408c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dbd1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040405c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040405c
ret
Function at 0x499e68
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x499ec2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00499e58
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004893e8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00488fe8
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499ec9
lea eax, [ebp - 4]
call fcn.00404038
ret

Function at 0x4a5210
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4ca898]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4a524c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4a5264
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4a525d
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00402c50
xor edx, edx
mov eax, 0x4caa98
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4a52ce
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4a5282
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4a550c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4a5525
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4a551e
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4a5537
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4a5530
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004a5100
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4a5551
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004a5210
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4a55d6
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4a55f3
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004a5190
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4a561c
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a5634
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4a564d
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4a5646
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4a5661
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004a4ff8
test bl, bl
jne 0x4a5734
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4cd0bc
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4a5698
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4a56ac
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004a550c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4a56de
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4a568d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4a5701
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4a5712
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4a5726
jmp 0x4a57ef
cmp bl, 1
jne 0x4a57ef
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4cd116
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4a5754
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4a5768
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004a550c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4a579a
sub ebx, 6
inc dword [ebp - 8]
jne 0x4a5749
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4a57c1
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4a57d2
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4a57e6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004a507c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4a6cc4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
xor edx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004044e8
lea ebx, [ebp - 0x130]
xor eax, eax
push ebp
push 0x4a6e55
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a6e28
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov eax, 2
call fcn.00466258
mov dword [ebp - 8], eax
mov dword [ebx], 0x128
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00466278
jmp 0x4a6e09
lea eax, [ebp - 0x13c]
lea edx, [ebx + 0x24]
mov ecx, 0x104
call fcn.004042a8
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00408f58
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004082f4
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
call fcn.004082f4
mov edx, dword [ebp - 0x140]
pop eax
call fcn.00404444
je 0x4a6dea
lea eax, [ebp - 0x148]
lea edx, [ebx + 0x24]
mov ecx, 0x104
call fcn.004042a8
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004082f4
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
call fcn.004082f4
mov edx, dword [ebp - 0x14c]
pop eax
call fcn.00404444
jne 0x4a6dff
push 0
mov eax, dword [ebx + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00466298
test eax, eax
jne 0x4a6d4b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6e2f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x432d19
Capabilities:
Encode data using xor

Disassembly:
push 1
pop ecx
cmp dword [esp + 8], ecx
jl 0x432d39
mov eax, dword [esp + 4]
mov edx, ecx
and edx, 3
mov dl, byte [esp + edx + 0xc]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esp + 8]
jle 0x432d26
ret

Function at 0x43c20c
Capabilities:
Encode data using xor

Disassembly:
push 1
pop ecx
cmp dword [esp + 8], ecx
jl 0x43c22c
mov eax, dword [esp + 4]
mov edx, ecx
and edx, 3
mov dl, byte [esp + edx + 0xc]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esp + 8]
jle 0x43c219
ret
Function at 0x40563b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.005245be
movzx ebx, word [esp + 0x14]
mov esi, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.DLL_FindResourceA]
push 2
push ebx
push esi
call ebp
mov edi, eax
test edi, edi
jne 0x40566c
xor esi, esi
push 2
push ebx
push esi
call ebp
mov edi, eax
test edi, edi
je 0x405690
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x405690
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x405690
push eax
call fcn.00405608
cmp ax, 0x10
pop ecx
je 0x405694
xor eax, eax
jmp 0x40569d
push 0
push edi
push esi
call fcn.00515cb5
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405799
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
xor esi, esi
cmp dword [0x597588], esi
je 0x4057b7
mov eax, dword [0x597584]
jmp 0x40586a
push ebx
push 1
pop ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftPlus_ThemesCurrent
push reloc.WSOCK32.dll_accept
mov dword [0x597588], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405864
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
mov dword [ebp - 0xc], 0x104
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40585a
push 5
mov esi, str.Windows_Classic.theme
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea eax, [ebp - 0x134]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x24]
push eax
call esi
cmp edi, eax
jl 0x40585a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push eax
call esi
sub edi, eax
lea eax, [ebp + edi - 0x134]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x40585a
mov dword [0x597584], ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, dword [0x597584]
pop ebx
pop esi
leave
ret
Function at 0x40a4c0
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x52d11c
call fcn.004eec88
sub esp, 0x1c
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x44], eax
jne 0x40a621
mov ecx, dword [0x5927d4]
push ebx
push edi
mov dword [ebp - 0x10], ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push eax
push 0x146
push dword [esi + 0x1c]
mov dword [ebp - 4], eax
call ebx
and byte [ebp - 0x28], 0
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0x27]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x28]
push 0xa
push eax
push 0xc
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x14]
push eax
call fcn.00509ffe
mov eax, dword [ebp - 0x14]
xor edi, edi
mov byte [ebp - 4], 1
cmp dword [eax - 8], edi
jne 0x40a541
push 0x2c
lea ecx, [ebp - 0x14]
call fcn.005055dd
lea ecx, [ebp - 0x14]
call fcn.00505ffa
mov ecx, esi
call fcn.0040ae7a
test eax, eax
je 0x40a580
push edi
push edi
push 0x147
push dword [esi + 0x1c]
call ebx
cmp eax, edi
jl 0x40a572
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, esi
call fcn.0040ab8c
jmp 0x40a5e9
lea eax, [esi + 0x40]
lea ecx, [ebp - 0x10]
push eax
call fcn.0050a0c9
jmp 0x40a5e9
xor ebx, ebx
cmp dword [ebp - 0x1c], edi
jle 0x40a5e9
push ebx
mov ecx, esi
call fcn.0040a65e
test eax, eax
je 0x40a5e3
mov eax, dword [0x5927d4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push ebx
mov byte [ebp - 4], 2
call fcn.0051e8a0
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push ebx
call fcn.0040ab8c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x40a5cb
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.0050a3a8
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.0050a3a8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00509f90
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x40a587
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00505f65
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x40]
push eax
call fcn.0050a0c9
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x44], 1
call fcn.00509f90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00509f90
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x414548
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esi
push edi
push 0xc
push 0x5452d0
call fcn.004146a0
pop ecx
mov esi, eax
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push esi
mov edi, eax
call fcn.00509cfa
xor ebp, ebp
pop ecx
cmp edi, ebp
je 0x41465d
push ebx
push 0x18
push 0x5452dc
call fcn.004146a0
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
pop ecx
mov ebx, eax
push ebx
push edi
call esi
push ebx
mov dword [0x5976dc], eax
call fcn.00509cfa
push 0xe
push 0x5452f4
call fcn.004146a0
add esp, 0xc
mov ebx, eax
push ebx
push edi
call esi
push ebx
mov dword [0x5976e0], eax
call fcn.00509cfa
push 0xd
push 0x545304
call fcn.004146a0
add esp, 0xc
mov ebx, eax
push ebx
push edi
call esi
push ebx
mov dword [0x5976e4], eax
call fcn.00509cfa
push 0xd
push 0x545314
call fcn.004146a0
add esp, 0xc
mov ebx, eax
push ebx
push edi
call esi
push ebx
mov dword [0x5976e8], eax
call fcn.00509cfa
push 0xc
push 0x545324
call fcn.004146a0
add esp, 0xc
mov ebx, eax
push ebx
push edi
call esi
push ebx
mov dword [0x5976ec], eax
call fcn.00509cfa
push 0xd
push 0x545330
call fcn.004146a0
add esp, 0xc
mov ebx, eax
push ebx
push edi
call esi
push ebx
mov dword [0x5976f0], eax
call fcn.00509cfa
push 0xc
push 0x545340
call fcn.004146a0
add esp, 0xc
mov ebx, eax
push ebx
push edi
call esi
push ebx
mov dword [0x5976f4], eax
call fcn.00509cfa
pop ecx
pop ebx
cmp dword [0x5976dc], ebp
je 0x41469a
cmp dword [0x5976e0], ebp
je 0x41469a
cmp dword [0x5976e4], ebp
je 0x41469a
cmp dword [0x5976e8], ebp
je 0x41469a
cmp dword [0x5976ec], ebp
je 0x41469a
cmp dword [0x5976f0], ebp
je 0x41469a
cmp dword [0x5976f4], ebp
je 0x41469a
push 1
pop eax
jmp 0x41469c
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x41e628
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, ecx
push esi
push str.ntdll.dll
and dword [ebx], 0
and dword [ebx + 4], 0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
mov dword [ebx], eax
je 0x41e68f
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.ZwOpenSection
push eax
call esi
test eax, eax
mov dword [ebx + 0x14], eax
je 0x41e68f
push str.ZwMapViewOfSection
push dword [ebx]
call esi
test eax, eax
mov dword [ebx + 0x18], eax
je 0x41e68f
push str.ZwUnmapViewOfSection
push dword [ebx]
call esi
test eax, eax
mov dword [ebx + 0x1c], eax
je 0x41e68f
push str.RtlInitUnicodeString
push dword [ebx]
call esi
test eax, eax
mov dword [ebx + 0x20], eax
jne 0x41e693
xor eax, eax
jmp 0x41e6ea
lea eax, [ebx + 0x24]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov esi, str.DevicePhysicalMemory
lea edi, [ebp - 0x50]
push 0xb
lea eax, [ebp - 0x50]
pop ecx
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 8]
push eax
movsw word es:[edi], word [esi]
call dword [ebx + 0x20]
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x18
push eax
lea eax, [ebx + 4]
push 4
push eax
mov dword [ebp - 0x18], ecx
call dword [ebx + 0x14]
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41e815
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x12]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
cmp dword [edi + 4], 0x100000
jae 0x41e877
sgdt [ebp - 8]
sldt word [ebp - 2]
movzx eax, word [ebp - 2]
add eax, dword [ebp - 6]
push 7
pop ebx
movzx esi, byte [eax + 7]
movzx ecx, byte [eax + 4]
movzx eax, word [eax + 2]
shl esi, 8
add esi, ecx
shl esi, 0x10
add esi, eax
xor eax, eax
mov word [edi + 0xc], ax
mov dword [edi + 0xe], eax
add esi, 0x38
add esi, 8
inc ebx
test byte [esi + 5], 0x80
je 0x41e87e
cmp bx, 0x7ff
jbe 0x41e866
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 8
push eax
push esi
call fcn.004eed90
mov ax, word [edi + 4]
or word [esi], 0xffff
mov word [esi + 2], ax
mov eax, dword [edi + 4]
shr eax, 0x10
mov byte [esi + 4], al
mov eax, dword [edi + 4]
shr eax, 0x18
add esp, 0xc
or byte [esi + 6], 0x1f
mov byte [esi + 7], al
lea eax, [ebx*8 + 7]
mov byte [esi + 5], 0xf2
push 1
mov word [edi + 0xc], ax
mov dword [edi + 0xe], esi
pop eax
jmp 0x41e879
Function at 0x420e48
Capabilities:
Enumerate processes
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x420e73
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 0xc]
jne 0x420e6a
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 0xc], ecx
je 0x420e6f
mov eax, dword [eax + 0x10]
jmp 0x420e56
xor eax, eax
leave
ret
and dword [ebp - 4], 0
push edi
push 0
push 4
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 8], edi
je 0x420f3b
push ebx
push esi
push 0x1c
lea eax, [ebp - 0x24]
pop esi
push eax
push edi
mov dword [ebp - 0x24], esi
call sub.KERNEL32.DLL_Thread32First
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x420f34
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
je 0x420eca
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], esi
push eax
push edi
call sub.KERNEL32.DLL_Thread32Next
test eax, eax
jne 0x420eaf
jmp 0x420f34
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x420f34
lea eax, [ebp - 0x14c]
mov esi, 0x128
push eax
push edi
mov dword [ebp - 0x14c], esi
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x420f31
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x144]
je 0x420f16
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x14c], esi
push eax
push edi
call sub.KERNEL32.DLL_Process32Next
jmp 0x420ef2
push dword [ebp + 0x10]
lea eax, [ebp - 0x128]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00420bdf
add esp, 0x10
mov dword [ebp - 4], eax
push edi
call ebx
push dword [ebp - 8]
call ebx
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret

Function at 0x42290b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x422964
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret