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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x68dadb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4c]
mov eax, ebx
call fcn.005ba204
mov esi, dword [ebp - 0x4c]
mov edx, 0x68daf8
mov dword [ebp - 0x50], esi
mov eax, dword [ebp - 0x50]
call fcn.00423d10
test eax, eax
sete al
test al, al
jne 0x68d9a5
mov eax, 0x68db10
call fcn.005fe964
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0068d76c
lea eax, [ebp - 8]
call fcn.0068d87c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407d24
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x68db58
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.0040b88c
mov dword [ebp - 0x38], eax
mov eax, edi
call fcn.0040b88c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.0040b88c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x68da2b
call sub.kernel32.dll_GetLastError
cmp eax, 0x4c7
jne 0x68da21
call fcn.0042b4e4
mov eax, 0x68db70
call fcn.005feac0
cmp dword [ebp - 0x10], 0
jne 0x68da3b
mov eax, 0x68db9c
call fcn.005fe964
xor edx, edx
push ebp
push 0x68daaf
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0068d558
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x68da49
cmp eax, 0xffffffff
jne 0x68da76
mov eax, 0x68dbf0
call fcn.005feac0
call fcn.0068d558
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x68da96
mov eax, 0x68dc30
call fcn.005feac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68dab6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax

Function at 0x68dc58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x68dd2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x68d32c]
call fcn.0068dd54
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x68dd02
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x68dd44
call fcn.00425bfc
mov edx, dword [ebp - 8]
mov eax, dword [0x6b7adc]
mov eax, dword [eax]
call fcn.005ab3ac
call fcn.0068d558
call sub.user32.dll_GetFocus
mov edx, dword [0x6b7adc]
mov edx, dword [edx]
cmp eax, dword [edx + 0x190]
jne 0x68dce3
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x68dcea
call sub.user32.dll_WaitMessage
jmp 0x68dcbd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68dd09
mov eax, dword [ebp - 4]
call fcn.00408bcc
pop eax
jmp eax
Function at 0x694358
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x694360
push ebx
xor eax, eax
push ebp
push 0x69459b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x6bfb92], 0
je 0x694389
mov eax, dword [0x6b7c00]
cmp byte [eax], 0
je 0x69438d
xor eax, eax
jmp 0x69438f
mov al, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x11]
call fcn.005ff6ec
mov edx, dword [ebp - 0x18]
mov eax, 0x6bf8ec
call fcn.0040ac5c
cmp byte [ebp - 0x11], 0
je 0x6943bc
lea eax, [ebp - 0x10]
mov edx, 0x6945b4
call fcn.0040aca4
jmp 0x6943c4
lea eax, [ebp - 0x10]
call fcn.0040a86c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [0x6bf8ec]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x6945d8
call fcn.00607ea8
mov eax, dword [0x6b7c00]
cmp byte [eax], 0
je 0x694400
mov eax, dword [0x6bf8ec]
call fcn.00607304
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x69455a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [0x6bf8ec]
call fcn.005b9cdc
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov ecx, 0x694628
call fcn.0040bad8
push 0
mov eax, dword [ebp - 4]
call fcn.0040b88c
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x6944ad
call sub.kernel32.dll_GetLastError
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 4]
mov ax, 0x3d
call fcn.005c327c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x44]
call fcn.00424910
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x48]
mov eax, ebx
call fcn.005bd7d4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x3c]
mov ecx, 2
mov ax, 0x81
call fcn.005c324c
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x41d190]
call fcn.0042b510
call fcn.00409f64
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x69453b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00617068
cmp dword [ebp - 8], 0
je 0x694523
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x69451c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, 0x694644
mov edx, dword [ebp - 4]
call fcn.0040bad8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006942fc
mov eax, dword [ebp - 0xc]
call fcn.006170bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x694523
lea eax, [ebp - 0xc]
call fcn.0040a86c
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x694542
lea eax, [ebp - 8]
call fcn.0040a86c
pop eax
jmp eax
Function at 0x697300
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x6bfbd9], 1
call fcn.006015a4
test al, al
jne 0x697352
push 5
mov eax, dword [0x6b7adc]
mov eax, dword [eax]
mov eax, dword [eax + 0x190]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x6b7adc]
mov eax, dword [eax]
mov eax, dword [eax + 0x190]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0x15c]
mov cl, 2
xor edx, edx
call fcn.00697008
ret

Function at 0x69ace8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x69ad0d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x69cbb8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x69cbe4
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jae 0x69cbed
call fcn.0069b794
mov eax, 0xa
call fcn.005bddf8
call fcn.0069b794
call fcn.0069cb84
test al, al
jne 0x69cbc2
pop ebx
ret

