joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4284a5
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x42851e
cmp dword [ebp + 0x10], 0
je 0x4284f0
cmp dword [0x5168ac], 4
jl 0x42850b
push dword [ebp - 4]
push dword [ebp + 0x10]
push str.Thread__S_created__id_u
push 4
call fcn.0044d31e
add esp, 0x10
jmp 0x42850b
cmp dword [0x5168ac], 4
jl 0x42850b
push dword [ebp - 4]
push str.Thread_id_u_created
push 4
call fcn.0044d31e
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x428520
xor eax, eax
pop ebx
leave
ret 0xc

Function at 0x428525
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x428592
cmp dword [ebp + 0x10], 0
je 0x428570
cmp dword [0x5168ac], 4
jl 0x42858b
push dword [ebp - 4]
push dword [ebp + 0x10]
push str.Thread__S_created__id_u
push 4
call fcn.0044d31e
add esp, 0x10
jmp 0x42858b
cmp dword [0x5168ac], 4
jl 0x42858b
push dword [ebp - 4]
push str.Thread_id_u_created
push 4
call fcn.0044d31e
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x4287be
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push ebx
call esi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 8], 0
je 0x42881d
test eax, eax
je 0x42881d
cmp eax, dword [ebp + 8]
ja 0x42881d
movzx ecx, word [edi]
movzx eax, word [ebx]
mov edx, ebx
mov esi, edi
cmp ax, cx
je 0x428807
movzx ecx, cx
movzx eax, ax
xor ecx, eax
test ecx, 0xffffffdf
jne 0x42881d
inc esi
inc esi
movzx ecx, word [esi]
xor eax, eax
cmp ax, cx
je 0x428826
inc edx
inc edx
movzx eax, word [edx]
test ax, ax
jne 0x4287f2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, ebx
jmp 0x42881f

Function at 0x428b68
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 8], ebx
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 5
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x428bc7
cmp dword [ebp - 4], ebx
je 0x428bc7
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 8]
pop ebx
leave
ret
Function at 0x428bcd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x428c28
push eax
call fcn.00448a28
push eax
lea eax, [ebp - 0x400]
push str.ShellExecute_failed:__S
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x10
push dword [0x4a1ab0]
lea eax, [ebp - 0x400]
push eax
push 0
call fcn.0044e197
xor eax, eax
jmp 0x428c2b
xor eax, eax
inc eax
leave
ret 8

Function at 0x429104
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
call fcn.0044f761
test eax, eax
je 0x4291ba
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push eax
call fcn.004476fd
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x54
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004476fd
mov eax, dword [0x50a13c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x58]
inc esi
push eax
mov dword [ebp - 0x58], 0x58
mov dword [ebp - 0x4c], str.Text_Files__.txt_
mov dword [ebp - 0x24], 0x9080e
mov dword [ebp - 0x1c], 0x46ffac
mov dword [ebp - 0x40], esi
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x4291b7
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
jmp 0x4291b9
xor eax, eax
pop esi
leave
ret 8

