joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416830
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 8]
push eax
push ebx
mov edi, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x4168db
mov eax, dword [edi + 0x20c]
test eax, eax
je 0x416865
push eax
call fcn.0051e865
add esp, 4
push esi
call fcn.0051e9bc
add esp, 4
mov dword [edi + 0x20c], eax
test eax, eax
je 0x4168db
push eax
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4168db
mov eax, dword [edi + 0x20c]
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
push str.VarFileInfoTranslation
push eax
mov dword [ebp + 8], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4168db
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push 0x5601b4
push 0x208
add edi, 4
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
mov edx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_firefox.exe]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x576bd0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 0x208
mov dword [ebp - 0x214], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x416cac
cmp dword [ebp - 0x210], eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x416d20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x582090]
mov edx, dword [str.SOFTWARE360TotalSecurityFirefox]
push 4
lea eax, [ebp - 4]
push eax
push 4
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esp, ebp
pop ebp
ret
Function at 0x416e10
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x416e2a
mov eax, 1
pop esi
pop ebp
ret
push ebx
push edi
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 0xffffffff
je 0x416e57
test al, 0x10
je 0x416e57
push esi
mov edi, 1
call ebx
test eax, eax
je 0x416e62
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x416e81
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x416e91
push esi
test edi, edi
jne 0x416e8b
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x416e91
pop edi
pop ebx
mov eax, 1
pop esi
pop ebp
ret
call ebx
test eax, eax
jne 0x416e81
cmp byte [ebp + 0xc], 0
je 0x416eb3
cmp byte [ebp + 0x10], 1
jne 0x416ea8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416e81
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret

