joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bf73
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
cmp dword [eax + 0x10], ebx
je 0x42c0c3
cmp dword [esi + 0x10], ebx
je 0x42c0c3
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x42bfeb
push 0x332
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___SHGetSpecialFolderPath_error.
jmp 0x42c0d2
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0x14], 8
jb 0x42bff9
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x42c01f
push 0x339
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___PathAppend_error.
jmp 0x42c0d2
lea eax, [ebp - 0x210]
push eax
push 0x33d
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___installdir_is:__s
call fcn.0040a649
add esp, 0x10
cmp dword [edi + 0x10], ebx
jne 0x42c0a1
push 0x208
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42c05f
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x42c0da
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c0da
push 0x345
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___find_file_is_success.
call fcn.0040a649
mov bl, 1
jmp 0x42c0d7
cmp dword [edi + 0x14], 8
jb 0x42c0a9
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x42c0b1
mov esi, dword [esi]
push edi
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0042c0ed
mov bl, al
jmp 0x42c0da
push 0x329
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___SubKey__wstrAppendFile_is_NULL.
call fcn.0040a649
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret 0x10
Function at 0x42c0ed
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x670], eax
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x42c236
test edi, edi
je 0x42c236
test esi, esi
je 0x42c236
push 0x208
lea eax, [ebp - 0x41c]
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x41c]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x42c170
push 0x35d
push str.base::RivalMonitor::IsFileInDir
push str.__s__d___PathCombine_error.
call fcn.0040a649
add esp, 0xc
jmp 0x42c236
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42c236
test byte [ebp - 0x66c], 0x10
push 0x2e
pop eax
je 0x42c215
cmp word [ebp - 0x640], ax
jne 0x42c1bf
cmp word [ebp - 0x63e], bx
je 0x42c215
cmp word [ebp - 0x63e], ax
jne 0x42c1bf
cmp word [ebp - 0x63c], bx
je 0x42c215
push 0x208
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x640]
push eax
push edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x42c215
push dword [ebp - 0x670]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x42c215
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c22c
lea eax, [ebp - 0x66c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42c22f
jmp 0x42c18f
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret 0xc
Function at 0x42dba1
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edx + 3]
push 4
sub edx, edi
pop ebx
lea eax, [edi + 1]
mov dword [ebp - 0xc], eax
mov esi, eax
mov al, byte [ecx - 3]
mov byte [esi - 1], al
mov al, byte [edx + esi]
mov byte [esi], al
lea esi, [esi + 4]
mov al, byte [ecx - 1]
mov byte [esi - 3], al
mov al, byte [ecx]
lea ecx, [ecx + 4]
mov byte [esi - 2], al
sub ebx, 1
jne 0x42dbbc
mov eax, dword [ebp - 0xc]
lea ecx, [edi + 3]
push 4
lea esi, [edi + 0x11]
mov dword [ebp - 8], ecx
pop ebx
lea edx, [eax + 0xc]
sub edi, eax
mov cl, byte [edx + 1]
mov ah, byte [edi + edx]
mov al, byte [edx]
mov byte [ebp - 1], cl
mov cl, byte [edx + 2]
mov byte [ebp - 2], cl
mov ecx, dword [ebp - 8]
mov byte [ebp - 4], ah
mov byte [ebp - 3], al
test bl, 3
jne 0x42dc4e
movzx ecx, al
movzx eax, byte [ebp - 1]
mov al, byte [eax + str.cw]
mov byte [ebp - 3], al
movzx eax, byte [ebp - 2]
mov al, byte [eax + str.cw]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 4]
mov al, byte [eax + str.cw]
mov byte [ebp - 2], al
mov eax, ebx
shr eax, 2
mov ah, byte [eax + 0x622cbc]
xor ah, byte [ecx + str.cw]
mov ecx, dword [ebp - 8]
mov al, byte [esi - 0x11]
xor al, ah
mov ah, byte [ebp - 2]
mov byte [esi - 1], al
mov al, byte [edx - 0xc]
add edx, 4
xor al, byte [ebp - 3]
mov byte [esi], al
mov al, byte [ecx - 1]
xor al, byte [ebp - 1]
mov byte [esi + 1], al
mov al, byte [ecx]
add ecx, 4
xor al, ah
mov dword [ebp - 8], ecx
mov byte [esi + 2], al
inc ebx
add esi, 4
cmp ebx, 0x2c
jb 0x42dbf1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42dcae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
movzx ecx, cl
shl ecx, 4
add ecx, dword [ebp + 8]
push 4
pop edi
push 4
pop esi
mov al, byte [ecx]
xor byte [edx], al
inc ecx
inc edx
sub esi, 1
jne 0x42dcc2
sub edi, 1
jne 0x42dcbf
pop edi
pop esi
pop ebp
ret
Function at 0x42dce9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 4
lea esi, [ecx + 2]
pop edi
mov al, byte [esi - 2]
mov dh, byte [esi - 1]
mov dl, byte [esi]
mov byte [ebp - 4], al
mov al, byte [esi + 1]
mov cl, al
mov byte [ebp - 5], dh
mov byte [ebp - 3], dl
mov byte [ebp - 7], al
call fcn.0042dcd6
mov cl, al
mov byte [ebp - 9], al
call fcn.0042dcd6
mov cl, dl
mov byte [ebp - 2], al
call fcn.0042dcd6
mov cl, al
mov byte [ebp - 8], al
call fcn.0042dcd6
mov cl, dh
mov bl, al
call fcn.0042dcd6
mov bh, al
mov cl, al
call fcn.0042dcd6
mov cl, byte [ebp - 4]
mov dh, al
call fcn.0042dcd6
mov cl, al
mov byte [ebp - 6], al
call fcn.0042dcd6
mov dl, al
mov cl, al
call fcn.0042dcd6
mov cl, dh
mov byte [ebp - 1], al
call fcn.0042dcd6
xor byte [ebp - 1], al
mov cl, bl
call fcn.0042dcd6
mov cl, byte [ebp - 2]
xor byte [ebp - 1], al
call fcn.0042dcd6
mov ah, byte [ebp - 1]
mov ch, byte [ebp - 7]
xor ah, al
mov cl, ah
xor ah, dh
xor ah, byte [ebp - 2]
xor cl, dl
xor cl, bl
mov al, cl
xor cl, byte [ebp - 8]
xor al, byte [ebp - 6]
xor cl, byte [ebp - 9]
xor al, bh
xor al, ch
xor cl, ch
xor al, byte [ebp - 3]
xor al, byte [ebp - 5]
xor cl, byte [ebp - 5]
mov byte [esi - 2], al
mov al, ah
xor ah, byte [ebp - 6]
xor al, bh
xor al, byte [ebp - 8]
xor ah, byte [ebp - 9]
xor al, ch
xor ah, byte [ebp - 3]
mov bh, byte [ebp - 4]
xor al, byte [ebp - 3]
xor cl, bh
xor ah, byte [ebp - 5]
xor al, bh
xor ah, bh
mov byte [esi - 1], al
mov byte [esi], cl
lea esi, [esi + 4]
mov byte [esi - 3], ah
sub edi, 1
jne 0x42dcf8
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42deb5
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x10
sub edx, ecx
pop esi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x42debb
pop esi
ret
Function at 0x42e725
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi], esi
je 0x42e831
cmp dword [edi + 4], esi
je 0x42e831
mov dword [edi + 8], esi
mov edx, esi
mov ecx, dword [edi]
mov eax, dword [edx + 0x626be0]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x48
jl 0x42e745
mov edx, esi
push ebx
mov ebx, 0x100
mov ecx, dword [edi + 4]
mov eax, dword [edx + 0x625be0]
mov dword [edx + ecx], eax
add edx, 4
sub ebx, 1
jne 0x42e760
cmp edx, 0x1000
jl 0x42e75b
mov ebx, esi
mov ecx, dword [ebp + 8]
mov al, byte [esi + ecx]
mov byte [ebp - 1], al
lea eax, [esi + 1]
cdq
idiv dword [ebp + 0xc]
mov al, byte [edx + ecx]
mov byte [ebp - 2], al
lea eax, [esi + 2]
cdq
idiv dword [ebp + 0xc]
mov al, byte [edx + ecx]
mov byte [ebp - 3], al
lea eax, [esi + 3]
cdq
idiv dword [ebp + 0xc]
mov al, byte [edx + ecx]
mov ecx, dword [edi]
mov byte [ebp - 4], al
mov eax, dword [ebp - 4]
xor dword [ebx + ecx], eax
lea eax, [esi + 4]
cdq
add ebx, 4
idiv dword [ebp + 0xc]
mov esi, edx
cmp ebx, 0x48
jl 0x42e77e
xor esi, esi
mov dword [ebp + 8], esi
mov ebx, esi
mov dword [ebp + 0xc], esi
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042df83
mov ecx, dword [edi]
mov eax, dword [ebp + 0xc]
mov dword [ebx + ecx], eax
mov ecx, dword [edi]
mov eax, dword [ebp + 8]
mov dword [ebx + ecx + 4], eax
add ebx, 8
cmp ebx, 0x48
jl 0x42e7d1
mov ebx, 0x80
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042df83
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + ecx], eax
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [ecx + esi + 4], eax
add esi, 8
sub ebx, 1
jne 0x42e7fe
cmp esi, 0x1000
jl 0x42e7f9
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x42ea14
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x42fde7
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 8
mov eax, 0x5dbd5c
call fcn.00593b3e
mov esi, edx
mov edi, ecx
mov eax, dword [esi]
mov dword [esi + 4], eax
test edi, edi
je 0x42fe3f
xor ecx, ecx
lea eax, [ebp - 0x14]
push ecx
push ecx
push eax
push ecx
push 1
push ecx
push edi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp dword [ebp - 0x14], 0
je 0x42fe3f
and dword [ebp - 4], 0
mov ecx, esi
push esi
push dword [ebp - 0x14]
call fcn.00430063
xor ecx, ecx
lea eax, [ebp - 0x14]
push ecx
push ecx
push eax
push dword [esi]
push 1
push ecx
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
call fcn.00593a9c
ret
Function at 0x4302e4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp + 8]
add eax, 0x18
add eax, edx
mov dword [ebp - 8], eax
add eax, 0xc
cmp ecx, dword [eax]
jae 0x430304
mov eax, ecx
leave
ret
push ebx
push esi
push edi
movzx edi, word [edx + 6]
xor esi, esi
test edi, edi
je 0x430344
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x430323
mov ecx, dword [edx + 0x50]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
jmp 0x430329
mov edi, dword [eax + 0x28]
mov dword [ebp - 4], edi
mov edi, dword [eax]
cmp ecx, edi
mov dword [ebp - 0xc], edi
movzx edi, word [edx + 6]
jb 0x43033b
cmp ecx, dword [ebp - 4]
jb 0x43034c
mov esi, ebx
add eax, 0x28
cmp esi, edi
jb 0x430311
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp - 8]
imul eax, esi, 0x28
mov eax, dword [eax + edx + 0x14]
sub eax, dword [ebp - 0xc]
add eax, ecx
jmp 0x430347
Function at 0x4307c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 4
pop eax
mov dword [ebp - 0xc], eax
xor esi, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0xc]
push eax
push str.NotJoinPrivate
push str.Software360360se5defaultoption
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
inc eax
cmp dword [ebp - 4], esi
cmove esi, eax
mov eax, esi
pop esi
leave
ret
cmp ecx, 2
je 0x43076c
xor eax, eax
test ecx, ecx
setne al
ret
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
test esi, esi
je 0x43081c
xor eax, eax
cmp word [esi], ax
je 0x43081c
push edi
call fcn.00430854
mov edi, eax
test edi, edi
je 0x430810
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov ecx, dword [0x6e5fe4]
cmp ecx, dword [edx + 4]
jg 0x430822
mov eax, dword [0x6e5fe8]
test eax, eax
je 0x430810
push 0
push dword [ebp + 8]
push ebx
push esi
call eax
add esp, 0x10
pop edi
jmp 0x43081e
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
jmp 0x4307b0
xor eax, eax
pop esi
pop ebx
pop ebp
ret
push 0x6e5fe4
call fcn.00592d84
cmp dword [0x6e5fe4], 0xffffffff
pop ecx
jne 0x4307f8
push str.CanReportURL
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6e5fe4
mov dword [0x6e5fe8], eax
call fcn.00592d3a
pop ecx
jmp 0x4307f8

