joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4142d0
Capabilities:
Get disk size

Disassembly:
mov eax, 0x47e2ca
call fcn.0044d428
sub esp, 0x158
push esi
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
call fcn.0044f107
add esp, 0x14
cmp dword [0x4a5afc], 0x400
jb 0x41440e
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.00403846
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], esi
call fcn.004047e4
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040155a
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x414346
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x414402
push edi
mov edi, dword [ebp + 0x10]
cmp dword [ebp - 0x18], edi
ja 0x414401
push ebx
mov ebx, dword [ebp + 0xc]
jb 0x41437d
cmp dword [ebp - 0x1c], ebx
jae 0x414400
mov eax, ebx
sub eax, dword [ebp - 0x1c]
mov ecx, edi
sbb ecx, dword [ebp - 0x18]
mov esi, eax
shrd esi, ecx, 0x14
lea eax, [ebp - 0x14]
shr ecx, 0x14
push eax
inc esi
call fcn.0044d870
test eax, eax
pop ecx
lea eax, [ebp - 0x14]
ja 0x4143a8
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x10]
push eax
push esi
mov esi, dword [ebp + 0x14]
push esi
call fcn.00412770
cmp eax, 1
jne 0x4143c8
test esi, esi
jne 0x4143c4
push 2
pop esi
jmp 0x414400
push esi
push edi
jmp 0x4143f2
mov ecx, dword [ebp - 0x10]
mov edi, 0x3fb
cmp eax, edi
jne 0x4143da
push esi
push dword [ebp + 0x10]
jmp 0x4143f5
push 0
push 0
push 3
call fcn.00412770
cmp eax, edi
jne 0x4143ee
xor esi, esi
inc esi
jmp 0x414400
push esi
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp + 8]
call fcn.004142d0
mov esi, eax
pop ebx
pop edi
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.0040155a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x41441f
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push dword [0x49e33c]
mov edi, ecx
push SysReAllocString
xor esi, esi
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4144cb
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [0x49e340]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4144c2
lea eax, [ebp - 0x110]
push eax
call fcn.0044d870
test eax, eax
pop ecx
jbe 0x4144c2
cmp byte [ebp + 8], bl
je 0x4144c2
push ebx
push ebx
push 5
mov ecx, edi
call fcn.00412770
cmp eax, 2
je 0x4144ae
cmp eax, 0x3fb
jne 0x4144c2
push ebx
push ebx
push 3
mov ecx, edi
call fcn.00412770
mov esi, eax
dec esi
neg esi
sbb esi, esi
neg esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x416401
Capabilities:
Create thread

Disassembly:
mov eax, 0x47e596
call fcn.0044d428
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, dword [ebp + 8]
push 0x3f1
push edi
mov ebx, ecx
call esi
push 0x40fa69
push 0xfffffffffffffffc
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x3f4
push edi
mov dword [0x4a19e0], eax
call esi
push 0x3f7
push edi
mov dword [ebp - 0x1c], eax
call esi
push 0x3f6
push edi
mov dword [ebp - 0x18], eax
call esi
push 0x3f8
push edi
mov dword [ebp - 0x14], eax
call esi
push 0x3f3
push edi
mov dword [ebp - 0x10], eax
call esi
push 0x3f2
push edi
mov dword [ebp + 8], eax
call esi
push 0x88
mov esi, eax
call fcn.004637cb
pop ecx
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4164af
push edi
push dword [ebp + 8]
mov ecx, eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call fcn.0041a16e
jmp 0x4164b1
xor eax, eax
or dword [ebp - 4], 0xffffffff
xor ecx, ecx
cmp eax, ecx
mov dword [ebx + 0x124], eax
je 0x4164e0
lea eax, [ebp - 0x28]
push eax
push ecx
push ecx
push 0x415c4d
push 0xc3500
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x134], eax
jmp 0x41651b
call fcn.00466fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push 0xa6
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.004019c3
mov esi, dword [ebp + 8]
push 0
push 0
push esi
call fcn.0046f867
lea ecx, [esi - 0x10]
call fcn.00401148
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4165c6
Capabilities:
Hash data with md5

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

Function at 0x417dbe
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x47e647
call fcn.0044d428
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
push ebx
lea ecx, [esi + 0x30]
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x16], bl
mov byte [esi + 0x17], bl
mov byte [esi + 0x18], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004045dc
push ebx
lea ecx, [esi + 0x40]
mov dword [ebp - 4], ebx
call fcn.004045dc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x419b83
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47e86b
call fcn.0044d428
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 0xc]
call fcn.00401756
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x419bea
Capabilities:
Encode data using xor
Hash data with crc32
Terminate process

