joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407fed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov dword [ebp - 4], ecx
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00407a46
push 2
sub esp, 0x1c
mov ecx, esp
push 1
push dword [ebp + 8]
call fcn.0040710d
lea ecx, [ebp - 0x2c]
call fcn.004080b2
test al, al
jne 0x408039
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x4465c0
call fcn.00407f7d
lea ecx, [ebp - 0x24]
call fcn.00402544
xor al, al
jmp 0x4080ab
mov esi, 0x1400
push esi
call fcn.00420f25
mov ebx, eax
push esi
push 0
push ebx
call fcn.00420eb0
add esp, 0x10
mov ecx, dword [ebp - 4]
push esi
push ebx
call fcn.004081a0
mov edi, eax
test edi, edi
je 0x408086
cmp edi, 0xffffffff
je 0x408086
lea eax, [ebp + 8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push 0
push ebx
call fcn.00420eb0
add esp, 0xc
jmp 0x408052
lea ecx, [ebp - 0x2c]
call fcn.00407f7d
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x4465c0
call fcn.00407f7d
lea ecx, [ebp - 0x24]
call fcn.00402544
cmp edi, 0xffffffff
setne al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x408508
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push dword [0x44c660]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea ecx, [ebp - 0x10]
push 0x2710
push eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], bl
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb al, al
mov dword [ebp - 4], ebx
inc al
mov byte [ebp - 0xc], al
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.ole32.dll_GetRunningObjectTable]
test eax, eax
jl 0x40855e
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 4]
cmp eax, ebx
pop ebx
je 0x40856c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 8]
call fcn.004089e0
lea ecx, [ebp - 0x10]
call fcn.004091cd
leave
ret