Function at 0x430e60
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5d963b
call fcn.00593b07
mov ebx, ecx
cmp dword [0x6d2c5c], 0
mov edi, dword [ebp + 8]
je 0x430f3d
call fcn.0040a5f8
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0x200
call fcn.0040b022
lea esi, [ebx + 4]
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
mov esi, 0x62a234
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x430ed8
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b220
mov esi, 0x62a14c
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebx], 0xffffffff
je 0x430f35
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
push ecx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x28]
call fcn.0040b67e
call fcn.00593ab1
ret 4
Function at 0x43101d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x320]
mov dword [ebp - 0x320], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
and dword [0x6d2a24], 0
xor esi, esi
cmp dword [ebp - 0x310], 2
mov dword [0x6d2a20], esi
jne 0x431133
cmp dword [ebp - 0x31c], 5
je 0x431133
cmp dword [ebp - 0x31c], 6
push edi
jne 0x43111f
mov eax, dword [ebp - 0x318]
cmp eax, 4
ja 0x431132
xor edi, edi
inc edi
cmp eax, edi
mov dword [0x6d2a24], edi
cmove esi, edi
cmp eax, 2
jne 0x4310d7
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x6d2a20], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4310cb
lea ecx, [ebp - 0x434]
push ecx
call eax
mov esi, dword [0x6d2a20]
mov eax, dword [ebp - 0x318]
cmp eax, 3
cmove esi, edi
cmp eax, 4
cmove esi, edi
mov dword [0x6d2a20], esi
cmp eax, edi
jbe 0x431132
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x6d2a20], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431117
lea ecx, [ebp - 0x434]
push ecx
call eax
mov esi, dword [0x6d2a20]
jmp 0x431132
jbe 0x431132
xor edi, edi
inc edi
mov esi, edi
mov dword [0x6d2a24], edi
mov dword [0x6d2a20], esi
pop edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
test esi, esi
pop esi
je 0x431168
push 0x103
call fcn.004311c2
lea edx, [ebp - 0x20c]
mov ecx, eax
call fcn.0041e401
pop ecx
jmp 0x431173
lea ecx, [ebp - 0x20c]
call fcn.004311ef
call fcn.00431184
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005926d8
leave
ret