Disassembly:
mov eax, 0x47e87d
call fcn.0044d428
sub esp, 0x140
push ebx
push edi
mov edi, dword [ebp + 8]
push 0x3c
push edi
call fcn.0044fd90
xor ebx, ebx
cmp eax, ebx
pop ecx
pop ecx
je 0x419c2b
push 5
push 0x4860cc
push eax
call fcn.0044f940
add esp, 0xc
test eax, eax
je 0x419c2b
push 0xfffffffffffffffe
pop eax
jmp 0x419d6d
mov eax, dword [ebp + 0x10]
or dword [ebp - 0x10], 0xffffffff
push 0x3e
push edi
mov byte [eax], bl
call fcn.0044fd50
cmp eax, ebx
pop ecx
pop ecx
je 0x419d6a
mov ecx, eax
sub ecx, edi
inc ecx
cmp ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
jge 0x419d6a
push esi
lea esi, [eax + 1]
push 0x7f
lea eax, [ebp - 0xcc]
push esi
push eax
call fcn.0044e640
mov edx, dword [ebp - 0x14]
mov byte [esi], bl
add esp, 0xc
or esi, 0xffffffff
cmp edx, ebx
je 0x419c98
xor eax, eax
mov al, byte [edi]
mov ecx, esi
shr ecx, 8
xor eax, esi
and eax, 0xff
mov eax, dword [eax*4 + 0x485bd8]
xor eax, ecx
inc edi
dec edx
mov esi, eax
jne 0x419c79
not esi
push esi
lea eax, [ebp - 0x14c]
push 0x4860c8
push eax
call fcn.0044e4c5
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0044eee0
add esp, 0x14
test eax, eax
jne 0x419d69
lea ecx, [ebp - 0x4c]
call fcn.00419b83
push ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x4b], bl
mov byte [ebp - 0x4c], bl
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
call sym.AdobeDownloadManager.exe_XML_ParserCreate
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
push esi
call sym.AdobeDownloadManager.exe_XML_SetUserData
push 0x418b29
push 0x419a7c
push esi
call sym.AdobeDownloadManager.exe_XML_SetElementHandler
push 0x418235
push esi
call sym.AdobeDownloadManager.exe_XML_SetCharacterDataHandler
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
push esi
call sym.AdobeDownloadManager.exe_XML_Parse
add esp, 0x30
test eax, eax
jne 0x419d33
push esi
call sym.AdobeDownloadManager.exe_XML_GetErrorCode
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x419d56
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
jmp 0x419d52
push dword [ebp + 0x14]
mov eax, edi
push dword [ebp + 0x10]
add eax, 0x1c
push eax
add edi, 0x2c
call fcn.00418f6e
add esp, 0xc
cmp edi, ebx
jne 0x419d3b
push esi
call sym.AdobeDownloadManager.exe_XML_ParserFree
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.00419bb4
pop esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41a16e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x47e93b
call fcn.0044d428
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x2c]
push edi
mov ecx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x486118
call fcn.004014c5
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], edi
call fcn.004014c5
lea ecx, [esi + 0x34]
call fcn.004014c5
lea ecx, [esi + 0x38]
call fcn.004014c5
lea ecx, [esi + 0x3c]
call fcn.004014c5
lea ecx, [esi + 0x40]
call fcn.004014c5
lea ecx, [esi + 0x44]
call fcn.004014c5
lea ecx, [esi + 0x48]
call fcn.004014c5
lea ecx, [esi + 0x4c]
call fcn.004014c5
lea ecx, [esi + 0x50]
call fcn.004014c5
lea ecx, [esi + 0x54]
call fcn.004014c5
fldz
mov eax, dword [ebp + 8]
fstp dword [esi + 0x84]
mov dword [esi + 0x28], eax
fldz
mov eax, dword [ebp + 0xc]
fstp dword [esi + 0x80]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x24]
push 0x66
mov ecx, ebx
mov byte [ebp - 4], 0xa
mov dword [esi + 0x24], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
call fcn.004019c3
push 0xa9
lea ecx, [esi + 0x30]
call fcn.004019c3
push 0xaa
lea ecx, [esi + 0x34]
call fcn.004019c3
push 0xab
lea ecx, [esi + 0x38]
call fcn.004019c3
push 0xb4
lea ecx, [esi + 0x3c]
call fcn.004019c3
push 0x12e
lea ecx, [esi + 0x40]
call fcn.004019c3
push 0x6a
lea ecx, [esi + 0x44]
call fcn.004019c3
push 0x69
lea ecx, [esi + 0x48]
call fcn.004019c3
push 0x67
lea ecx, [esi + 0x50]
call fcn.004019c3
push 0x8b
lea ecx, [esi + 0x4c]
call fcn.004019c3
push 0xb0
lea ecx, [esi + 0x54]
call fcn.004019c3
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x24
Function at 0x41b2af
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0x18]
mov byte [edx], 1
cmp dword [0x4a1adc], 0
jne 0x41b311
push 0x41
pop eax
lea ecx, [eax - 0x41]
mov dword [eax*4 + 0x4a1a20], ecx
inc eax
cmp eax, 0x5a
jle 0x41b2c7
push 0x61
pop eax
lea ecx, [eax - 0x47]
mov dword [eax*4 + 0x4a1a20], ecx
inc eax
cmp eax, 0x7a
jle 0x41b2da
push 0x30
pop eax
lea ecx, [eax + 4]
mov dword [eax*4 + 0x4a1a20], ecx
inc eax
cmp eax, 0x39
jle 0x41b2ed
mov dword [0x4a1acc], 0x3e
mov dword [0x4a1adc], 0x3f
push esi
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], esi
je 0x41b411
push ebx
push edi
xor ecx, ecx
cmp dword [ebp + 0xc], esi
je 0x41b40c
cmp ecx, 4
jge 0x41b359
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, 0x30
jb 0x41b33d
cmp al, 0x7a
jbe 0x41b349
cmp al, 0x2b
je 0x41b349
cmp al, 0x2f
je 0x41b349
cmp al, 0x3d
jne 0x41b34e
mov byte [ebp + ecx - 8], al
inc ecx
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], esi
jne 0x41b32b
cmp ecx, 4
jne 0x41b40c
cmp byte [ebp - 8], 0x3d
je 0x41b40c
cmp byte [ebp - 7], 0x3d
je 0x41b40c
cmp byte [ebp - 6], 0x3d
jne 0x41b38c
cmp byte [ebp - 5], 0x3d
jne 0x41b40c
mov dword [ebp - 0x10], 8
jmp 0x41b39f
xor eax, eax
cmp byte [ebp - 5], 0x3d
setne al
lea eax, [eax*8 + 0x10]
mov dword [ebp - 0x10], eax
and dword [ebp - 0xc], 0
xor al, al
cmp dword [ebp - 0x10], 0
je 0x41b3fe
push 6
lea esi, [ebp - 8]
pop edi
movzx ecx, byte [esi]
mov bl, byte [ecx*4 + 0x4a1a20]
mov cl, byte [ebp - 0xc]
add dword [ebp - 0xc], 6
shl bl, 2
mov dl, bl
shr dl, cl
sub edi, 6
or al, dl
cmp dword [ebp - 0xc], 8
jl 0x41b3f4
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call fcn.00417428
sub dword [ebp - 0xc], 8
sub dword [ebp - 0x10], 8
add edi, 8
mov ecx, edi
shl bl, cl
mov al, bl
inc esi
cmp dword [ebp - 0x10], 0
jne 0x41b3b1
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], esi
jne 0x41b320
jmp 0x41b40f
mov byte [edx], 0
pop edi
pop ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
pop esi
leave
ret

