joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c480
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
push 0x24
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.00401700
add esp, 0xc
push 0x414fbc
push 0x414fd0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x40c4db
lea ecx, [ebp - 0x68]
push ecx
call dword [ebp - 0x40]
movzx edx, word [ebp - 0x68]
cmp edx, 9
jne 0x40c4db
mov dword [ebp - 0x44], 1
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00401700
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], 0x414fec
mov dword [ebp - 0x24], 0x418ae0
cmp dword [ebp - 0x44], 0
je 0x40c50f
mov dword [ebp - 0x2c], 0x414ff8
jmp 0x40c516
mov dword [ebp - 0x2c], 0x41500c
mov dword [ebp - 0x30], 0x415020
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x24], 0x418ae0
mov dword [ebp - 0x28], str.remove_ipvedevice
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40c549
jmp 0x40c555
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret

Function at 0x40c560
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x413008]
xor eax, ebp
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
cmp dword [ebp + 8], 0
jne 0x40c595
push str._export__CFG_user.cfg__quiet
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
cmp dword [ebp + 8], 1
jne 0x40c5b0
push str._configure__DB_user.sdb__CFG_user.cfg__quiet
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
cmp dword [ebp + 8], 2
jne 0x40c5cb
push str._configure__DB_reg.sdb__CFG_w2kxp_reg.cfg__quiet
lea edx, [ebp - 0xc8]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00401700
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], str.secedit
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0x418ae0
mov dword [ebp - 0x30], 0x414efc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x40
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 4], 0
je 0x40c63a
push 0x1388
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret 4
Function at 0x40c650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], 0
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00401700
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], str.certmgr.exe
mov dword [ebp - 0x28], str._add_win7IPVE.cer__s__r_localMachine_trustedpublisher
mov dword [ebp - 0x24], 0x418ae0
mov dword [ebp - 0x30], 0x414de0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x40
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 4], 0
je 0x40c6ca
push 0x1388
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret

