joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425c7d
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4a20a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x428], eax
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], ebx
push ebx
push eax
mov esi, ebx
mov dword [ebp - 0x41c], ebx
call fcn.00434750
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x425dc8
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
jmp 0x425da2
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x425d94
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.00434750
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425d8c
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.0043685a
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x425cfe
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x425ebd
xor ebx, ebx
lea eax, [ebp - 0x418]
push eax
push 9
push ebx
push 0x48a090
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425ebd
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
jmp 0x425ea1
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x425e93
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00434750
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425e8b
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.0043685a
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x425dfd
push dword [ebp - 0x418]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417499
mov esp, ebp
pop ebp
ret 4
Function at 0x4260ab
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x4833ec
call fcn.00417c9f
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.00434750
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x426116
lea eax, [ebp - 0x218]
push eax
call fcn.00445ea7
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.0040b830
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.00445ea7
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.0040cb10
xor ebx, ebx
cmp word [esi], bx
jne 0x426150
mov eax, ebx
jmp 0x426157
push esi
call fcn.00445ea7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.0040cb10
mov esi, str..lnk
push esi
call fcn.00445ea7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.0040cb10
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x426265
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00434750
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00434750
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004462f0
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0042496d
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00434750
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.00445ea7
pop ecx
test eax, eax
jne 0x426253
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004462f0
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x426265
xor esi, esi
inc esi
jmp 0x426267
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.0040b7c0
mov eax, esi
call fcn.00417c5a
ret 4
Function at 0x42627f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a20a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x4a3a4e]
test al, al
jne 0x426318
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00434750
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42630f
lea eax, [ebp - 0x20c]
push eax
call fcn.00445b81
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0043685a
pop ecx
pop ecx
test eax, eax
jne 0x426307
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0043685a
pop ecx
pop ecx
test eax, eax
je 0x42630f
mov byte [0x4a3a4e], bl
jmp 0x426315
mov bl, byte [0x4a3a4e]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417499
mov esp, ebp
pop ebp
ret
Function at 0x426e7e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a20a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.00434750
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x426ee9
lea eax, [ebp - 0x20c]
push 0x49a9dc
push eax
call fcn.0044627f
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00426326
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417499
mov esp, ebp
pop ebp
ret 4
Function at 0x427915
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x483728
call fcn.00417c9f
mov esi, ecx
lea eax, [esi + 4]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.00409ee0
xor edi, edi
mov byte [ebp - 4], 3
cmp dword [ebp + 8], edi
je 0x427954
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x427954
push 0xffffffffffffffff
push edi
push eax
call fcn.0040b930
push 8
pop ebx
cmp dword [ebp + 0x50], ebx
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427974
xor esi, esi
inc esi
jmp 0x427a8f
lea eax, [ebp + 0xc]
push eax
call fcn.0041dc93
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041d42b
add esp, 0xc
cmp dword [ebp - 0x14], ebx
lea edx, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp + 0x24]
cmovae edx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp + 0x38], ebx
push edx
cmovae ecx, dword [ebp + 0x24]
cmp dword [ebp - 0x2c], ebx
push ecx
cmovae eax, dword [ebp - 0x40]
push 0x48a428
push eax
mov byte [ebp - 4], 4
call esi
cmp dword [ebp - 0x14], ebx
lea edx, [ebp - 0x28]
lea ecx, [ebp + 0x3c]
cmovae edx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp + 0x50], ebx
push edx
cmovae ecx, dword [ebp + 0x3c]
cmp dword [ebp - 0x2c], ebx
push ecx
cmovae eax, dword [ebp - 0x40]
push str.File
push eax
call esi
cmp dword [ebp + 0x50], ebx
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00409e80
lea eax, [ebp - 0x58]
push eax
call fcn.00420324
add esp, 0x1c
cmp dword [ebp - 0x14], ebx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
cmovae edx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x44], ebx
push edx
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], ebx
push ecx
cmovae eax, dword [ebp - 0x40]
push str.LastMD5
push eax
call esi
push edi
call fcn.004380a8
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00427b17
add esp, 0xc
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
mov ecx, eax
cmovae edx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], ebx
jb 0x427a5a
mov ecx, dword [ecx]
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
push edx
cmovae eax, dword [ebp - 0x40]
push ecx
push str.CacheTime
push eax
call esi
xor esi, esi
lea ecx, [ebp - 0x70]
push edi
inc esi
push esi
call fcn.0040b7c0
push edi
push esi
lea ecx, [ebp - 0x58]
call fcn.0040b7c0
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.0040b7c0
push edi
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b7c0
push edi
push esi
lea ecx, [ebp + 0xc]
call fcn.0040b7c0
push edi
push esi
lea ecx, [ebp + 0x24]
call fcn.0040b7c0
push edi
push esi
lea ecx, [ebp + 0x3c]
call fcn.0040b7c0
call fcn.00417c5a
ret 0x4c