Function at 0x40948a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push 5
push 0x6d
mov eax, dword [esi + 0x1e0]
mov eax, dword [eax + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40952f
mov ecx, dword [esi + 0x1e0]
push edi
push eax
mov ecx, dword [ecx + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040540f
mov edi, dword [esi + 0x1e0]
add edi, 4
mov ecx, edi
call fcn.00402c9d
mov eax, dword [esi + 0x1e0]
lea ecx, [ebp - 0xc]
mov ax, word [eax + 0x20]
push eax
push dword [edi + 4]
call fcn.004055fb
mov eax, dword [esi + 0x1e0]
push esi
push 0x40928d
push 0
push dword [ebp - 0xc]
mov edi, dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push edi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
push eax
mov dword [esi + 0x344], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0xc]
call fcn.004054df
pop edi
pop esi
leave
ret
Function at 0x4096a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push 5
push 0x79
mov eax, dword [esi + 0x1e0]
mov eax, dword [eax + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4096d2
mov eax, 0x80004005
jmp 0x409769
mov ecx, dword [esi + 0x1e0]
push edi
push eax
mov ecx, dword [ecx + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040540f
mov edi, dword [esi + 0x1e0]
add edi, 4
mov ecx, edi
call fcn.00402c9d
mov eax, dword [esi + 0x1e0]
lea ecx, [ebp - 0xc]
mov ax, word [eax + 0x20]
push eax
push dword [edi + 4]
call fcn.004055fb
mov eax, dword [esi + 0x1e0]
push esi
push 0x40976c
push 0
push dword [ebp - 0xc]
mov edi, dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push edi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
cmp eax, 1
pop edi
jne 0x40975a
mov eax, dword [esi + 0x1e4]
mov ax, word [eax + 0x844]
mov word [esi + 0x3c8], ax
xor esi, esi
jmp 0x40975f
mov esi, 0x80042000
lea ecx, [ebp - 0xc]
call fcn.004054df
mov eax, esi
pop esi
leave
ret
Function at 0x40a112
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
mov ecx, dword [ecx]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x40a146
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, esi
mov ebx, eax
jne 0x40a169
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp edi, esi
je 0x40a174
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

Function at 0x40a17d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 8]
xor esi, esi
push eax
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x40a202
xor eax, eax
cmp dword [ebp - 4], esi
je 0x40a1be
push dword [ebp - 4]
call edi
mov ecx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 4], ecx
jne 0x40a202
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
lea ecx, [ebp - 4]
push dword [ebp + 8]
push str.CLSID
call fcn.0040a112
cmp dword [ebp - 4], esi
je 0x40a1fe
push dword [ebp - 4]
call edi
xor eax, eax
jmp 0x40a220
cmp eax, esi
push ebx
jle 0x40a211
and eax, 0xffff
or eax, 0x80070000
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x40a21d
push dword [ebp - 4]
call edi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40a300
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.0040a0d4
mov edi, eax
cmp edi, esi
je 0x40a340
cmp dword [ebp - 4], esi
je 0x40a339
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x40a3dd
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 8], pe_nt_image_headers32
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x40a3b1
lea eax, [ebp - 0x114]
lea ecx, [ebp - 4]
push eax
call fcn.0040a300
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x40a39e
lea eax, [ebp - 0x14]
mov dword [ebp - 8], pe_nt_image_headers32
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x40a363
cmp dword [ebp - 4], esi
je 0x40a3ac
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x40a3dd
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40a3c4
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x40a3db
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40a479
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x40a498
xor al, al
jmp 0x40a4bb
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x40a4bf
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 0x90], eax
mov al, cl
pop edi
pop esi
pop ecx
ret
Function at 0x40adc2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
lea eax, [ebp - 1]
mov ebx, 0x4465a0
mov edi, 0x446598
push 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], edi
call fcn.00403e51
and byte [ebp - 0xc], 0
and dword [ebp - 8], 0
mov esi, 0x104
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], eax
jae 0x40ae0a
push esi
lea ecx, [ebp - 0x34]
call fcn.00404f76
mov ecx, dword [ebp - 0x10]
call fcn.00404ff5
push esi
push eax
push 0
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x10]
call fcn.00404215
lea eax, [ebp - 0x60]
push 0
push eax
lea ecx, [ebp - 0x38]
call fcn.004048a5
mov ecx, eax
call fcn.00404ff5
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00403643
cmp esi, 2
je 0x40aea2
cmp esi, 5
je 0x40aea2
cmp esi, 3
je 0x40ae96
cmp esi, 4
je 0x40ae96
cmp esi, 6
je 0x40ae96
sub esp, 0x28
lea eax, [ebp - 0x38]
mov ecx, esp
push 0
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00403eac
call fcn.0040acaf
add esp, 0x28
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.00403643
cmp si, 1
setne al
jmp 0x40aeac
lea ecx, [ebp - 0x38]
call fcn.00403643
xor al, al
jmp 0x40aeac
lea ecx, [ebp - 0x38]
call fcn.00403643
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40bee7
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push 1
lea ecx, [ebp - 0x38]
call fcn.00402783
mov ebx, dword [ebp + 8]
xor esi, esi
lea eax, [ebp - 0x1c]
push esi
push eax
mov ecx, ebx
call fcn.0040ca8f
add eax, 0x10
mov eax, dword [eax]
cmp eax, esi
je 0x40bf1d
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.00402544
push 0x5c
inc esi
pop edi
mov dword [ebp + 8], edi
push esi
lea eax, [ebp + 8]
push 1
push eax
mov ecx, ebx
call fcn.004074ff
cmp dword [0x446564], eax
je 0x40bf88
lea esi, [eax + 1]
push 0
push esi
push 0
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x44655c
mov dword [ebp - 8], 0x446554
call fcn.00408931
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x446550
call fcn.00402c9d
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x1c]
call fcn.00402544
mov dword [ebp + 8], edi
jmp 0x40bf2c
lea ecx, [ebp - 0x38]
call fcn.00402852
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41009a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov esi, 0x104
jne 0x41012c
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x41012c
push str.GetSystemWindowsDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44d034], eax
je 0x41012c
lea ecx, [ebp - 0x12c]
push esi
push ecx
call eax
test eax, eax
je 0x41012c
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x12c]
mov edi, 0x446870
mov esi, 0x446868
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 8], esi
call fcn.0040cc06
push 0x44c700
lea ecx, [ebp - 0x28]
call fcn.0040b50c
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00403eac
lea ecx, [ebp - 0x28]
jmp 0x41019b
lea eax, [ebp - 0x12c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x410154
lea ecx, [ebp - 0x1c]
call fcn.004101a7
lea eax, [ebp - 0x1c]
push 0x448048
push eax
call fcn.00422a17
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x12c]
mov edi, 0x446870
mov esi, 0x446868
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 8], esi
call fcn.0040cc06
push 0x44c700
lea ecx, [ebp - 0x28]
call fcn.0040b50c
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00403eac
lea ecx, [ebp - 0x28]
call fcn.00403643
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x41084d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
and byte [ebp - 0x134], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x410912
cmp dword [ebp + 0xc], 1
mov dword [ebp - 8], 0x104
mov eax, str.CommonFilesDir
je 0x4108a8
mov eax, str.ProgramFilesDir
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x134]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xf]
push ebx
push eax
lea eax, [ebp - 0x134]
mov edi, 0x446870
mov esi, 0x446868
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], esi
call fcn.0040cc06
push 0x44c700
lea ecx, [ebp - 0x30]
call fcn.0040b50c
lea ecx, [ebp - 0x30]
call fcn.0041052b
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00403eac
lea ecx, [ebp - 0x30]
jmp 0x410958
lea eax, [ebp + 0xf]
push ebx
push eax
lea eax, [ebp - 0x134]
mov edi, 0x446870
mov esi, 0x446868
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], esi
call fcn.0040cc06
push 0x44c700
lea ecx, [ebp - 0x30]
call fcn.0040b50c
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00403eac
lea ecx, [ebp - 0x30]
call fcn.00403643
cmp dword [ebp - 4], 0
je 0x410971
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x410971
push dword [ebp - 4]
call eax
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x411f07
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [ecx + 0x1e4]
add esi, 0x1c
mov ecx, esi
call fcn.00402c9d
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop esi
ret 0xc
Function at 0x412dcf
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
and byte [ebp - 0x1fc], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x1fb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 4], 0
stosb byte es:[edi], al
lea eax, [ebp - 0x1fc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x24
xor eax, eax
pop ecx
lea edi, [ebp - 0xf4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
mov ebx, 0x44655c
mov edi, 0x446554
mov esi, 0x446550
je 0x412f1f
cmp dword [ebp - 0xe8], 1
jne 0x412f1f
lea eax, [ebp - 0x1fc]
push 0
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], edi
call fcn.00403191
push str.123.tmp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
call fcn.00403200
lea ecx, [ebp - 0x20]
call fcn.00402c9d
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x412eff
lea eax, [ebp - 0x64]
push 0
push eax
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0041304f
pop ecx
pop ecx
mov ecx, eax
call fcn.00407327
push eax
lea ecx, [ebp - 0x20]
call fcn.00402d12
lea ecx, [ebp - 0x64]
call fcn.00402544
lea ecx, [ebp - 0x3c]
call fcn.00402544
push str.temp
lea ecx, [ebp - 0x20]
call fcn.00403200
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x14], edi
call fcn.00406d6e
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov dword [edi], esi
jmp 0x412fad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
call fcn.00402c9d
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x20]
call fcn.00402544
cmp byte [ebp - 0x1fc], 0
je 0x412f58
lea eax, [ebp - 0x1fc]
push 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], edi
call fcn.00403191
push 0x44c700
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 1
call fcn.00403200
jmp 0x412f7c
lea eax, [ebp - 0x1fc]
push 0
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], edi
call fcn.00403191
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x20]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x14], edi
call fcn.00406d6e
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x412fa4
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.00402544
test byte [ebp - 4], 1
je 0x412fb2
lea ecx, [ebp - 0x3c]
call fcn.00402544
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41304f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
and byte [ebp - 0x140], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push 0x104
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp - 0x140], 0
je 0x4130ce
lea eax, [ebp - 0x140]
mov edi, 0x446554
push esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x44655c
mov dword [ebp - 0xc], edi
call fcn.00403191
mov esi, 0x446550
push 0x44c700
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
call fcn.00403200
jmp 0x4130ff
lea eax, [ebp - 0x140]
mov edi, 0x446554
push esi
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x44655c
mov dword [ebp - 0x28], edi
call fcn.00403191
mov esi, 0x446550
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], 0x44655c
mov dword [ecx + 0x14], edi
call fcn.00406d6e
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x41312b
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x3c]
call fcn.00402544
test byte [ebp - 4], 1
je 0x413139
lea ecx, [ebp - 0x20]
call fcn.00402544
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x414a70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
push 0x40
xor ebx, ebx
pop ecx
lea edi, [ebp - 0x1d7]
mov byte [ebp - 0x1d8], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x30], ebx
push eax
push ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xd4], 0x44
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1d8]
mov esi, 0x446554
push ebx
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x5c], 0x44655c
mov dword [ebp - 0x54], esi
call fcn.00403191
mov edi, 0x446550
push 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x68], edi
call fcn.00402471
push 0x44d2f8
lea ecx, [ebp - 0x20]
call fcn.00402996
push ebx
push 0x451a40
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x40], 0x44655c
mov dword [ebp - 0x38], esi
call fcn.00403191
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], edi
lea eax, [esi + 0x6d4]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00416468
mov eax, dword [eax + 0x10]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
add esp, 0xc
mov dword [ebp - 4], eax
push eax
call edi
push eax
lea ecx, [ebp - 0x10]
push dword [ebp - 4]
call fcn.004023fd
lea ecx, [ebp - 0x84]
call fcn.00402544
lea ecx, [ebp - 0x4c]
call fcn.00402544
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
call fcn.0040c9bd
mov eax, dword [eax + 0x10]
push eax
mov dword [ebp - 4], eax
call edi
push eax
lea ecx, [ebp - 0x10]
push dword [ebp - 4]
call fcn.004023fd
lea ecx, [ebp - 0x90]
call fcn.00402544
push 0x44d77c
lea ecx, [ebp - 0x20]
call fcn.00403428
mov esi, dword [esi + 0x1e4]
mov ecx, esi
call fcn.00402c9d
push dword [esi + 4]
lea ecx, [ebp - 0x20]
call fcn.00403428
lea ecx, [ebp - 0x20]
call fcn.00402c9d
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xd4]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x20]
call fcn.00402544
lea ecx, [ebp - 0x68]
call fcn.00402544
lea ecx, [ebp - 0x30]
call fcn.0040b2cf
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414bfe
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Windows
mov ecx, ebx
call fcn.00402996
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x24
pop ecx
xor eax, eax
lea edi, [ebp - 0xbc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x94
push eax
call esi
test eax, eax
je 0x414d4b
mov eax, dword [ebp - 0xb0]
dec eax
je 0x414cc4
dec eax
jne 0x414d04
mov eax, dword [ebp - 0xb8]
sub eax, 0
je 0x414ca4
dec eax
jne 0x414d04
push 0x26
xor eax, eax
pop ecx
lea edi, [ebp - 0x270]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x274]
mov dword [ebp - 0x274], 0x9c
push eax
call esi
test eax, eax
je 0x414d04
cmp byte [ebp - 0x1d9], 3
jne 0x414c9d
push str..NET_Server
jmp 0x414cfd
push 0x44d7c8
jmp 0x414cfd
cmp dword [ebp - 0xbc], 4
jne 0x414cb4
push str.NT_4.0
jmp 0x414cfd
cmp dword [ebp - 0xbc], 5
jne 0x414d04
push str.2000
jmp 0x414cfd
cmp dword [ebp - 0xb8], 0
je 0x414cf8
cmp dword [ebp - 0xb8], 0xa
je 0x414ce1
cmp dword [ebp - 0xb8], 0x5a
jne 0x414d04
jmp 0x414cea
call fcn.00420265
test eax, eax
je 0x414cf1
push 0x44d7b4
jmp 0x414cfd
push 0x44d7b0
jmp 0x414cfd
push 0x44d7ac
mov ecx, ebx
call fcn.00403428
and byte [ebp - 0x140], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
push dword [ebp - 0xb4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x140]
push str.__s___d_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x140]
mov ecx, ebx
push eax
call fcn.00403428
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402783
lea ecx, [ebp - 0x1d8]
call fcn.00407c22
and byte [ebp - 0xc], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x10], pe_nt_image_headers32
call fcn.0040276d
push eax
lea ecx, [ebp - 0x1d8]
call fcn.0041d45e
lea ecx, [ebp - 0x10]
call fcn.00402746
mov eax, dword [ebp + 8]
sub eax, 0
je 0x414dae
dec eax
je 0x414da7
push str._BT_OTHER
jmp 0x414db3
push str._IE
jmp 0x414db3
push str._Netscape
mov ecx, ebx
call fcn.00403428
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
lea ecx, [ebx + 0x10]
call fcn.004023fd
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x446658
call fcn.0041d3d5
lea ecx, [ebp - 0x2c]
call fcn.00402852
pop edi
pop esi
pop ebx
leave
ret 4