joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8bb8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a8d9a
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4a8d84
push ebx
call sub.user32.dll_GetParent
mov esi, eax
mov eax, dword [0x4bd18c]
call fcn.004440d0
cmp esi, eax
je 0x4a8d84
push ebx
call sub.user32.dll_GetParent
mov edx, dword [0x4bb4fc]
mov edx, dword [edx]
cmp eax, dword [edx + 0x30]
je 0x4a8d84
push ebx
call sub.user32.dll_GetParent
mov esi, eax
mov eax, dword [0x4bd18c]
mov eax, dword [eax + 0x758]
call fcn.004440d0
cmp esi, eax
je 0x4a8d84
push 0
push 0
push 0
mov eax, dword [0x4bd18c]
mov eax, dword [eax + 0x758]
call fcn.004440d0
push eax
call sub.user32.dll_FindWindowExA
lea edx, [ebp - 0x10]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
lea eax, [ebp - 4]
push eax
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
cdq
cmp edx, dword [esp + 4]
jne 0x4a8c7e
cmp eax, dword [esp]
pop edx
pop eax
je 0x4a8d84
mov eax, dword [ebp - 4]
cdq
push edx
push eax
mov eax, dword [0x4bd18c]
mov eax, dword [eax + 0x330]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4a8ca2
cmp eax, dword [esp]
pop edx
pop eax
je 0x4a8d84
mov eax, dword [ebp - 4]
cdq
push edx
push eax
mov eax, dword [0x4bd18c]
mov eax, dword [eax + 0x338]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4a8cc6
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4a8d0c
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004a8b88
mov eax, dword [ebp - 0xc]
mov edx, 0x4a8db0
call fcn.004045e0
jne 0x4a8d84
lea eax, [ebp - 8]
push eax
push 0x3e8
push 2
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_SendMessageTimeoutA
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_PostMessageA
jmp 0x4a8d84
push ebx
call sub.user32.dll_IsWindow
test eax, eax
je 0x4a8d2d
lea eax, [ebp - 8]
push eax
push 0x3e8
push 2
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_SendMessageTimeoutA
push ebx
call sub.user32.dll_IsWindow
test eax, eax
je 0x4a8d43
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_PostMessageA
push 0x64
call sub.kernel32.dll_Sleep_1
push ebx
call sub.user32.dll_IsWindow
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4a8d84
cmp dword [ebp - 4], 0
je 0x4a8d84
mov eax, dword [ebp - 4]
push eax
push 0
push 0x401
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4a8d84
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8da1
lea eax, [ebp - 0xc]
call fcn.004041d4
ret
Function at 0x4a90a4
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a9154
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xc8
mov eax, ebx
call fcn.004041d4
mov eax, dword [ebp - 8]
call fcn.00402780
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004071c0
xor eax, eax
push ebp
push 0x4a9137
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x4a9121
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004043cc
lea edx, [ebp - 0xc]
mov eax, dword [ebx]
call fcn.00408770
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00404228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a913e
mov eax, dword [ebp - 4]
call fcn.004027a0
ret

Function at 0x4a9160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9315
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
call fcn.004a90a4
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [0x4bd190], 1
je 0x4a92ea
xor edx, edx
mov eax, 2
call fcn.004861cc
mov esi, eax
mov dword [ebp - 0x144], 0x128
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004861ec
jmp 0x4a92dc
push 1
call sub.kernel32.dll_Sleep_1
cmp dword [0x4bd190], 1
je 0x4a92e4
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x13c]
jne 0x4a9212
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.0048620c
jmp 0x4a92dc
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404444
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0xc]
call fcn.00409160
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404444
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004a8fac
cmp bl, al
jne 0x4a92cf
test bl, bl
jne 0x4a92b0
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x13c]
call fcn.004a8dfc
test al, al
je 0x4a92a1
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x18]
call fcn.00408770
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x1c]
call fcn.004045e0
je 0x4a92b0
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.0048620c
jmp 0x4a92dc
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.0048620c
jmp 0x4a92dc
push 0
mov eax, dword [ebp - 0x13c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push 0xa
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.0048620c
test eax, eax
jne 0x4a91df
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a931c
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.004041f8
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004041f8
ret
Function at 0x4a9bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404684
xor eax, eax
push ebp
push 0x4a9c48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404228
mov eax, dword [ebp - 4]
call fcn.00404494
mov esi, eax
test esi, esi
jle 0x4a9c32
mov ebx, 1
mov eax, edi
call fcn.004046ec
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4a9c15
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9c4f
lea eax, [ebp - 4]
call fcn.004041d4
ret

Function at 0x4a9c58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.00409498
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a9fcc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404684
xor eax, eax
push ebp
push 0x4aa044
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404228
mov eax, dword [ebp - 4]
call fcn.00404494
mov esi, eax
test esi, esi
jle 0x4aa02e
mov ebx, 1
mov eax, edi
call fcn.004046ec
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4aa011
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa04b
lea eax, [ebp - 4]
call fcn.004041d4
ret
Function at 0x4ad63c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ad7e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 8
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 4]
mov edx, 0x4ad800
call fcn.004045e0
je 0x4ad7ce
mov eax, dword [ebp - 4]
mov edx, 0x4ad80c
call fcn.004045e0
jne 0x4ad6c4
push 1
push 0
push 0
lea ecx, [ebp - 8]
mov edx, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
call fcn.00404694
push eax
push 0x4ad810
mov eax, esi
call fcn.004440d0
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4ad7ce
mov eax, dword [ebp - 4]
mov edx, 0x4ad820
call fcn.004045e0
jne 0x4ad6ef
lea ecx, [ebp - 0xc]
mov edx, 0xa
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.0042f0f8
jmp 0x4ad7ce
mov eax, dword [ebp - 4]
mov edx, 0x4ad82c
call fcn.004045e0
jne 0x4ad74a
lea ecx, [ebp - 0x10]
mov edx, 0xa
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0042f0f8
push 1
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404694
push eax
push 0x4ad810
mov eax, esi
call fcn.004440d0
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4ad7ce
mov eax, dword [ebp - 4]
mov edx, 0x4ad838
call fcn.004045e0
jne 0x4ad7ce
push 4
lea ecx, [ebp - 0x18]
mov edx, 0xa
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00404694
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4bb4fc]
mov eax, dword [eax]
call fcn.0045cd7c
mov eax, dword [ebp - 0x1c]
call fcn.00404694
mov ecx, eax
mov eax, dword [0x4bb4fc]
mov eax, dword [eax]
pop edx
call fcn.0045d3f8
cmp eax, 6
jne 0x4ad7ce
push 1
push 0
push 0
lea ecx, [ebp - 0x20]
mov edx, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00404694
push eax
push 0x4ad810
mov eax, esi
call fcn.004440d0
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad7f0
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004041f8
ret