Function at 0x69d118
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x6b74dc]
cmp dword [eax], 0
je 0x69d1c3
mov eax, dword [0x6b74dc]
mov eax, dword [eax]
call fcn.00516774
test al, al
je 0x69d1c3
mov eax, dword [0x6b74dc]
mov eax, dword [eax]
cmp byte [eax + 0x21d], 0
je 0x69d16d
cmp byte [ebx + 0x3f9], 0
jne 0x69d16d
mov eax, dword [0x6b7adc]
mov eax, dword [eax]
mov eax, dword [eax + 0x190]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x69d171
xor eax, eax
jmp 0x69d173
mov al, 1
mov ebx, eax
mov eax, dword [0x6b74dc]
mov eax, dword [eax]
call fcn.0051630c
push 0xfffffffffffffff0
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x69d1c3
test bl, bl
je 0x69d1af
push 5
mov eax, dword [0x6b74dc]
mov eax, dword [eax]
call fcn.0051630c
push eax
call sub.user32.dll_ShowWindow
jmp 0x69d1c3
push 0
mov eax, dword [0x6b74dc]
mov eax, dword [eax]
call fcn.0051630c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x69e5fc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x69e6a6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x69e6c4
push ebx
push 0x69e6d4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040bb60
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00407d24
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b88c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x69e682
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0x20c]
call fcn.0069e550
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69e6ad
lea eax, [ebp - 4]
call fcn.0040a86c
pop eax
jmp eax
Function at 0x69f07c
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x69f084
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x69f297
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.005bc874
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 4]
mov eax, dword [0x6b78c8]
movzx eax, byte [eax]
call fcn.005ff508
mov ebx, eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.005b9cdc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x69f2b4
call fcn.0040bad8
test bl, bl
jne 0x69f113
xor eax, eax
push ebp
push 0x69f109
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.005ffa7c
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.005ffa7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69f113
push 0
mov eax, dword [ebp - 8]
call fcn.0040b88c
mov ebx, eax
push ebx
mov eax, dword [0x6bfca0]
call fcn.0040b88c
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x69f144
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0x208]
call fcn.0069e550
push 0x80
push ebx
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x6bb63c]
push eax
push 0
mov ecx, 0x69f2cc
mov edx, 0x69f2d0
xor eax, eax
call fcn.004161ec
mov dword [ebp - 0xc], eax
push 0x69e718
push 0xfffffffffffffffc
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x6bfccc], eax
xor eax, eax
push ebp
push 0x69f259
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x6b7adc]
mov eax, dword [eax]
mov eax, dword [eax + 0x190]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.005bc214
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x69f2ec
call fcn.00425bfc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
call fcn.005bc0ec
mov edx, dword [ebp - 0x34]
pop eax
call fcn.0040ba80
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0069e5fc
mov dword [ebp - 0x10], eax
call fcn.0069e6dc
test al, al
jne 0x69f237
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x69f215
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69f260
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DestroyWindow
pop eax
jmp eax
Function at 0x6a0654
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6a090e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6b7adc]
mov eax, dword [eax]
mov edx, 0x6a0928
call fcn.005ab3ac
push 5
mov eax, dword [0x6b7adc]
mov eax, dword [eax]
mov eax, dword [eax + 0x190]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x6a08d3
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00697590
lea eax, [ebp - 0x10]
call fcn.005bc700
mov eax, dword [ebp - 0x10]
call fcn.00425724
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.005bc214
mov edx, dword [ebp - 0x14]
mov eax, 0x6bfca0
call fcn.0040ac5c
call fcn.0069e8e8
lea ecx, [ebp - 0x18]
mov edx, 0x6a0948
mov eax, dword [0x6bfca0]
call fcn.005b9dc8
mov edx, dword [ebp - 0x18]
mov eax, 0x6bfca4
call fcn.0040ac5c
lea ecx, [ebp - 0x1c]
mov edx, 0x6a0960
mov eax, dword [0x6bfca0]
call fcn.005b9dc8
mov edx, dword [ebp - 0x1c]
mov eax, 0x6bfca8
call fcn.0040ac5c
push 2
push 0
push 1
mov ecx, dword [0x6bfca0]
mov dl, 1
mov eax, dword [0x5c1258]
call fcn.005c1c04
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a07ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.005c1bc4
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.005c1b9c
cmp dword [ebp - 0xc], 0x67734d49
je 0x6a0787
mov cl, 1
xor edx, edx
mov eax, dword [0x6bfca8]
call fcn.005c3430
jmp 0x6a0796
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x6bfca0]
call fcn.005c3430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a07b5
mov eax, dword [ebp - 4]
call fcn.00408bcc
pop eax
jmp eax
Function at 0x6a0aa4
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6a0be5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x6a0c00
mov edx, ebx
call fcn.0040bad8
mov eax, dword [ebp - 0x25c]
call fcn.0040b88c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x6a0bbd
xor eax, eax
push ebp
push 0x6a0bb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x6a0c1c
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.004258a4
test eax, eax
jne 0x6a0b85
test byte [ebp - 0x258], 0x10
jne 0x6a0b85
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.0040b928
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040bad8
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x6a0b7d
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.0040b88c
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.00425184
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x6a0b15
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a0bbd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a0bec
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.0040a8cc
lea eax, [ebp - 4]
call fcn.0040a86c
pop eax
jmp eax
Function at 0x6a0c28
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6a0d28
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0040a86c
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.005ba25c
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x6a0d44
call fcn.00425bfc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040bad8
mov eax, dword [ebp - 8]
call fcn.0040b88c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x6a0cc6
test esi, 0x10
jne 0x6a0cf6
test esi, 1
je 0x6a0cc6
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.0040b88c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.0040b88c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040b88c
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x6a0cf0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040ac5c
jmp 0x6a0d03
inc edi
cmp edi, 0xa
je 0x6a0d03
inc ebx
cmp ebx, 0x3e8
jne 0x6a0c67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a0d2f
lea eax, [ebp - 0x14]
call fcn.0040a86c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a8cc
pop eax
jmp eax
Function at 0x10120cd9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x1020c7b8]
add ecx, 0xffffd373
mov dword [0x1020c7b4], ecx
mov dword [ebp - 0x10], eax
call fcn.10122047
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x1020c7b4], 0x9dc
mov edi, dword [0x1020c7b8]
add edi, 0x21bf
mov dword [0x1020c7b8], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1020c7b4], 0xffffeeb0
mov dword [0x1020c7b8], 0x15d7
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
jne 0x10120d65
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x15d7
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov edi, edx
add edi, 0xffffecbf
mov dword [0x1020c7b4], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x10120dfe
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x10120dad
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x10120e46
jmp 0x10120e07
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xffffec71
mov dword [0x1020c7b8], ecx
mov edx, dword [ebp - 0x38]
add edx, 2
mov esi, dword [ebp - 0x34]
add esi, 1
mov edi, dword [ebp - 0x18]
cmp esi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], esi
jb 0x10120d7f
jmp 0x10120d5a
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1020c7b4], 0x651
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x10120d5a
Function at 0x10120f11
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1020c7b4], 0x3eb
mov dword [0x1020c7b8], 0x840
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101fc7c4]
mov dh, byte [eax + 0x101fc795]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x10120f3c
lea eax, [ebp - 0x20]
mov dword [0x1020c7b8], 0x16248
mov dword [0x1020c7b4], 0x4b4
mov dword [ebp - 0x30], eax
call fcn.10121646
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.101212c4
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x10121051
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x1020c7b4]
add ecx, 0x2253
mov dword [0x1020c7b4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10121059
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [0x1020c7b8], 0x13bc
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x48], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0xc], ecx
mov dword [0x1020c7b4], 0xf7e
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10121051
mov eax, dword [ebp - 0x3c]
add eax, 0x165d
mov dword [0x1020c7b8], 0x414
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x10121169
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1020c7c0], 0
mov byte [0x1020c7c4], 0
mov dword [0x1020c7bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1020c7b4], 0x7ed
mov eax, dword [0x1020c7bc]
add eax, 1
mov dword [0x1020c7bc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101211a4
xor eax, eax
mov dword [0x1020c7b8], 0x441
mov dword [0x1020c7bc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1020c7c8], 0
mov dword [0x1020c7b8], 0x2651
mov edx, dword [0x1020c7c0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1020c7c8], edi
mov dword [0x1020c7b4], 0x103
mov eax, edi
cdq
idiv ecx
mov dword [0x1020c7c0], edx
mov dword [0x1020c7b8], 0xfffff8df
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1020c7c4], cl
mov dword [0x1020c7b8], 0x23a8
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1020c7c4]
mov edx, dword [0x1020c7c0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1020c7b4], 0x11a4
mov edx, dword [0x1020c7bc]
add edx, 1
mov dword [0x1020c7bc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101211ed
mov dword [0x1020c7b4], 0x12fc
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret