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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6c45ac]
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 0x42c0c0
cmp dword [esi + 0x10], ebx
je 0x42c0c0
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.005a88e0
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 0x42bfe8
push 0x332
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___SHGetSpecialFolderPath_error.
jmp 0x42c0cf
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0x14], 8
jb 0x42bff6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x42c01c
push 0x339
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___PathAppend_error.
jmp 0x42c0cf
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 0x42c09e
push 0x208
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.005a88e0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42c05c
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 0x42c0d7
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c0d7
push 0x345
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___find_file_is_success.
call fcn.0040a649
mov bl, 1
jmp 0x42c0d4
cmp dword [edi + 0x14], 8
jb 0x42c0a6
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x42c0ae
mov esi, dword [esi]
push edi
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0042c0ea
mov bl, al
jmp 0x42c0d7
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.00590be8
leave
ret 0x10
Function at 0x42c0ea
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x6c45ac]
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 0x42c233
test edi, edi
je 0x42c233
test esi, esi
je 0x42c233
push 0x208
lea eax, [ebp - 0x41c]
push ebx
push eax
call fcn.005a88e0
add esp, 0xc
lea eax, [ebp - 0x41c]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x42c16d
push 0x35d
push str.base::RivalMonitor::IsFileInDir
push str.__s__d___PathCombine_error.
call fcn.0040a649
add esp, 0xc
jmp 0x42c233
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 0x42c233
test byte [ebp - 0x66c], 0x10
push 0x2e
pop eax
je 0x42c212
cmp word [ebp - 0x640], ax
jne 0x42c1bc
cmp word [ebp - 0x63e], bx
je 0x42c212
cmp word [ebp - 0x63e], ax
jne 0x42c1bc
cmp word [ebp - 0x63c], bx
je 0x42c212
push 0x208
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.005a88e0
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 0x42c212
push dword [ebp - 0x670]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x42c212
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c229
lea eax, [ebp - 0x66c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42c22c
jmp 0x42c18c
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.00590be8
leave
ret 0xc
Function at 0x42db9e
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 0x42dbb9
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 0x42dc4b
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 + 0x620ccc]
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 0x42dbee
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42dcab
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 0x42dcbf
sub edi, 1
jne 0x42dcbc
pop edi
pop esi
pop ebp
ret
Function at 0x42dce6
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.0042dcd3
mov cl, al
mov byte [ebp - 9], al
call fcn.0042dcd3
mov cl, dl
mov byte [ebp - 2], al
call fcn.0042dcd3
mov cl, al
mov byte [ebp - 8], al
call fcn.0042dcd3
mov cl, dh
mov bl, al
call fcn.0042dcd3
mov bh, al
mov cl, al
call fcn.0042dcd3
mov cl, byte [ebp - 4]
mov dh, al
call fcn.0042dcd3
mov cl, al
mov byte [ebp - 6], al
call fcn.0042dcd3
mov dl, al
mov cl, al
call fcn.0042dcd3
mov cl, dh
mov byte [ebp - 1], al
call fcn.0042dcd3
xor byte [ebp - 1], al
mov cl, bl
call fcn.0042dcd3
mov cl, byte [ebp - 2]
xor byte [ebp - 1], al
call fcn.0042dcd3
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 0x42dcf5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42deb2
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 0x42deb8
pop esi
ret
Function at 0x42e722
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 0x42e82e
cmp dword [edi + 4], esi
je 0x42e82e
mov dword [edi + 8], esi
mov edx, esi
mov ecx, dword [edi]
mov eax, dword [edx + 0x624bf0]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x48
jl 0x42e742
mov edx, esi
push ebx
mov ebx, 0x100
mov ecx, dword [edi + 4]
mov eax, dword [edx + 0x623bf0]
mov dword [edx + ecx], eax
add edx, 4
sub ebx, 1
jne 0x42e75d
cmp edx, 0x1000
jl 0x42e758
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 0x42e77b
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.0042df80
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 0x42e7ce
mov ebx, 0x80
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042df80
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 0x42e7fb
cmp esi, 0x1000
jl 0x42e7f6
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x42ea11
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 0x42fde4
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 8
mov eax, 0x5da26c
call fcn.0059204e
mov esi, edx
mov edi, ecx
mov eax, dword [esi]
mov dword [esi + 4], eax
test edi, edi
je 0x42fe3c
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 0x42fe3c
and dword [ebp - 4], 0
mov ecx, esi
push esi
push dword [ebp - 0x14]
call fcn.00430060
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.00591fac
ret
Function at 0x4302e1
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 0x430301
mov eax, ecx
leave
ret
push ebx
push esi
push edi
movzx edi, word [edx + 6]
xor esi, esi
test edi, edi
je 0x430341
lea ebx, [esi + 1]
cmp ebx, edi
jne 0x430320
mov ecx, dword [edx + 0x50]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
jmp 0x430326
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 0x430338
cmp ecx, dword [ebp - 4]
jb 0x430349
mov esi, ebx
add eax, 0x28
cmp esi, edi
jb 0x43030e
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 0x430344
Function at 0x4307be
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 0x430769
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 0x430819
xor eax, eax
cmp word [esi], ax
je 0x430819
push edi
call fcn.00430851
mov edi, eax
test edi, edi
je 0x43080d
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov ecx, dword [0x6e2f94]
cmp ecx, dword [edx + 4]
jg 0x43081f
mov eax, dword [0x6e2f98]
test eax, eax
je 0x43080d
push 0
push dword [ebp + 8]
push ebx
push esi
call eax
add esp, 0x10
pop edi
jmp 0x43081b
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
jmp 0x4307ad
xor eax, eax
pop esi
pop ebx
pop ebp
ret
push 0x6e2f94
call fcn.00591294
cmp dword [0x6e2f94], 0xffffffff
pop ecx
jne 0x4307f5
push str.CanReportURL
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6e2f94
mov dword [0x6e2f98], eax
call fcn.0059124a
pop ecx
jmp 0x4307f5

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