Function at 0x416ec0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0051d7f0
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2010], eax
cmp esi, ebx
je 0x416f99
push 0x1fff
lea ecx, [ebp - 0x2003]
push ebx
push ecx
mov byte [ebp - 0x2004], bl
call fcn.0051d250
add esp, 0xc
lea edx, [ebp - 0x2014]
push edx
push esi
mov dword [ebp - 0x2014], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x416f99
cmp eax, 0x1fff
ja 0x416f99
lea ecx, [ebp - 0x2004]
push ecx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x416f86
lea edx, [ebp - 0x200c]
push edx
lea eax, [ebp - 0x2008]
push eax
push 0x560120
lea ecx, [ebp - 0x2004]
push ecx
mov dword [ebp - 0x2008], ebx
mov dword [ebp - 0x200c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x416f86
mov eax, dword [ebp - 0x2008]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2010]
mov dword [edi], edx
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x416fb0
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
and esi, 0xffdf
lea eax, [esi - 0x41]
mov dword [ebp - 0x30], 1
cmp ax, 0x19
ja case.0x417006.2
mov ecx, dword [0x560354]
mov edx, dword [0x560358]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 8], edx
mov word [ebp - 0xc], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 4
ja case.default.0x417006
jmp dword [eax*4 + 0x417104]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov edx, dword [0x560348]
mov ecx, dword [str..X:]
mov eax, dword [0x56034c]
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov cx, word [0x560350]
push SysReAllocString
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push edx
mov word [ebp - 0x10], cx
mov word [ebp - 0x14], si
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41707c
pop edi
lea eax, [ebx + 1]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push 0x227
call fcn.0051ad6e
add esp, 4
push ebx
mov esi, eax
mov dword [esi + 4], 0x227
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov ecx, dword [esi + 4]
push ecx
push esi
push 0xc
lea edx, [ebp - 0x28]
push edx
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4170c8
mov eax, dword [esi + 0x1c]
cmp eax, 7
je 0x4170cb
cmp eax, 4
je 0x4170cb
mov ebx, dword [ebp - 0x30]
push esi
call fcn.0051d538
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x4173c0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x418170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4181c7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push str.ntdll.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4181b7
push str.RtlGetVersion
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x418210
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0051d250
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x418266
mov eax, 1
cmp dword [ebp - 0x110], eax
je 0x418268
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x418280
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0051d250
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x418360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0051d250
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4183b4
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x4183a4
jne 0x4183ce
mov eax, 1
cmp dword [ebp - 0x118], eax
jae 0x4183d0
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x419640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x5604d8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4196d7
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea edx, [ecx + ecx]
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
push str.Path
push edx
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4196b0
sub eax, edx
sar eax, 1
je 0x4196d2
cmp word [esi + eax*2 - 2], 0x5c
je 0x4196d2
mov ecx, 0x5c
mov word [esi + eax*2], cx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41d99e
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
and edi, 0xf44f
call fcn.0041d99e
add byte [edi + 0x32], cl
inc edx
inc edx
inc esi
inc ebp
xor eax, 0x833f4a47
add esp, 4
pop edi
add esp, 4
pop edi
push eax
call 0x41d9af
add byte [edx + 0x44], al
aaa
inc eax
aas
inc esi
add esp, 4
add eax, 0xa0c2
pop eax
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x20c], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push ecx
push edi
add esp, 4
jmp 0x41da1e
or ecx, 0x683a
add ecx, 0x16da2
xor ecx, 0x18445
pop ecx
push esi
or esi, 0xf202
and esi, 0x9eab
sub esi, 0xfb78
pop esi
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x41da68
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15d8], eax
jmp 0x41dacb
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x41d987
movzx ecx, word [ebp - 0x20c]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x41d987
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x41dab5
mov dword [ebp - 0x15d4], 0xffffffff
jmp 0x41dabf
mov dword [ebp - 0x15d4], 1
mov edx, dword [ebp - 0x15d4]
mov dword [ebp - 0x15d8], edx
cmp dword [ebp - 0x15d8], 0
jne 0x41db14
push edx
push eax
add esp, 4
and edx, 0x13b5f
or edx, 0x3378
pop edx
push edx
push edx
add esp, 4
xor edx, 0x13e93
or edx, 0x11e0
pop edx
push ebx
or ebx, 0x9bed
or ebx, 0x16b5b
pop ebx
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x318], eax
jmp 0x41db7c
push esi
sub esi, 0x619e
xor esi, 0xd82a
sub esi, 0xb859
pop esi
push edi
push edi
add esp, 4
and edi, 0x41b6
jmp 0x41db3a
jmp 0x41db3f
or edi, 0x12923
pop edi
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x41db72
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x41d928
mov dword [ebp - 0x318], 0
Function at 0x41d9af
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
and edi, 0xf44f
call fcn.0041d99e
add byte [edi + 0x32], cl
inc edx
inc edx
inc esi
inc ebp
xor eax, 0x833f4a47
add esp, 4
pop edi
add esp, 4
pop edi
push eax
call 0x41d9af
add byte [edx + 0x44], al
aaa
inc eax
aas
inc esi
add esp, 4
add eax, 0xa0c2
pop eax
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x20c], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push ecx
push edi
add esp, 4
jmp 0x41da1e
or ecx, 0x683a
add ecx, 0x16da2
xor ecx, 0x18445
pop ecx
push esi
or esi, 0xf202
and esi, 0x9eab
sub esi, 0xfb78
pop esi
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x41da68
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15d8], eax
jmp 0x41dacb
movzx edx, word [ebp - 0x20c]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x41d987
movzx ecx, word [ebp - 0x20c]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x41d987
movzx eax, word [ebp - 0x20c]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x41dab5
mov dword [ebp - 0x15d4], 0xffffffff
jmp 0x41dabf
mov dword [ebp - 0x15d4], 1
mov edx, dword [ebp - 0x15d4]
mov dword [ebp - 0x15d8], edx
cmp dword [ebp - 0x15d8], 0
jne 0x41db14
push edx
push eax
add esp, 4
and edx, 0x13b5f
or edx, 0x3378
pop edx
push edx
push edx
add esp, 4
xor edx, 0x13e93
or edx, 0x11e0
pop edx
push ebx
or ebx, 0x9bed
or ebx, 0x16b5b
pop ebx
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x318], eax
jmp 0x41db7c
push esi
sub esi, 0x619e
xor esi, 0xd82a
sub esi, 0xb859
pop esi
push edi
push edi
add esp, 4
and edi, 0x41b6
jmp 0x41db3a
jmp 0x41db3f
or edi, 0x12923
pop edi
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x41db72
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x41d928
mov dword [ebp - 0x318], 0