Function at 0x40c6e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], 0
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00401700
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], 0x414c48
mov dword [ebp - 0x28], str._add_w2kxpIPVE.cer__s__r_localMachine_trustedpublisher
mov dword [ebp - 0x24], 0x418ae0
mov dword [ebp - 0x30], 0x414cd0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x40
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 4], 0
je 0x40c75a
push 0x1388
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00401700
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], 0x414cdc
mov dword [ebp - 0x28], str._add_w2kxpIPVE.cer__s__r_localMachine_root
mov dword [ebp - 0x24], 0x418ae0
mov dword [ebp - 0x30], 0x414cf4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x40
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 4], 0
je 0x40c7c7
push 0x1388
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret
Function at 0x40c910
Capabilities:
Create directory
Get common file path
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x413008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0x20019
mov dword [0x418d00], 0
push 0x1fe
push 0
push 0x418ae0
call fcn.00401700
add esp, 0xc
cmp dword [0x417040], 0
je 0x40c95e
mov dword [ebp - 0x214], 0xf003f
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
push 0
push 0x414368
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40c9d7
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x414398
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40c9d7
push 0x10
push 0x4143c8
push 0x414410
mov ecx, dword [0x418ce4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40cb7a
mov dword [ebp - 0x218], 0xff
lea edx, [ebp - 0x218]
push edx
push 0x418ae0
push 0
push 0
push 0x414440
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x418ae0
call fcn.004018fe
add esp, 4
test eax, eax
jne 0x40ca99
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5c
lea edx, [ebp - 0x210]
push edx
call fcn.004017e9
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x40ca8a
xor eax, eax
mov ecx, dword [ebp - 0x21c]
mov word [ecx], ax
push 0x41444c
lea edx, [ebp - 0x210]
push edx
push 0x414458
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [0x418ce8]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [0x41703c], 1
jmp 0x40cb6d
push 0x418ae0
mov eax, dword [0x418ce8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0x418ae0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40cae6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40cae6
push 0x10
push 0x414468
push 0x4144b0
mov ecx, dword [0x418ce4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40cb6d
push 0x418ae0
call fcn.0040b4d0
push 0xa0
push 0x418ae0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
mov edx, dword [0x418ce8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov eax, dword [0x4181c0]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [0x418d08]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 3
push 0x4144e0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [0x418cf4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0x3e8
push 1
mov edx, dword [0x418ce4]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x40cfc0
Capabilities:
Copy file
Get common file path
Persist via lnk shortcut
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x413008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x214], 0
push 0x415e54
push 0x418ae0
push 0x415e6c
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x628]
push eax
call fcn.00401ac1
add esp, 8
test eax, eax
je 0x40d05f
push 0
lea ecx, [ebp - 0x628]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x418ae0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x630]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0x630]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x415e78
lea eax, [ebp - 0x420]
push eax
push 0x415e8c
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x40d10b
push 0
lea eax, [ebp - 0x628]
push eax
push 0x418ae0
push 0
push 0x415e98
lea ecx, [ebp - 0x210]
push ecx
push 0x417050
lea edx, [ebp - 0x628]
push edx
call fcn.0040b160
test eax, eax
jne 0x40d10b
mov dword [ebp - 0x62c], 1
cmp dword [ebp - 0x630], 0
je 0x40d121
mov eax, dword [ebp - 0x630]
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 0x214], 0
je 0x40d137
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x62c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x40d940
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4119e8
push 0x402be0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffcc8
mov eax, dword [0x413008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x224], 4
push 0x4154d0
call fcn.0040c800
push 0x200
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00401700
add esp, 0xc
mov ecx, dword [ebp - 0x224]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
push edx
push 0
push 0x401
mov eax, dword [0x418cf8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x402
mov ecx, dword [0x418cf8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x404
mov edx, dword [0x418cf8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x417040], 0
jne 0x40da22
push 0x4154f8
push 0x415514
push 0x41553c
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x40db2d
push 0
push 0
push 0x405
mov ecx, dword [0x418cf8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x11c
push 0
lea edx, [ebp - 0x348]
push edx
call fcn.00401700
add esp, 0xc
mov dword [ebp - 0x348], 0x11c
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
push 0
push 0x405
mov ecx, dword [0x418cf8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x344], 5
jne 0x40da9e
cmp dword [ebp - 0x340], 1
jne 0x40da9e
movzx edx, word [ebp - 0x234]
cmp edx, 1
jle 0x40da9e
call fcn.0040c120
push 0
push 0
push 0x405
mov eax, dword [0x418cf8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x344], 5
jne 0x40daed
cmp dword [ebp - 0x340], 0
jbe 0x40daed
mov dword [ebp - 4], 0
call fcn.0040c0e0
call fcn.0040b770
mov dword [ebp - 4], 0xfffffffe
jmp 0x40daed
push 0
push 0
push 0x405
mov ecx, dword [0x418cf8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x415548
push 0x415550
push 0x415578
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [0x418d14]
push eax
call fcn.0040c7d0
lea ecx, [ebp - 0x220]
push ecx
call fcn.0040c800
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x40df10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x413008]
xor eax, ebp
mov dword [ebp - 0x44], eax
push 0x414bc4
call fcn.0040c800
push 0x200000
push 0
push 0x401
mov eax, dword [0x418cf8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x402
mov ecx, dword [0x418cf8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x404
mov edx, dword [0x418cf8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], 1
jmp 0x40df83
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x20
jge 0x40e070
push 0
push 0
push 0x405
mov ecx, dword [0x418cf8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x40]
imul edx, edx, 0x48
add edx, 0x4181e0
push edx
call fcn.004018fe
add esp, 4
test eax, eax
jne 0x40dfbe
jmp 0x40df7a
push str..zip
mov eax, dword [ebp - 0x40]
imul eax, eax, 0x48
add eax, 0x4181e0
push eax
call fcn.00401a60
add esp, 8
test eax, eax
jne 0x40dfdd
jmp 0x40df7a
mov ecx, dword [ebp - 0x40]
imul ecx, ecx, 0x48
add ecx, 0x4181e0
push ecx
push str._o__q__s
lea edx, [ebp - 0x448]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00401700
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], str.unzip.exe
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0x418ae0
mov dword [ebp - 0x30], 0x414c10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x40
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 4], 0
je 0x40e06b
push 0x1388
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40df7a
push 0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_SleepEx]
push 0x414c1c
push 0x414c24
push 0x414c3c
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x248]
push eax
call fcn.0040c800
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x40e0c0
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x413008]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 4], 0
push 0x415fb8
push 0x418ae0
push 0x415fd0
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x415fdc
push 0x418ae0
push 0x415ff4
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0x32
call dword [sym.imp.KERNEL32.dll_SleepEx]
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x40e15e
jmp 0x40e297
lea eax, [ebp - 0x630]
push eax
call fcn.0040f330
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.0040f330
mov dword [ebp - 0x634], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x634]
jne 0x40e19c
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40e297
push 0x416000
push 0x418ae0
push 0x416020
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
push 0x6c
mov eax, dword [0x418cf0]
push eax
call fcn.0040ae50
mov dword [ebp - 4], 0
mov dword [ebp - 0x424], 0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x64
jle 0x40e1f1
jmp 0x40e217
push 0
push 0x32
call dword [sym.imp.KERNEL32.dll_SleepEx]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
je 0x40e1e0
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.rundll32.exe
lea ecx, [ebp - 0x218]
push ecx
push 0x416048
lea edx, [ebp - 0x840]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x418ae0
push str.vLanRemove.dll
push 0x418ae0
push str._s_s__Reload_0__s
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0
push 0x418ae0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x840]
push edx
push 0x41609c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.004020a5
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x40eb90
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x417034], 0
je 0x40ebaa
push 0
mov eax, dword [0x417034]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
push 0x40ea00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x417034], eax
pop ebp
ret