Disassembly:
push 0x20
mov eax, 0x5d7b4b
call fcn.00592017
mov ebx, ecx
cmp dword [0x6cfc08], 0
mov edi, dword [ebp + 8]
je 0x430f3a
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.005b93d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
mov esi, 0x62823c
push esi
call fcn.005b93d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x430ed5
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b220
mov esi, 0x628150
push esi
call fcn.005b93d0
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 0x430f32
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.0040b67b
call fcn.00591fc1
ret 4
Function at 0x43101a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x6c45ac]
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 [0x6cf9d4], 0
xor esi, esi
cmp dword [ebp - 0x310], 2
mov dword [0x6cf9d0], esi
jne 0x431130
cmp dword [ebp - 0x31c], 5
je 0x431130
cmp dword [ebp - 0x31c], 6
push edi
jne 0x43111c
mov eax, dword [ebp - 0x318]
cmp eax, 4
ja 0x43112f
xor edi, edi
inc edi
cmp eax, edi
mov dword [0x6cf9d4], edi
cmove esi, edi
cmp eax, 2
jne 0x4310d4
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x6cf9d0], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4310c8
lea ecx, [ebp - 0x434]
push ecx
call eax
mov esi, dword [0x6cf9d0]
mov eax, dword [ebp - 0x318]
cmp eax, 3
cmove esi, edi
cmp eax, 4
cmove esi, edi
mov dword [0x6cf9d0], esi
cmp eax, edi
jbe 0x43112f
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x6cf9d0], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x431114
lea ecx, [ebp - 0x434]
push ecx
call eax
mov esi, dword [0x6cf9d0]
jmp 0x43112f
jbe 0x43112f
xor edi, edi
inc edi
mov esi, edi
mov dword [0x6cf9d4], edi
mov dword [0x6cf9d0], esi
pop edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a88e0
add esp, 0xc
test esi, esi
pop esi
je 0x431165
push 0x103
call fcn.004311bf
lea edx, [ebp - 0x20c]
mov ecx, eax
call fcn.0041e3fe
pop ecx
jmp 0x431170
lea ecx, [ebp - 0x20c]
call fcn.004311ec
call fcn.00431181
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00590be8
leave
ret

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [0x6cf9cc]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
push edi
mov edi, edx
test esi, esi
jne 0x431318
push 0x6000
call fcn.00591388
mov dword [esp], 0x1000
push esi
push eax
mov dword [0x6cf9cc], eax
call fcn.005a88e0
mov esi, dword [0x6cf9cc]
add esp, 0xc
xor ecx, ecx
mov ebx, ecx
mov eax, esi
mov edx, 0x400
cmp dword [eax], edi
je 0x43135d
inc ebx
add eax, 0x18
cmp ebx, edx
jl 0x431321
mov ebx, ecx
mov eax, esi
cmp dword [eax], ecx
je 0x431347
inc ebx
add eax, 0x18
cmp ebx, edx
jl 0x431331
call fcn.004312bc
jmp 0x4314a9
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 0x4314a9
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x24]
call fcn.004312b6
lea ecx, [ebp - 0x2c]
mov edi, eax
mov esi, edx
call fcn.004312b6
add edi, eax
mov eax, dword [ebp - 0x54]
adc esi, edx
cdq
push edx
push eax
push esi
push edi
call fcn.00591f10
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
call fcn.004312b6
mov ecx, dword [0x6cf9cc]
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 0x43148d
mov edx, dword [edi + ecx + 0x10]
mov eax, edx
mov esi, dword [edi + ecx + 0x14]
or eax, esi
je 0x43148d
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 0x4314a9
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.00591d70
mov ecx, eax
call fcn.00591c60
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.00591c60
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
push ecx
push ecx
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.005bcd50
mov eax, dword [0x6cf9cc]
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 0x4314ab
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 0x431941
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
movsd xmm0, qword [0x6e1e10]
sub esp, 0x10
comisd xmm0, xmmword [0x66d510]
ja 0x4319f2
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 0x4319e8
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 0x4319e8
cmp dword [ebp - 8], edi
jne 0x4319e8
cmp dword [ebp - 0xc], edi
jne 0x4319e8
mov eax, dword [ebp - 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x66d5d0]
divsd xmm0, qword [0x66d588]
movsd qword [0x6e1e10], xmm0
jmp 0x4319f0
movsd xmm0, qword [0x66d520]
pop edi
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x433a09
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x433ac5
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 + 0x624d40]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x624d40]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x624d40]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x624d40]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x624d40]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x624d40]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x624d40]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x624d40]
sub edi, 1
jne 0x433a1e
pop edi
test esi, esi
je 0x433ae1
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x624d40]
inc edx
sub esi, 1
jne 0x433ac9
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x433ae8
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 + 0x624d40]
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 + 0x624d40]
mov dword [edi + 8], ecx
pop edi
pop esi
ret