Function at 0x4ae528
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404684
xor eax, eax
push ebp
push 0x4ae5a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404228
mov eax, dword [ebp - 4]
call fcn.00404494
mov esi, eax
test esi, esi
jle 0x4ae58a
mov ebx, 1
mov eax, edi
call fcn.004046ec
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4ae56d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae5a7
lea eax, [ebp - 4]
call fcn.004041d4
ret
Function at 0x4aea94
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404684
xor eax, eax
push ebp
push 0x4aeb0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404228
mov eax, dword [ebp - 4]
call fcn.00404494
mov esi, eax
test esi, esi
jle 0x4aeaf6
mov ebx, 1
mov eax, edi
call fcn.004046ec
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4aead9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aeb13
lea eax, [ebp - 4]
call fcn.004041d4
ret
Function at 0x401278
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push ebx
lea ebx, [ebp - 0x210]
sub esp, 0x208
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x4012ad
push 1
push 0
push str._config__multi
jmp 0x4012b6
push 1
push 0
push 0x40685c
push ebx
push str.runas
push 0
call eax
cmp eax, 0x20
jle 0x4012d9
push 0
push 0
push 0x10
push dword [0x40a22c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4012f3
push 0x40
mov eax, dword [0x405098]
push 0x40686a
push dword [eax + 0xac]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret

Function at 0x401d6a
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0x40a228], 0
je 0x401d78
jmp fcn.00401c1d
push ebp
mov ebp, esp
push 0
push 0
push dword [0x40a3ac]
push dword [0x40a22c]
call dword [sym.imp.USER32.dll_SendMessageW]
leave
jmp fcn.00401ca5

Function at 0x40213a
Capabilities:
Get file attributes
Read .ini file