Function at 0x428529
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
Function at 0x428913
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x48390f
call fcn.00417c9f
mov esi, dword [ebp + 8]
and dword [ebp - 0x64], 0
push 0x288
mov dword [ebp - 0x54], 4
call fcn.0043bb0c
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42894f
push 0x49a910
mov ecx, esi
call fcn.0040a0b0
jmp 0x428ab7
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x428974
push ebx
call fcn.004380ea
push dword [ebp - 0x54]
call fcn.0043bb0c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x42893e
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x428a8c
mov byte [ebp - 0x20], al
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x60], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov edi, ebx
test ebx, ebx
je 0x428a65
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.0040f690
lea eax, [edi + 0x10c]
push eax
call fcn.0047fa4e
push 0x48a4b8
push eax
call fcn.00436ae0
add esp, 0x2c
test eax, eax
jne 0x428ac1
cmp dword [edi + 0x1a0], 0x47
je 0x428ac1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040a0b0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.00428e16
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040bac0
mov edi, dword [edi]
test edi, edi
jne 0x4289bc
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x428a84
lea eax, [ebp - 0x38]
cmp eax, ecx
je 0x428a84
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0040bdc0
lea ecx, [ebp - 0x60]
call fcn.00426efe
push ebx
call fcn.004380ea
pop ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x38]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.0040c210
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.0040bac0
mov eax, esi
call fcn.00417c5a
ret 4
cmp byte [ebp - 0x20], 0
jne 0x428acb
xor eax, eax
jmp 0x428ad5
lea eax, [ebp - 0x20]
push eax
call fcn.00446490
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040bcc0
jmp 0x428a84
Function at 0x428b01
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x4a20a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.00434750
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x49ae98
call fcn.00445ea7
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00446b08
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00434750
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00434750
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.00434750
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x428bff
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.0040f690
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.0040a0b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417499
mov esp, ebp
pop ebp
ret 4
Function at 0x428ebf
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x428fa0
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x428ee3
inc edx
cmp edx, 2
jg 0x428f21
cmp al, 0x7f
ja 0x428f21
movzx eax, al
mov al, byte [eax + 0x48a518]
cmp al, 0x7f
je 0x428f21
cmp al, 0x40
jae 0x428efc
test edx, edx
jne 0x428f21
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x428ed6
test ecx, ecx
je 0x428fa0
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x428f26
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x428f23
push 0xffffffffffffffee
pop eax
jmp 0x428fa2
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x428f9a
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x48a518]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x428f8b
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x428f76
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x428f83
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x428f8b
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x428f3b
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x428fa6
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x428fba
xor eax, eax
jmp 0x4290f8
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x428fe3
dec edx
sub edx, 1
jne 0x428fe5
add eax, 2
jmp 0x428fe5
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x428ff8
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x4290f7
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x42908e
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x48a4d8]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x48a4d8]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x48a4d8]
mov byte [edi + 2], al
mov al, byte [esi + 0x48a4d8]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x429023
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x429091
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x4290ea
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x4290a6
movzx ecx, byte [eax + 1]
jmp 0x4290a8
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x48a4d8]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x48a4d8]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x4290df
and ecx, 0xf
mov al, byte [ecx*4 + 0x48a4d8]
mov byte [edi + 2], al
jmp 0x4290e3
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c5ca
Capabilities:
Check os version