Function at 0x4311c2
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push esi
mov esi, 0x6e4e70
cmp ax, word [0x6e4e70]
jne 0x4311eb
push eax
push 0x26
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push esi
call fcn.005bb55e
pop ecx
pop ecx
mov eax, esi
pop esi
ret
Function at 0x4312d9
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [0x6d2a1c]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
push edi
mov edi, edx
test esi, esi
jne 0x43131b
push 0x6000
call fcn.00592e78
mov dword [esp], 0x1000
push esi
push eax
mov dword [0x6d2a1c], eax
call fcn.005aa3d0
mov esi, dword [0x6d2a1c]
add esp, 0xc
xor ecx, ecx
mov ebx, ecx
mov eax, esi
mov edx, 0x400
cmp dword [eax], edi
je 0x431360
inc ebx
add eax, 0x18
cmp ebx, edx
jl 0x431324
mov ebx, ecx
mov eax, esi
cmp dword [eax], ecx
je 0x43134a
inc ebx
add eax, 0x18
cmp ebx, edx
jl 0x431334
call fcn.004312bf
jmp 0x4314ac
imul eax, ebx, 0x18
mov dword [eax + esi], edi
mov dword [eax + esi + 8], ecx
mov dword [eax + esi + 0xc], ecx
mov dword [eax + esi + 0x10], ecx
mov dword [eax + esi + 0x14], ecx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x4314ac
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x24]
call fcn.004312b9
lea ecx, [ebp - 0x2c]
mov edi, eax
mov esi, edx
call fcn.004312b9
add edi, eax
mov eax, dword [ebp - 0x54]
adc esi, edx
cdq
push edx
push eax
push esi
push edi
call fcn.00593a00
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
call fcn.004312b9
mov ecx, dword [0x6d2a1c]
imul edi, ebx, 0x18
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov eax, dword [edi + ecx + 8]
mov edx, dword [edi + ecx + 0xc]
mov dword [ebp - 0x14], eax
or eax, edx
mov dword [ebp - 0x18], edx
je 0x431490
mov edx, dword [edi + ecx + 0x10]
mov eax, edx
mov esi, dword [edi + ecx + 0x14]
or eax, esi
je 0x431490
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
sub ebx, edx
mov eax, ebx
sbb ecx, esi
or eax, ecx
mov dword [ebp - 0x1c], ecx
je 0x4314ac
mov esi, dword [ebp - 4]
sub esi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
sbb eax, dword [ebp - 0x18]
push 0
push 0x64
push eax
push esi
call fcn.00593860
mov ecx, eax
call fcn.00593750
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.00593750
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
push ecx
push ecx
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.005be840
mov eax, dword [0x6d2a1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [edi + eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [edi + eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + eax + 0x10], ecx
mov ecx, dword [ebp - 0x10]
fstp dword [ebp - 0x1c]
mov dword [edi + eax + 0x14], ecx
cvttss2si eax, dword [ebp - 0x1c]
jmp 0x4314ae
mov eax, dword [ebp - 4]
mov dword [edi + ecx + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + ecx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + ecx + 0x14], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431944
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
movsd xmm0, qword [0x6e4e60]
sub esp, 0x10
comisd xmm0, xmmword [0x66fb58]
ja 0x4319f5
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4319eb
push 4
pop edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
push esi
push str.MHz
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4319eb
cmp dword [ebp - 8], edi
jne 0x4319eb
cmp dword [ebp - 0xc], edi
jne 0x4319eb
mov eax, dword [ebp - 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x66fc20]
divsd xmm0, qword [0x66fbd0]
movsd qword [0x6e4e60], xmm0
jmp 0x4319f3
movsd xmm0, qword [0x66fb68]
pop edi
pop esi
leave
ret

Function at 0x433a01
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x433a0c
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x433ac8
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
sub edi, 1
jne 0x433a21
pop edi
test esi, esi
je 0x433ae4
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
inc edx
sub esi, 1
jne 0x433acc
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x433aeb
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x626d30]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x626d30]
mov dword [edi + 8], ecx
pop edi
pop esi
ret