Disassembly:
test eax, eax
jne 0x402149
mov dword [0x405098], 0x4050a0
ret
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
je 0x402164
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
jmp fcn.0040103b
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4029ba
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
lea edi, [ebp - 0x46a]
sub esp, 0x678
mov dword [ecx], 0
lea ebx, [ebp - 0x46c]
mov dword [edx], 0
mov dword [eax], 0
mov ax, word [0x406032]
mov dword [ebp - 0x680], ecx
mov ecx, 0x22e
mov dword [ebp - 0x684], edx
mov dword [ebp - 0x678], 0x230
mov word [ebp - 0x46c], ax
xor eax, eax
rep stosb byte es:[edi], al
lea eax, [ebp - 0x67c]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x678]
lea edi, [ebp - 0x674]
push eax
push ebx
push 0
push 0
push 0x40686a
push dword [ebp - 0x67c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x67c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push str.__s_
push 0x118
lea edi, [ebp - 0x23c]
push edi
call fcn.004029a2
push edi
push ebx
call sub.msvcrt.dll_wcsstr
add esp, 0x18
cmp eax, ebx
jne 0x402acf
mov dword [esi], 1
push str.__hide
push ebx
call sub.msvcrt.dll_wcsstr
pop esi
pop edi
test eax, eax
je 0x402ab2
mov edx, dword [ebp - 0x684]
mov dword [edx], 1
push str.__elevate
push ebx
call sub.msvcrt.dll_wcsstr
pop edx
pop ecx
test eax, eax
je 0x402acf
mov eax, dword [ebp - 0x680]
mov dword [eax], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4034ca
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
mov ebx, eax
lea eax, [ebp - 0x448]
sub esp, 0x43c
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40359a
test ebx, ebx
je 0x403579
push 0x104
lea ebx, [ebp - 0x444]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test edi, edi
mov edx, str.__elevate
jne 0x40352d
mov edx, 0x40687a
test esi, esi
mov eax, str.__hide
jne 0x40353b
mov eax, 0x40687a
push edx
push eax
push ebx
push str.__s__s_s
push 0x118
lea ebx, [ebp - 0x23c]
push ebx
call fcn.004029a2
push ebx
call sub.msvcrt.dll_wcslen
inc eax
add eax, eax
push eax
push ebx
push 1
push 0
push 0x40686a
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x1c
jmp 0x40358a
push 0x40686a
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x40359a
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4032c2
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406831
xor ebx, ebx
cmp eax, ebx
jne 0x4033a5
test byte [ebp + 0x10], 2
je 0x403323
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x40338a
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40335f
test edi, edi
jne 0x40338a
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.004032c2
test eax, eax
jne 0x403368
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x403338
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00407007
test eax, eax
jne 0x40339a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x4033a5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x4033a5
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4036cd
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x4036ed
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x4036ff
mov dword [ebp - 0xc], 0x423bb8
mov eax, dword [ebp + 8]
test eax, eax
jl 0x403714
mov ecx, dword [0x437938]
add ecx, eax
push ecx
call fcn.004038fe
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.004038e8
test eax, eax
je 0x4038d6
test byte [ebp + 0x17], 0x80
je 0x403881
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
and dword [0x40e51c], 0
and dword [0x40e518], 0
and dword [ebp + 0x14], 0x7fffffff
mov dword [ebp - 0x10], eax
mov eax, 0x40fba0
mov dword [0x40e000], 8
mov dword [0x417ba8], eax
mov dword [0x417ba4], eax
mov eax, dword [ebp + 0x14]
mov dword [0x417ba0], 0x417ba0
mov dword [ebp + 8], eax
jle 0x4038de
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x40378d
mov esi, dword [ebp + 0x14]
mov edi, 0x41fbb8
push esi
push edi
call fcn.004038e8
test eax, eax
je 0x4038d6
sub dword [ebp + 0x14], esi
mov dword [0x40dff0], edi
mov dword [0x40dff4], esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push 0x40dff0
mov dword [0x40dff8], edi
mov dword [0x40dffc], eax
call fcn.00407162
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x403879
mov esi, dword [0x40dff8]
sub esi, edi
call ebx
test byte [0x437994], 1
mov edi, eax
je 0x403834
sub eax, dword [ebp - 0x10]
cmp eax, 0xc8
ja 0x4037fb
cmp dword [ebp + 0x14], 0
jne 0x403834
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.0040599e
mov dword [ebp - 0x10], edi
test esi, esi
je 0x40386d
cmp dword [ebp + 0x10], 0
jne 0x403853
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.0040656c
test eax, eax
je 0x40387d
add dword [ebp - 4], esi
jmp 0x403861
mov eax, dword [0x40dff8]
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 1
jne 0x4037b0
jmp 0x4038de
cmp dword [ebp + 0x14], 0
jg 0x403780
jmp 0x4038de
push 0xfffffffffffffffc
jmp 0x4038d8
push 0xfffffffffffffffe
jmp 0x4038d8
test edi, edi
jne 0x4038c3
cmp dword [ebp + 0x14], edi
jle 0x4038de
mov ebx, dword [ebp - 8]
cmp dword [ebp + 0x14], ebx
mov esi, dword [ebp + 0x14]
jl 0x403897
mov esi, ebx
mov edi, 0x41fbb8
push esi
push edi
call fcn.004038e8
test eax, eax
je 0x4038d6
push esi
push edi
push dword [ebp + 0xc]
call fcn.0040656c
test eax, eax
je 0x40387d
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x40388d
jmp 0x4038de
cmp dword [ebp + 0x14], esi
jge 0x4038cb
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.004038e8
test eax, eax
jne 0x4038db
push 0xfffffffffffffffd
pop eax
jmp 0x4038e1
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405ea2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x408408
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083f8
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405ef3
xor eax, eax
jmp 0x405f1a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405f1a
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405eef
call esi
pop esi
leave
ret 4

Function at 0x405f54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x431400], 0x44
push eax
xor eax, eax
push 0x431400
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405f93
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405f97
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x406035
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00406495
mov edi, eax
cmp edi, 0xffffffff
je 0x406076
test byte [esp + 0x10], 1
push esi
je 0x406058
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x40605e
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x406067
xor eax, eax
inc eax
jmp 0x406078
test byte [esp + 0x10], 4
jne 0x406076
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8