Function at 0x41bd1d
Capabilities:
Get common file path

Disassembly:
push ebx
push dword [esp + 0xc]
xor ebx, ebx
push dword [esp + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41bd35
mov bl, 1
mov al, bl
pop ebx
ret

Function at 0x41bd62
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.0044d4a0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x41bd91
mov eax, dword [eax + 4]
jmp 0x41bd94
add eax, 4
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0044da22
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41bdc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41bdc4
mov bl, 1
mov al, bl
pop ebx
leave
ret
Function at 0x41bdc9
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x47eb54
call fcn.0044d428
sub esp, 0x248
push ebx
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x254]
push ebx
push eax
mov byte [ebp - 0xd], bl
call fcn.0044d4a0
add esp, 0xc
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.004014a9
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x254]
push eax
push ebx
mov dword [ebp - 4], ebx
call fcn.0041bcce
add esp, 0x10
cmp eax, 1
jne 0x41be6f
lea eax, [ebp - 0x254]
push eax
call fcn.0044d447
inc eax
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x30]
call fcn.004037ba
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004045fa
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.00401a50
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040155a
jmp 0x41bef4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.0041bd1d
test al, al
pop ecx
pop ecx
je 0x41bf21
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x41bf21
lea eax, [ebp - 0x254]
push eax
call fcn.0044d447
inc eax
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x30]
call fcn.004037ba
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004045fa
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.00401a50
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0040155a
lea eax, [ebp - 0x14]
push eax
call fcn.0041bd39
pop ecx
cmp byte [ebp + 0x10], bl
mov byte [ebp - 0xd], 1
je 0x41bf21
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41bf09
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41bf21
lea eax, [ebp - 0x30]
push eax
call fcn.0041bd62
pop ecx
mov byte [ebp - 0xd], al
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.0040155a
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41bfed
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push 0x114
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044d4a0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41c03b
cmp dword [ebp - 0x110], 5
ja 0x41c03f
jne 0x41c03b
cmp dword [ebp - 0x10c], 0
ja 0x41c03f
xor al, al
leave
ret
mov al, 1
leave
ret