Function at 0x41dba4
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
xor eax, 0x833b383d
les eax, [ecx + eax*4]
invalid

Function at 0x41dbc0
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov word [ebp - 0x1770], dx
mov eax, 0x65
mov word [ebp - 0x176e], ax
mov ecx, 0x72
mov word [ebp - 0x176c], cx
mov edx, 0x6e
mov word [ebp - 0x176a], dx
mov eax, 0x65
mov word [ebp - 0x1768], ax
mov ecx, 0x6c
mov word [ebp - 0x1766], cx
mov edx, 0x33
mov word [ebp - 0x1764], dx
mov eax, 0x32
mov word [ebp - 0x1762], ax
mov ecx, 0x2e
mov word [ebp - 0x1760], cx
mov edx, 0x64
mov word [ebp - 0x175e], dx
mov eax, 0x6c
mov word [ebp - 0x175c], ax
mov ecx, 0x6c
mov word [ebp - 0x175a], cx
xor edx, edx
invalid
invalid
xchg ebp, eax
Function at 0x41dd73
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x41dd86
add byte [edx], bh
dec edx
dec esp
dec eax
dec eax
xor eax, dword [esi + 0x34]
aaa
dec ecx
add esp, 4
add eax, 0xf586
xor eax, 0x100fa
pop eax
cmp dword [ebp - 0xca4], 0
jne 0x41ddae
invalid

Function at 0x41dd86
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x41dd86
add byte [edx], bh
dec edx
dec esp
dec eax
dec eax
xor eax, dword [esi + 0x34]
aaa
dec ecx
add esp, 4
add eax, 0xf586
xor eax, 0x100fa
pop eax
cmp dword [ebp - 0xca4], 0
jne 0x41ddae
invalid

Function at 0x41ead0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
call 0x41eadd
add byte [ebp + 0x4a], al
xor eax, 0x35474b3d
add esp, 4

Function at 0x41eadd
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
call 0x41eadd
add byte [ebp + 0x4a], al
xor eax, 0x35474b3d
add esp, 4
Function at 0x4329e0
Capabilities:
Encode data using xor

Disassembly:
xchg byte [ebp - 4], dl
add byte [eax], al
mov word [esi + 0xfc55], cs
cmp al, 0x8e
mov cl, 0xf1
add byte [eax], al
jne 0x432a04
mov word [esi + 0xfc55], ss
test byte [ebx + 0x31], bh
add dword [eax], edx
xchg byte [edi - 0x37ffff02], dh
xchg byte [0x10000fb], cl
add dword [ecx], eax
add dword [ebx + edx*2 - 0x7c], edx
lds eax, [0x1010be9]
add dword [ecx], eax
inc ebx
xor al, 0x40
dec esp
xor al, 0x3a
inc ebp
push ecx
test ch, al
add eax, 0xf482545c
or ebp, ecx
add dword [ecx], eax
and ah, 0xa4
cli
add dword [ecx], eax
pop esp
push edi
push ebx
test ch, al
add eax, 0x7530f782
add dword [ecx], eax
pop edi
test byte [esi + 0xfb0d], bh
add dword [esi + 0x42], esi
pop eax
adc al, 0x73
pop esi
add dword [ecx], eax
pushal
push edi
pop eax
test ch, al
add eax, 0x10109e9
add dword [ecx], eax
inc eax
dec edi
inc esi
xor eax, 0x844c503a
lds eax, [0xe482545f]
jns 0x432a32
add dword [ecx], eax
in al, dx
add eax, 0x3f434d34
xor ah, 0x39
loope 0x432a79
add dword [eax + ecx*8 - 0x7a], ebx
sbb esi, esi
pop esp
enter 0x1986, 0xfffffffffffffff6
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
ljmp 0x5754