Disassembly:
push 0x34c
mov eax, 0x483e66
call fcn.00417c9f
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x358], esi
push 0x118
push ebx
mov dword [ebp - 0x350], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.00434750
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x49ad5c
mov ecx, esi
call fcn.00409e80
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x32c]
push str.ntdll.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42c6c1
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c6ba
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x34c]
cmp eax, 5
jne 0x42c6f3
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x42c7bf
cmp eax, 1
jne 0x42c6e9
mov edi, str.WindowsXP
jmp 0x42c7af
mov edi, str.WindowsServer2003
jmp 0x42c7af
cmp eax, 6
jne 0x42c7bf
mov eax, dword [ebp - 0x348]
sub eax, ebx
je 0x42c79c
sub eax, 1
je 0x42c795
mov edi, dword [ebp - 0x338]
sub eax, 1
jne 0x42c7c5
cmp edi, 0x1ebb
jne 0x42c731
mov edi, str.Windows8
jmp 0x42c7af
lea eax, [edi - 0x1ee6]
cmp eax, 0x25
jbe 0x42c72a
cmp edi, 0x1f13
je 0x42c72a
cmp dword [ebp - 0x340], 0xa
jne 0x42c769
cmp dword [ebp - 0x344], 0
jne 0x42c7c5
push str.Windows10
call fcn.00445ea7
pop ecx
push eax
push str.Windows10
jmp 0x42c78c
cmp dword [ebp - 0x340], 6
jne 0x42c7c5
cmp dword [ebp - 0x344], 3
jne 0x42c7c5
push str.Windows8.1
call fcn.00445ea7
pop ecx
push eax
push str.Windows8.1
mov ecx, esi
call fcn.0040b830
jmp 0x42c7c5
mov edi, str.Windows7
jmp 0x42c7af
cmp dword [ebp - 0x354], 1
mov edi, str.WindowsVista
je 0x42c7af
mov edi, str.WindowsServer2008
push edi
call fcn.00445ea7
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0040b830
mov edi, dword [ebp - 0x338]
push 0x49ad5c
mov ecx, esi
call fcn.0040dd40
test eax, eax
jne 0x42c833
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00434750
mov eax, dword [ebp - 0x34c]
push edi
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.004142b0
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x42c817
mov eax, ebx
jmp 0x42c824
lea eax, [ebp - 0x218]
push eax
call fcn.00445ea7
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040b830
cmp dword [ebp + 0xc], 0
je 0x42c861
cmp word [ebp - 0x320], 0
je 0x42c852
lea eax, [ebp - 0x320]
push eax
call fcn.00445ea7
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.0040cb10
mov eax, esi
call fcn.00417c5a
ret
Function at 0x42e443
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x42ed61
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x42ede1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48ab80
push eax
call edi
push 0x48ad90
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x42ede0
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret

Function at 0x42efca
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x484258
call fcn.00417c9f
mov eax, dword [ebp + 8]
test eax, eax
je 0x42f0c6
push eax
lea ecx, [ebp - 0x40]
call fcn.00409e80
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041dc93
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.00434750
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42f0b7
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x42f0ac
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x42f056
mov eax, ebx
jmp 0x42f063
lea eax, [ebp - 0x248]
push eax
call fcn.00445ea7
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b830
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0041dc93
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040dd90
test eax, eax
je 0x42f0cc
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040b7c0
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42f039
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0040b7c0
mov eax, esi
call fcn.00417c5a
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0040b7c0
jmp 0x42f0b9