joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411330
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00455534
push 0x46f1e8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044c423
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044c423
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx eax, word [ebp + 0x10]
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 0
mov ebx, eax
lea eax, [ebp - 0x20c]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x411401
push 0
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x10

Function at 0x411420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.00446880
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp esi, eax
jae 0x4114c5
test esi, esi
je 0x4114bd
test edi, edi
je 0x41148f
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.00448cc0
add esp, 0xc
jmp 0x4114b1
push eax
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00449240
add esp, 0xc
call fcn.0045131a
mov dword [eax], 0x16
call fcn.00451240
cmp esi, 0x800
jae 0x411549
mov byte [ebp + esi - 0x804], 0
push 0x800
lea eax, [ebp - 0x1804]
mov ecx, 0x4d4fa0
push eax
push 0x800
lea eax, [ebp - 0x804]
push eax
call fcn.00402f20
lea ecx, [ebp - 0x1804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4114f0
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x1804]
push 0
push 0
push 0
push 0
sub ecx, edx
sar ecx, 1
push ecx
push eax
push 0
push 0xfde9
call esi
push 0
push 0
push eax
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x1804]
push eax
push 0
push 0xfde9
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x10
call fcn.00446a02
int3
Function at 0x411550
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0x104
push eax
call fcn.00455534
push str.Resources
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044c423
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.environ.bin
push 0xaa
push str.ENVIRONMENT
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.candidat.bin
push 0xae
push str.CANDIDATE
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.errorurl.bin
push 0xa1
push str.ERRORURL
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.exitlist.bin
push 0x8d
push str.EXITLIST
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.institut.bin
push 0xad
push str.INSTITUTION
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.interval.bin
push 0x85
push str.INTERVAL
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.language.bin
push 0xaf
push str.LANGUAGE
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.logpath.bin
push 0x8b
push str.LOGPATH
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.message.bin
push 0x9e
push str.MESSAGE
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.options.bin
push 0x88
push str.OPTIONS
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.program.bin
push 0xab
push str.PROGRAM
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.safe.bin
push 0x67
push str.SAFE
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.safedom.bin
push 0x8e
push str.SAFEDOM
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.unsafe.bin
push 0x6f
push str.UNSAFE
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.unsafedo.bin
push 0x96
push str.UNSAFEDOM
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.updateur.bin
push 0x94
push str.UPDATEURL
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.url.bin
push 0x75
push 0x46f138
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.killlist.bin
push 0xa8
push str.KILLLIST
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.alturl.bin
push 0x7c
push str.ALTURL
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.ecminver.bin
push 0xa5
push str.ECMINVERSION
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411330
push str.killonex.bin
push 0xbc
push str.KILLONQUITLIST
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00411330
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004465ed
mov esp, ebp
pop ebp
ret 4
Function at 0x411810
Capabilities:
Create directory
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040a620
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
cmp dword [0x5079f0], 1
push esi
jne 0x41188e
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.00455534
push 0x46f1e8
push esi
push edi
call fcn.0044c423
add esp, 0x18
jmp 0x41189b
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.00455534
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call fcn.0044c423
add esp, 0xc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x46f1e8
push esi
push edi
call fcn.0044c423
push 0x46f1ec
push esi
push edi
call fcn.0044c423
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4701cc
push 0xf4
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [ebp - 0x214], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push edi
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x411964
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
mov ecx, 0x51cdc8
call fcn.0041ab50
push eax
push str._dllPath_
push str.You_do_not_have_write_and_execute_permissions_to_at_least_one_of_the_following_folders._To_use_this_application__you_must_have_write_execute_access._r_n_dllPath_.
push str.NoFolderAccess
mov ecx, 0x51cdc8
call fcn.0041a7c0
push 1
mov ecx, 0x51cdc8
mov dword [0x52b860], 1
mov dword [0x50b9b4], 1
call fcn.0041abc0
mov ecx, 0x51cdc8
call fcn.00412f70
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4119d0
Capabilities:
Create directory
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040a620
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00455534
push 0x46f1e8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044c423
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044c423
add esp, 0x24
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x46f1e8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044c423
push str.SBRemoteHandler.tlb
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0044c423
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ecx + 0x54f222], ax
test ax, ax
jne 0x411ac0
push 0x4701cc
push 0xa0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 3
mov ebx, eax
lea eax, [ebp - 0x20c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x411b59
push 0
lea eax, [ebp - 0x418]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
mov ecx, 0x51cdc8
push eax
call fcn.0041ab50
push eax
push str._dllPath_
push str.You_do_not_have_write_and_execute_permissions_to_at_least_one_of_the_following_folders._To_use_this_application__you_must_have_write_execute_access._r_n_dllPath_.
push str.NoFolderAccess
mov ecx, 0x51cdc8
call fcn.0041a7c0
push 1
mov ecx, 0x51cdc8
mov dword [0x52b860], 1
mov dword [0x50b9b4], 1
call fcn.0041abc0
mov ecx, 0x51cdc8
call fcn.00412f70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004465ed
mov esp, ebp
pop ebp
ret 4
Function at 0x411bd0
Capabilities:
Create directory
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040a620
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push esi
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.00455534
push 0x46f1e8
push esi
push ebx
call fcn.0044c423
lea eax, [ebp - 0x20c]
push eax
push esi
push ebx
call fcn.0044c423
add esp, 0x24
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x46f1e8
push esi
push ebx
call fcn.0044c423
push str.TestSecurity.
push esi
push ebx
call fcn.0044c423
push edi
push esi
push ebx
call fcn.0044c423
push str..dll
push esi
push ebx
call fcn.0044c423
add esp, 0x30
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4701cc
push 0x74
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push ebx
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x411d0f
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x210]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
mov ecx, 0x51cdc8
call fcn.0041ab50
push eax
push str._dllPath_
push str.You_do_not_have_write_and_execute_permissions_to_at_least_one_of_the_following_folders._To_use_this_application__you_must_have_write_execute_access._r_n_dllPath_.
push str.NoFolderAccess
mov ecx, 0x51cdc8
call fcn.0041a7c0
push 1
mov ecx, 0x51cdc8
mov dword [0x52b860], 1
mov dword [0x50b9b4], 1
call fcn.0041abc0
mov ecx, 0x51cdc8
call fcn.00412f70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411d80
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040a620
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push esi
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.00455534
push 0x46f1e8
push esi
push ebx
call fcn.0044c423
lea eax, [ebp - 0x20c]
push eax
push esi
push ebx
call fcn.0044c423
push 0x46f1e8
push esi
push ebx
call fcn.0044c423
push str.SBU.
push esi
push ebx
call fcn.0044c423
push edi
push esi
push ebx
call fcn.0044c423
add esp, 0x48
push str..exe
push esi
push ebx
call fcn.0044c423
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4701cc
push 0x92
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push ebx
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x411eb9
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x210]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
mov ecx, 0x51cdc8
call fcn.0041ab50
push eax
push str._dllPath_
push str.You_do_not_have_write_and_execute_permissions_to_at_least_one_of_the_following_folders._To_use_this_application__you_must_have_write_execute_access._r_n_dllPath_.
push str.NoFolderAccess
mov ecx, 0x51cdc8
call fcn.0041a7c0
push 1
mov ecx, 0x51cdc8
mov dword [0x52b860], 1
mov dword [0x50b9b4], 1
call fcn.0041abc0
mov ecx, 0x51cdc8
call fcn.00412f70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x10
Function at 0x412520
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x14], 0x20001
push edi
mov dword [ebp - 8], eax
mov ebx, 1
push 0xc
mov eax, dword [eax + 0xc3ec]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x10], 0x100
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x41256f
push str.AV_register_failed
push ebx
push dword [0x50a534]
call fcn.004429d0
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x10
push 0x40
mov dword [ebp - 4], 0
call edi
mov esi, eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.Started_PSCheck
push 1
push dword [0x50a534]
call fcn.004429d0
lea eax, [ebp - 4]
push eax
push str.DeviceID
push str.Win32_PointingDevice_WHERE_HardwareType_Like__PS_2_Mouse__AND_Status__OK
push esi
push dword [0x50a534]
call fcn.00442380
push dword [ebp - 4]
push str.PS_D_ID_count___d
push 1
push dword [0x50a534]
call fcn.004429d0
mov eax, dword [ebp - 4]
add esp, 0x30
test eax, eax
jle 0x4126f8
push 0x10
push 0x40
call edi
mov edi, eax
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 4]
push eax
push str.ConnectorType
push str.Win32_PortConnector
push edi
push dword [0x50a534]
call fcn.00442380
mov esi, eax
push esi
push str.cCount__d
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0x24
test esi, esi
je 0x41262a
push edi
push str.N_VM____cType____d_
jmp 0x4126fe
push dword [0x50a534]
mov dword [0x52b4f4], ebx
mov dword [0x52b4f8], ebx
call fcn.004424e0
mov esi, dword [ebp - 8]
test eax, eax
mov eax, 2
push str.Advanced_VM_Interval_Check_1
cmovne ebx, eax
add esi, 0xc3f4
push 0x64
push esi
call fcn.00455534
push str.AV___1
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0x1c
cmp dword [0x51d24c], 0
je 0x412723
push 0
push 0
push ebx
push 2
push esi
mov ecx, 0x51cdc8
mov dword [0x54e9d8], 1
call fcn.00416670
mov ecx, 0x51cdc8
call fcn.0041aaa0
push str.We_have_detected_a_remote_connection_on_this_device._The_browser_has_been_shut_down_and_a_security_violation_has_been_logged.
push str.AdvVirtualMachine
mov ecx, 0x51cdc8
call fcn.0041a630
push 7
mov ecx, 0x51cdc8
mov dword [0x52b860], 7
mov dword [0x50b9b4], 1
call fcn.0041abc0
mov ecx, 0x51cdc8
call fcn.00412d30
mov ecx, 0x51cdc8
call fcn.00412f70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str.N_VM____count____d_
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0x10
push str.AVP_check_passed
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412840
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x58], edi
mov eax, dword [edi + 0x33c78]
mov byte [eax], 0
cmp byte [ebx], 0
je 0x41296e
nop
xor edx, edx
xor eax, eax
mov cl, byte [esi + ebx]
mov byte [ebp + eax - 0x54], cl
test cl, cl
je 0x412883
inc edx
inc esi
jmp 0x412891
cmp eax, 3
jae 0x412981
mov byte [ebp + eax - 0x54], 0
inc eax
cmp eax, 3
jl 0x412874
test edx, edx
je 0x412964
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, byte [0x470b40]
movzx ecx, byte [ebp - 0x54]
movzx edi, byte [ebp - 0x53]
movups xmmword [ebp - 0x50], xmm0
mov byte [ebp - 0x10], al
mov eax, ecx
movups xmm0, xmmword [0x470b10]
shr eax, 2
and ecx, 3
shl ecx, 4
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x470b20]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x470b30]
movups xmmword [ebp - 0x20], xmm0
movzx eax, byte [ebp + eax - 0x50]
mov byte [ebp - 0xc], al
mov eax, edi
shr eax, 4
or eax, ecx
movzx eax, byte [ebp + eax - 0x50]
mov byte [ebp - 0xb], al
cmp edx, 1
jle 0x41292d
mov cl, byte [ebp - 0x52]
and edi, 0xf
movzx eax, cl
shr eax, 6
shl edi, 2
or eax, edi
mov al, byte [ebp + eax - 0x50]
mov byte [ebp - 0xa], al
cmp edx, 2
jle 0x412931
movzx eax, cl
and eax, 0x3f
mov al, byte [ebp + eax - 0x50]
jmp 0x412933
mov byte [ebp - 0xa], 0x3d
mov al, 0x3d
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 9], al
mov byte [ebp - 8], 0
mov edx, dword [ecx + 0x33c78]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412948
sub ecx, edi
lea eax, [ebp - 0xc]
push 5
push eax
lea eax, [ecx + 6]
push eax
push edx
call fcn.00457050
add esp, 0x10
cmp byte [esi + ebx], 0
jne 0x412870
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004465ed
mov esp, ebp
pop ebp
ret 4
call fcn.00446a02
int3
Function at 0x412f70
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x40c], 0
jne 0x41318f
cmp dword [esi + 0x474], 0
mov dword [esi + 0x40c], 1
je 0x412fab
push 0
push 0
push 0
push dword [0x50a534]
call fcn.004425c0
add esp, 0x10
push str.Starting_DisableSecurity
push 1
push dword [0x50a534]
call fcn.004429d0
mov eax, dword [0x553534]
add esp, 0xc
test eax, eax
je 0x41305e
cmp dword [0x50a534], 0
je 0x41305a
mov ecx, 0x5070b8
call fcn.00408490
mov ecx, 0x5070b8
call fcn.004084b0
push str.Before_killOnQuit
push 1
push dword [0x50a534]
call fcn.004429d0
push dword [esi + 0xc3ec]
push dword [0x50a534]
call fcn.004425f0
push str.After_killOnQuit
push 1
push dword [0x50a534]
call fcn.004429d0
push dword [esi + 0xc3dc]
push dword [esi + 0xc3e8]
push dword [0x50a534]
call fcn.004426f0
add esp, 0x2c
push 3
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0xc3ec]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x553534]
test eax, eax
jne 0x413074
push dword [esi + 0xc3e8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0xc3e8], 0
push str.Finished_DisableSecurity
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esi + 0xc4bc]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x49a1a8
call fcn.004101f0
mov ecx, 0x49a1a8
call fcn.00410240
mov ecx, 0x49a1a8
call fcn.00410290
push dword [0x50a534]
call fcn.00442550
add esp, 4
test eax, eax
je 0x413108
mov ecx, 0x49a1a8
call fcn.00410240
mov ecx, 0x49a1a8
call fcn.004101a0
cmp dword [esi + 0x400], 0
je 0x413130
push 4
lea eax, [esi + 0xc3e0]
mov dword [eax], 0
push eax
push 0x2a
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [esi + 0x4bc], eax
cmp dword [esi + 0x33c5c], 0
jne 0x41316d
cmp dword [0x51d24c], 0
jne 0x41316d
cmp dword [0x51d1dc], 0
jne 0x41316d
cmp dword [0x52b4f4], 0
je 0x41316d
push 0
push 0
push 1
push 2
lea eax, [esi + 0xc3f4]
mov ecx, 0x51cdc8
push eax
call fcn.00416670
push dword [0x52b860]
mov ecx, 0x51cdc8
call fcn.0041abc0
push 0
push 0
push 0x10
push dword [esi + 0xc3ec]
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x413210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 2
push 4
push 0
push 2
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x41324a
push 0
lea eax, [ebp + 8]
push eax
push 0x64
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret 4