Function at 0x4291be
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
call fcn.0044f761
test eax, eax
je 0x429274
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push eax
call fcn.004476fd
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x54
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004476fd
mov eax, dword [0x50a13c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x58]
inc esi
push eax
mov dword [ebp - 0x58], 0x58
mov dword [ebp - 0x4c], str.XML_Files__.xml_
mov dword [ebp - 0x24], 0x9080e
mov dword [ebp - 0x1c], 0x470018
mov dword [ebp - 0x40], esi
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x429271
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
jmp 0x429273
xor eax, eax
pop esi
leave
ret 8
Function at 0x429278
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
call fcn.0044f761
test eax, eax
je 0x42932e
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push eax
call fcn.004476fd
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x54
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004476fd
mov eax, dword [0x50a13c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x58]
inc esi
push eax
mov dword [ebp - 0x58], 0x58
mov dword [ebp - 0x4c], str.XML_Files__.xml_
mov dword [ebp - 0x24], 0x9080e
mov dword [ebp - 0x1c], 0x470018
mov dword [ebp - 0x40], esi
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x42932b
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
jmp 0x42932d
xor eax, eax
pop esi
leave
ret 8
Function at 0x42b8b5
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
test byte [0x5079a0], 1
jne 0x42b8de
or dword [0x5079a0], 1
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x50799c], eax
test byte [0x5079a0], 2
jne 0x42b904
or dword [0x5079a0], 2
push str.GetModuleFileNameExW
push dword [0x50799c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x507998], eax
cmp dword [0x507998], 0
jne 0x42b914
xor eax, eax
jmp 0x42ba62
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
call edi
push 0
push 2
mov dword [ebp - 0xc], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x42b93b
xor eax, eax
jmp 0x42ba61
push ebx
push esi
lea ecx, [ebp - 0x238]
push ecx
push eax
mov dword [ebp - 0x238], 0x22c
call sub.KERNEL32.dll_Process32FirstW
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42ba4b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push dword [ebp - 0xc]
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
jne 0x42ba34
cmp dword [ebp + 0xc], 0xffffffff
je 0x42b9a6
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x42b9a6
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
jne 0x42ba34
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x442]
push eax
call fcn.004476fd
add esp, 0xc
push dword [ebp - 0x230]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
test eax, eax
je 0x42ba29
push 0x104
lea ecx, [ebp - 0x444]
push ecx
push 0
push eax
call dword [0x507998]
dec eax
cmp eax, 0x102
ja 0x42ba22
push 0x5c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
lea eax, [ebp - 0x444]
push eax
je 0x42ba16
push dword [ebp + 8]
jmp 0x42ba1c
call edi
push dword [ebp - 0xc]
push eax
call esi
test eax, eax
je 0x42ba4f
push dword [ebp - 4]
call ebx
jmp 0x42ba34
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x42ba66
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42b968
xor esi, esi
jmp 0x42ba6c
push dword [ebp - 4]
call ebx
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0x230]
pop esi
pop ebx
pop edi
leave
ret 8
mov esi, dword [ebp - 0x230]
push dword [ebp - 8]
call ebx
mov eax, esi
jmp 0x42ba5f
Function at 0x42be16
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
jne 0x42be45
xor eax, eax
jmp 0x42bed2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x42be5d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42be3e
add eax, 2
push esi
push eax
call fcn.00447831
mov esi, dword [ebp + 0xc]
pop ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push 3
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esi], eax
mov dword [ebp - 4], ebx
call edi
test eax, eax
je 0x42becf
push 3
push 0x4564b8
push dword [esi]
call fcn.004476ba
add esp, 0xc
test eax, eax
je 0x42bea6
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp + 8]
call edi
test eax, eax
je 0x42bec1
mov eax, dword [esi]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], bl
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x42bed1
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x42bf50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, 0x3e8
cmp dword [ebp + 0xc], ebx
jae 0x42bf66
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42bf9c
call esi
sub eax, edi
cmp eax, dword [ebp + 0xc]
jae 0x42bf97
cmp dword [0x50aa94], 0
je 0x42bf72
mov eax, 0x102
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42c72b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa5c
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0xa5c]
push dword [ebp + 8]
push str.__s___s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x38
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push esi
push eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0x47054c
call fcn.004476fd
mov ax, word [ebp + 0x14]
add esp, 0x1c
cmp ax, si
je 0x42c78d
or dword [ebp - 0x28], 1
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xa5c]
push esi
push esi
push esi
push esi
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
cmp ebx, esi
je 0x42c7c3
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0xc]
call edi
xor eax, eax
cmp ebx, esi
pop edi
pop esi
setne al
pop ebx
leave
ret 0x10
Function at 0x42c87c
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00427c56
test eax, eax
je 0x42c8b4
push 0
push 0x2000000
push 3
push 0
push 7
push dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42c8eb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x42c8ed
test dword [esp + 0xc], 0x40000000
je 0x42c8eb
push 0
push 0x2000000
push 1
push 0
push 7
push dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42c8eb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42c8af
xor eax, eax
pop esi
ret 8

Function at 0x42c8f1
Capabilities:
Copy file
Create directory
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x414]
push eax
push str._ALLUSERSPROFILE_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x5c
lea eax, [ebp - 0x414]
push eax
call fcn.00427a8d
push str.Uwe_Sieber
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, 0x5097a8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4522dc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call fcn.00427c56
mov dword [ebp - 4], eax
mov ebx, 0x456480
test eax, eax
je 0x42c9c3
lea eax, [ebp - 0x20c]
push eax
push edi
lea eax, [ebp - 0x61c]
push eax
push 0x452148
push str.NoIniWrite
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x42c9c3
push 0x509cc8
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x42c9c3
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x42ca89
push esi
call fcn.00427cad
xor edi, edi
cmp eax, edi
je 0x42ca12
cmp dword [ebp - 4], edi
je 0x42ca89
lea eax, [ebp - 0x20c]
push eax
call fcn.00428599
push esi
mov edi, eax
mov ebx, edx
call fcn.00428599
cmp ebx, edx
jb 0x42ca89
ja 0x42ca00
cmp edi, eax
jbe 0x42ca89
push 0
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x42ca89
push esi
call fcn.00427c86
test eax, eax
jne 0x42ca89
lea eax, [ebp - 0x414]
push eax
call fcn.00427c56
test eax, eax
jne 0x42ca3a
push edi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.00427c56
test eax, eax
je 0x42ca63
lea eax, [ebp - 0x20c]
push eax
call fcn.00427c56
test eax, eax
jne 0x42ca63
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push eax
push 0x509cc8
push str.NoIniWrite
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d136
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42d1af
cmp word [esi], 0
je 0x42d1af
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x100
ja 0x42d1af
cmp word [esi], 0x5c
jne 0x42d172
cmp word [esi + 2], 0x5c
jne 0x42d172
cmp word [esi + 6], 0x5c
jne 0x42d172
add esi, 8
push esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x5c
lea eax, [ebp - 0x208]
push eax
call fcn.00427ab9
push 0x104
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
neg eax
sbb eax, eax
neg eax
jmp 0x42d1d7
push str.DosDeviceNameExists
push 0x1d35
push str..Tools.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.0044d31e
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop esi
leave
ret 4