Function at 0x40ec90
Capabilities:
Create directory
Get graphical window text
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0xff
push 0x418ae0
mov eax, dword [0x418ce8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
mov ecx, dword [0x418d0c]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [ebp - 4]
push edx
push 2
push 0
push 0x414540
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], 0
jne 0x40ecfb
push 0x10
push 0x414570
push 0x4145b8
mov eax, dword [0x418ce4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40edb0
push 0x418ae0
call fcn.004018fe
add esp, 4
shl eax, 1
push eax
push 0x418ae0
push 1
push 0
push str.Path
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x418ae0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40ed65
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40ed65
push 0x10
push 0x4145f8
push 0x414640
mov eax, dword [0x418ce4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40edb0
push 0x418ae0
call fcn.0040b4d0
push 0xa0
push 0x418ae0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
mov ecx, dword [0x418ce8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov edx, dword [0x4181c0]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov eax, dword [0x418d08]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
call fcn.0040eb90
mov esp, ebp
pop ebp
ret
Function at 0x40f330
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0040aa80
mov eax, dword [0x413008]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0xffffffff
push 0x4164c8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.004010db
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x40f377
xor eax, eax
jmp 0x40f3f8
push 0x8000
mov edx, dword [ebp - 0xc]
push edx
call fcn.004013eb
add esp, 4
push eax
call fcn.00401512
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
push 0x1000
push 1
lea ecx, [ebp - 0x1018]
push ecx
call fcn.004013ce
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40f3e7
mov dword [ebp - 8], 0
jmp 0x40f3c6
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jge 0x40f3e5
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
movzx eax, byte [ebp + edx - 0x1018]
push eax
call fcn.0040f300
jmp 0x40f3bd
jmp 0x40f391
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00401680
add esp, 4
mov eax, dword [ebp - 4]
not eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret 4
Function at 0x6b2aa9
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.006b2b28
jae 0x6b2ab5
xor ecx, ecx
call fcn.006b2b28
jae 0x6b2adf
xor eax, eax
call fcn.006b2b28
jae 0x6b2af0
mov al, 0x10
call fcn.006b2b28
adc al, al
jae 0x6b2ad1
jne 0x6b2b1d
stosb byte es:[edi], al
jmp 0x6b2ab6
call fcn.006b2b34
dec ecx
loop 0x6b2afc
mov eax, ebp
call fcn.006b2b32
jmp 0x6b2b1e
lodsb al, byte [esi]
shr eax, 1
je 0x6b2b44
adc ecx, 2
mov ebp, eax
jmp 0x6b2b1e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.006b2b32
cmp eax, 0x7d00
jae 0x6b2b1c
cmp eax, 0x500
jae 0x6b2b1d
cmp eax, 0x7f
ja 0x6b2b1e
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6b2ab6
pop ebp
ret 8
Function at 0x402f59
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
cmp eax, edi
jne 0x402f77
xor al, al
jmp 0x402fe0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x402f73
push ebx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x402fd0
push edi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x402fd4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x402fdf
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne al
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x4031f3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
xor edi, edi
cmp dword [0x40ab20], edi
jne 0x40326f
push 0x206
lea eax, [ebp - 0x206]
push edi
push eax
call fcn.00403638
add esp, 0xc
xor esi, esi
xor eax, eax
mov word [ebp - 0x208], ax
push 0x104
lea eax, [ebp - 0x208]
push eax
push dword [esi + 0x4013a0]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x40325d
push 8
push edi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x40ab20], eax
cmp dword [0x40ab20], edi
jne 0x40326f
add esi, 4
cmp esi, 0xc
jb 0x40321f
jmp 0x4032ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401394
push dword [0x40ab20]
call esi
push 0x401388
push dword [0x40ab20]
mov dword [0x40ab24], eax
call esi
push 0x401380
push dword [0x40ab20]
mov dword [0x40ab28], eax
call esi
mov dword [0x40ab2c], eax
cmp dword [0x40ab24], edi
je 0x4032c8
cmp dword [0x40ab28], edi
je 0x4032c8
cmp dword [0x40ab2c], edi
je 0x4032c8
xor eax, eax
inc eax
jmp 0x4032ca
xor eax, eax
pop edi
pop esi
leave
ret