Function at 0x438e20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push 0x18e
push ecx
lea edx, [ebp - 0x3a2]
push edx
mov dword [ebp - 0x3a8], eax
mov word [ebp - 0x3a4], cx
call fcn.0051d250
add esp, 0xc
lea eax, [ebp - 0x3a4]
push eax
push 0xc7
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x438e83
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x212]
push edx
mov word [ebp - 0x214], cx
call fcn.0051d250
mov eax, dword [0x561044]
mov cx, word [0x561048]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov word [ebp - 8], cx
lea edi, [ebp - 0x3a4]
push esi
lea esp, [esp]
mov dx, word [edi]
push 0x104
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov word [ebp - 0xc], dx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x438f30
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438ef0
sub eax, edx
sar eax, 1
mov esi, eax
mov edx, 0x5c
mov word [ebp + esi*2 - 0x214], dx
inc esi
push esi
lea ecx, [ebp - 0x214]
push ecx
xor eax, eax
push ebx
mov word [ebp + esi*2 - 0x214], ax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x438f53
lea esp, [esp]
mov dx, word [edi]
add edi, 2
test dx, dx
jne 0x438f30
cmp word [edi], dx
jne 0x438ec0
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
lea eax, [ebx + esi*2]
push eax
mov eax, dword [ebp - 0x3a8]
lea ecx, [ebp - 0xc]
push ecx
push 0x561038
push edx
push eax
call fcn.00436ed0
mov ecx, dword [ebp - 4]
add esp, 0x14
pop esi
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x43aba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x994
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43acdc
test ebx, ebx
je 0x43acdc
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43abd0
sub eax, edx
sar eax, 1
cmp eax, 0x64
ja 0x43acdc
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43abf0
sub eax, edx
sar eax, 1
cmp eax, 0x40
ja 0x43acdc
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp word [0x596e20], cx
jne 0x43ac39
push 0x208
push 0x596e20
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Drivers
push 0x596e20
push 0x596e20
call esi
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x992]
push ecx
mov word [ebp - 0x994], ax
call fcn.0051d250
add esp, 0xc
push edi
push 0x596e20
lea edx, [ebp - 0x994]
push edx
call esi
mov ecx, 0x11
mov esi, str.SYSTEMCurrentControlSetServices_
lea edi, [ebp - 0x194]
rep movsd dword es:[edi], dword [esi]
push 0x14a
lea eax, [ebp - 0x14e]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0051d250
push ebx
lea ecx, [ebp - 0x194]
push 0xc8
push ecx
call fcn.0051fc95
lea edx, [ebp - 0x994]
push edx
call int.0042daf0
add esp, 0x1c
cmp dword [ebp + 0x10], 0
pop esi
je 0x43acc7
lea eax, [ebp - 0x194]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x43b110
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3f
lea eax, [ebp - 0x7b]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x7c], 0
call fcn.0051d250
mov esi, dword [ebp + 8]
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov ecx, eax
shr ecx, 3
movsx edx, byte [ecx + esi]
mov ecx, eax
and ecx, 7
shl edx, cl
inc eax
sar edx, 7
and dl, 1
mov byte [ebp + eax - 0x7d], dl
cmp eax, 0x40
jb 0x43b140
push 0x37
lea eax, [ebp - 0x3b]
push 0
push eax
mov byte [ebp - 0x3c], 0
call fcn.0051d250
add esp, 0xc
xor eax, eax
jmp 0x43b180
movsx ecx, byte [eax + 0x55fa98]
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x55fa99]
mov byte [ebp + eax - 0x3c], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x55fa9a]
mov byte [ebp + eax - 0x3b], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x55fa9b]
mov byte [ebp + eax - 0x3a], dl
movzx edx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x39], dl
add eax, 4
cmp eax, 0x38
jl 0x43b180
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, edi
call fcn.0042f4b0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 8