Function at 0x41c043
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push 0x114
xor ebx, ebx
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0044d4a0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41c093
cmp dword [ebp - 0x104], 2
jne 0x41c093
cmp dword [ebp - 0x110], 5
jb 0x41c093
mov bl, 1
mov al, bl
pop ebx
leave
ret
Function at 0x41c098
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0x48d8c8
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x41c0df
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x41c0e4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0x48d8c8
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x41c135
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret

Function at 0x41c214
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
mov dword [ebp - 4], edi
call fcn.00450055
cmp eax, edi
pop ecx
mov dword [ebp - 8], eax
jne 0x41c240
mov dword [ebp - 4], 7
jmp 0x41c2d1
cmp dword [ebp + 0xc], edi
je 0x41c2c3
cmp dword [ebp + 0x10], edi
je 0x41c2c3
cmp dword [ebp + 0x14], edi
je 0x41c2c3
push ebx
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.0044d4a0
add esp, 0xc
push dword [ebp - 8]
mov dword [ebp - 0x4c], ebx
push esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x20], 0x40
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jne 0x41c286
xor ebx, ebx
jmp 0x41c28d
push dword [ebp + 0xc]
call esi
mov ebx, eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x4c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41c2af
mov dword [ebp - 4], 0x77
cmp ebx, edi
pop ebx
je 0x41c2b9
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call fcn.0044e8cc
jmp 0x41c2d0
push eax
call fcn.0044e8cc
mov dword [ebp - 4], 3
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x41c30c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004047e4
pop ecx
pop ecx
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov ecx, esi
call fcn.00401a50
push edi
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040155a
cmp dword [esi + 0x18], 0x10
jb 0x41c346
mov esi, dword [esi + 4]
jmp 0x41c349
add esi, 4
push 5
push edi
push edi
push esi
push 0x4862c8
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret
Function at 0x41c35e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [0x49e3e4]
mov byte [ebp - 1], bl
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c3d7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push dword [0x49e3e8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c3c9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x110]
push eax
call fcn.00403829
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x41c3d7
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop ebx
leave
ret

Function at 0x41c3dd
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
xor edi, edi
call fcn.00403846
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004047e4
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.0040155a
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41c419
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, edi
je 0x41c4e8
lea eax, [esi + 1]
push eax
call fcn.004637f6
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp - 8], ebx
je 0x41c4fa
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41c456
lea eax, [ebp - 0x28]
push ebx
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41c4de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0x484f2c
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c4de
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
mov eax, esi
shr eax, 0x10
push eax
push 0x4862e8
push dword [ebp + 0xc]
call fcn.0044e4c5
mov ebx, 0xffff
and esi, ebx
push esi
push dword [ebp + 0xc]
mov edi, 0x4862e0
push edi
push dword [ebp + 0xc]
call fcn.0044e4c5
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
mov eax, esi
shr eax, 0x10
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp + 0xc]
call fcn.0044e4c5
and esi, ebx
push esi
push dword [ebp + 0xc]
push 0x4862d8
push dword [ebp + 0xc]
call fcn.0044e4c5
xor edi, edi
add esp, 0x3c
inc edi
push dword [ebp - 8]
call fcn.004637fb
jmp 0x41c4f9
push 0x481b08
push dword [ebp + 0xc]
call fcn.0044e4c5
xor edi, edi
pop ecx
inc edi
pop ecx
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040155a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43aa70
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
ret