Function at 0x42d1dc
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x108
push esi
push edi
xor eax, eax
mov dword [ebp + 0x64], 0x2e
lea edi, [ebp + 0x68]
push 4
stosd dword es:[edi], eax
lea eax, [ebp + 0x64]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
push 0x7e
mov word [ebp - 0x1c], ax
xor esi, esi
lea eax, [ebp - 0x1a]
push esi
push eax
call fcn.004476fd
push dword [ebp + 0x78]
lea eax, [ebp - 0x9c]
push dword [ebp + 0x74]
push str._I64u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, esi
jbe 0x42d27d
lea ecx, [ebp - 0x1c]
push ebx
mov ax, word [ebp + esi*2 - 0x9c]
mov word [ecx], ax
inc ecx
mov eax, edi
sub eax, esi
inc ecx
dec eax
je 0x42d277
push 3
xor edx, edx
pop ebx
div ebx
test edx, edx
jne 0x42d277
mov ax, word [ebp + 0x64]
mov word [ecx], ax
inc ecx
inc ecx
inc esi
cmp esi, edi
jb 0x42d24f
pop ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
add ebp, 0x6c
leave
ret 0xc
Function at 0x42e1af
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
mov esi, dword [ebp + 8]
push str.DeviceCdRom
push esi
call fcn.00428778
test eax, eax
je 0x42e1e8
add esi, 0x1a
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
or dword [eax], 0xffffffff
xor eax, eax
inc eax
jmp 0x42e361
push str.DeviceFloppy
push esi
call fcn.00428778
test eax, eax
je 0x42e1fc
add esi, 0x1c
jmp 0x42e1ce
cmp dword [0x509b18], 6
jae 0x42e20c
xor eax, eax
jmp 0x42e361
push str.HarddiskVolume
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x42e205
push edi
push esi
push str.GetNt6VolumeDeviceAndPartitionNumber__s_...
push 3
call fcn.0044d31e
mov eax, dword [0x4a1aac]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447831
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
add esp, 0x10
xor esi, esi
jmp 0x42e28c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42e349
push dword [ebp - 4]
call fcn.0044786c
add dword [0x4a1aac], 0x1000
mov eax, dword [0x4a1aac]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447831
pop ecx
pop ecx
mov ecx, dword [0x4a1aac]
dec ecx
push ecx
push eax
push esi
mov dword [ebp - 4], eax
call edi
mov dword [ebp - 8], eax
cmp eax, esi
je 0x42e250
push ebx
xor ebx, ebx
cmp eax, esi
jle 0x42e337
mov eax, dword [ebp - 4]
lea esi, [eax + ebx*2]
cmp word [esi], 0
je 0x42e337
push str.Harddisk
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, esi
jne 0x42e323
push str.Partition
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42e323
push 0x104
lea eax, [ebp - 0x214]
push eax
push esi
call edi
test eax, eax
je 0x42e323
cmp dword [0x5168ac], 5
jl 0x42e30f
lea eax, [ebp - 0x214]
push eax
push esi
push str.___s___s
push 5
call fcn.0044d31e
add esp, 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42e366
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax + 1]
cmp ebx, dword [ebp - 8]
jl 0x42e2ad
push str._not_found
push 3
call fcn.0044d31e
pop ecx
pop ecx
xor esi, esi
jmp 0x42e39b
call fcn.0044a8c1
push eax
push str._qdd_all__err_S
push 3
call fcn.0044d31e
add esp, 0xc
xor eax, eax
pop edi
pop esi
leave
ret 0xc
mov edi, dword [sym.imp.SHLWAPI.dll_StrToIntW]
lea eax, [esi + 0x10]
push eax
call edi
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
add eax, 0x12
push eax
call edi
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ecx], eax
push dword [ebx]
push esi
push str._found__s____pDevNum_i_pPartNum_i
push 3
call fcn.0044d31e
xor esi, esi
add esp, 0x14
inc esi
push dword [ebp - 4]
call fcn.0044786c
pop ecx
mov eax, esi
pop ebx
jmp 0x42e360
Function at 0x42ebd8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x509c40
lea eax, [ebp - 0x25c]
push str._sSystem32_rundll32.exe
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x65c]
push str.__s__url_OpenURL__s
push eax
call esi
add esp, 0x1c
cmp dword [0x509b18], 6
jb 0x42ec4d
call fcn.00428b68
test eax, eax
je 0x42ec4d
call fcn.0042cf04
test eax, eax
je 0x42ec4d
push 3
push 0x509728
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0042c584
jmp 0x42ecb9
push edi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x38
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push esi
push eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0x47054c
call fcn.004476fd
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x42ecb7
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
inc eax
jmp 0x42ecb9
xor eax, eax
pop esi
leave
ret 4