joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66a860
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x66aa2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xa0], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x66a8a3
mov esi, dword [ebp - 4]
movzx esi, word [esi + 0x10]
jmp 0x66a8a5
xor esi, esi
push 0
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040b278
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x98]
push eax
call sub.winhttp.dll_WinHttpConnect
mov edi, eax
mov dword [ebx + 0x88], edi
test edi, edi
jne 0x66a8f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6d08c0]
mov dl, 1
mov eax, dword [0x66c51c]
call fcn.00429100
call fcn.004098c4
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x66aa48
call fcn.0040b660
jne 0x66a912
or esi, 0x800000
push esi
push 0
push 0
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00669488
mov eax, dword [ebp - 0x10]
call fcn.0040b278
push eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00659568
mov eax, dword [ebp - 0x14]
call fcn.0040b278
push eax
mov eax, dword [ebx + 0x88]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov edi, eax
mov dword [ebx + 0x8c], edi
test edi, edi
jne 0x66a99e
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x28]
mov edx, dword [0x6d9408]
call fcn.00427d54
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x6d0ce0]
mov dl, 1
mov eax, dword [0x66c51c]
call fcn.00429100
call fcn.004098c4
mov edi, dword [ebx + 0x10]
push edi
push edi
mov esi, dword [ebx + 0xc]
push esi
push esi
mov eax, dword [ebx + 0x8c]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x66aa04
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x2c]
mov edx, dword [0x6d9408]
call fcn.00427d54
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x6d0e5c]
mov dl, 1
mov eax, dword [0x66c51c]
call fcn.00429100
call fcn.004098c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66aa33
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040a228
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a228
ret
Function at 0x6806e8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, esi
test ebx, ebx
je 0x680701
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0040b278
push eax
push 1
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x680735
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
xor eax, eax
call fcn.006805b4
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x6825f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x682761
push dword fs:[eax]
mov dword fs:[eax], esp
test cl, cl
je 0x682645
mov eax, dword [0x6d0da8]
cmp dword [eax], 0xa0042ee
jae 0x682645
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x6826cb
mov eax, 0x68277c
call fcn.00618e98
mov eax, dword [ebp + 8]
mov byte [eax], 1
jmp 0x6826cb
test cl, cl
je 0x682650
mov esi, 0x80000001
jmp 0x682655
mov esi, 0x80000002
push 0
push 2
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6d0c84]
movzx eax, byte [eax]
mov ecx, dword [eax*4 + 0x6d02a0]
mov edx, esi
xor eax, eax
call fcn.005c7a14
test eax, eax
jne 0x6826c1
mov esi, ebx
test esi, esi
je 0x682684
sub esi, 4
mov esi, dword [esi]
inc esi
mov eax, esi
add eax, eax
push eax
mov eax, ebx
call fcn.0040b278
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x6826b6
mov eax, 0x682858
call fcn.00618e98
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x6826cb
mov eax, 0x6828bc
call fcn.00618e98
cmp byte [ebp + 0xc], 0
je 0x682746
mov eax, ebx
call fcn.0040b278
push eax
call sub.gdi32.dll_AddFontResourceW
test eax, eax
je 0x6826f4
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageW
jmp 0x682746
lea ecx, [ebp - 0x10]
mov edx, 0x682910
mov ax, 0x47
call fcn.005d0270
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.005c82fc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x6d0ed8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x6d0ed8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x6d0ed8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov ecx, 2
pop eax
call fcn.0067fb70
test al, al
je 0x6826d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x682768
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040a228
ret
Function at 0x685cd4
Capabilities:
Check if file exists
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x685d95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x685d7a
test bl, 0x10
je 0x685d7a
lea ecx, [ebp - 4]
mov edx, 0x685db0
mov eax, esi
call fcn.005c5014
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x685dd4
mov eax, 0x685df0
call fcn.005c68cc
mov edx, 0x685e1c
mov eax, dword [ebp - 8]
call fcn.00422368
test eax, eax
jne 0x685d7a
mov eax, dword [ebp - 4]
call fcn.00423a20
lea ecx, [ebp - 0xc]
mov edx, 0x685e78
mov eax, esi
call fcn.005c5014
mov eax, dword [ebp - 0xc]
call fcn.00423a20
and ebx, 0xfffffffe
push ebx
mov eax, esi
call fcn.0040b278
mov edi, eax
push edi
call sub.kernel32.dll_SetFileAttributesW
push edi
call sub.kernel32.dll_RemoveDirectoryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x685d9c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a228
ret

Function at 0x686ddc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x686eb6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.0060fd00
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x11
lea edx, [ebp - 0x18]
mov ecx, 1
mov eax, 0x686ed4
call fcn.0061911c
mov eax, dword [0x6d0a38]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
call fcn.00464cd0
mov esi, eax
mov eax, dword [esi]
mov ebx, eax
test ebx, ebx
je 0x686e4f
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
push eax
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
push eax
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.0062fbc4
test al, al
jne 0x686ea0
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x686e85
mov eax, 0x686f24
call fcn.00618e98
jmp 0x686ea0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x686fc4
call fcn.0061911c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x686ebd
lea eax, [ebp - 0x1c]
call fcn.0040a1c8
ret
Function at 0x68939c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x689526
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp - 0x258]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005c4ea4
lea eax, [ebp - 0x258]
mov edx, 0x689540
call fcn.0040b470
mov eax, dword [ebp - 0x258]
call fcn.0040b278
push eax
call sub.kernel32.dll_FindFirstFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x689500
lea eax, [ebp - 4]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.0040b318
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x68942f
sub ebx, 4
mov ebx, dword [ebx]
cmp ebx, 9
jl 0x689474
lea eax, [ebp - 0x25c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b698
mov eax, dword [ebp - 0x25c]
mov edx, 0x689564
call fcn.00422368
test eax, eax
jne 0x689474
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x689476
xor eax, eax
test al, al
je 0x68948d
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xc]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x68948f
xor eax, eax
test al, al
je 0x6894a6
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xe]
add eax, 0xffffffd0
sub ax, 0xa
setb al
jmp 0x6894a8
xor eax, eax
test al, al
je 0x6894e5
mov eax, dword [ebp - 4]
cmp word [eax + 0x10], 0x2e
jne 0x6894e5
lea eax, [ebp - 0x260]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.0040b698
mov eax, dword [ebp - 0x260]
call fcn.0042339c
mov edx, dword [ebp + 8]
mov byte [edx + eax - 0x3ec], 1
lea eax, [ebp - 0x254]
push eax
push esi
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x689410
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68952d
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.0040a228
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x697784
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
call fcn.00697658
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4a
mov eax, dword [0x6d9448]
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408444
cmp ebx, 0x6c840001
jne 0x6977e4
call fcn.00428ffc
mov eax, 0xffff0000
and eax, ebx
cmp eax, 0x6c830000
je 0x697808
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x6978bc
call fcn.0060faec
mov word [ebp - 0xa], bx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call dword [ebp - 8]
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x69785e
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 0xa]
call fcn.006976d8
mov esi, eax
mov eax, esi
sub ax, 2
je 0x69785e
dec eax
sub ax, 2
jb 0x697872
movzx eax, si
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x69791c
call fcn.0060faec
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x697813
mov edx, 2
movzx eax, word [ebp - 0xa]
call fcn.006976d8
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 0xa]
call fcn.006976d8
movzx eax, ax
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp si, 3
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x699bb4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
mov eax, ebx
call fcn.00699c38
call fcn.00406f0c
mov esi, eax
push esp
push 0x40
mov eax, ebx
call fcn.00699c38
push eax
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, ebx
call fcn.00699be8
mov eax, esi
pop edx
pop esi
pop ebx
ret
Function at 0x69bb9c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x69bd6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 4]
mov ecx, 0x200
xor edx, edx
call fcn.0040a350
push 0
movzx eax, byte [ebp + 8]
mov eax, dword [eax*4 + 0x6d06a8]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040b278
mov ecx, eax
mov eax, ebx
mov edx, esi
call fcn.005c7a14
test eax, eax
jne 0x69bd53
xor eax, eax
push ebp
push 0x69bd48
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [edi + 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.005e4bdc
xor ebx, ebx
mov esi, dword [ebp - 4]
test esi, esi
je 0x69bc2d
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
cmp byte [ebp + 8], 0
je 0x69bc5a
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.0040a774
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [ebp - 0x1c], eax
jmp 0x69bc7c
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.0040a774
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 1
jb 0x69bcf2
sub eax, 0xe9
je 0x69bc96
sub eax, 0x19
je 0x69bd31
jmp 0x69bceb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x69bcad
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10000
jl 0x69bcc0
call fcn.004099b8
jmp 0x69bd53
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x69bcd7
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a350
jmp 0x69bc21
call fcn.004099b8
jmp 0x69bd53
lea ecx, [ebx + 1]
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.005e4bdc
lea eax, [ebp - 4]
call fcn.0040a774
mov edx, eax
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.0040a350
lea ecx, [ebp - 0x30]
mov eax, edi
mov edx, ebx
call fcn.005f62a8
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.005e2d7c
inc ebx
jmp 0x69bc21
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69bd4f
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69bd75
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a228
ret
Function at 0x6a281c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x6a28a0
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x6a2888
mov ebx, esi
test ebx, ebx
je 0x6a284e
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0040b278
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x6a28bc
call fcn.0040b4c8
mov eax, dword [ebp - 8]
call fcn.0040b278
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x6a288a
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a28a7
lea eax, [ebp - 8]
call fcn.0040a1c8
ret

Function at 0x6a8cbc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x6a8cc6
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
push 0x6a8d7c
push 0x6a8db0
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00414020
mov ebx, eax
test ebx, ebx
je 0x6a8d65
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x6a8d65
test al, 0x10
je 0x6a8d16
mov ebp, 0x2000000
jmp 0x6a8d18
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x6a8d65
push 0
push 0x1000
lea eax, [esp + 8]
push eax
push ebp
call ebx
mov ebx, eax
push ebp
call sub.kernel32.dll_CloseHandle
test ebx, ebx
jle 0x6a8d65
cmp ebx, 0xff0
jge 0x6a8d65
mov edx, edi
mov eax, esp
call fcn.006a8bd4
jmp 0x6a8d6e
mov eax, edi
mov edx, esi
call fcn.0040a5a8
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6a8dcc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x20c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x6a8e5d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebx, eax
test ebx, ebx
jle 0x6a8e33
cmp ebx, 0x104
jge 0x6a8e33
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.0040b318
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.006a8cbc
jmp 0x6a8e44
mov eax, 0x6a8e78
call fcn.0060fca4
mov eax, esi
call fcn.0040a1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a8e64
lea eax, [ebp - 0x20c]
call fcn.0040a1c8
ret
Function at 0x6a8ea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6a8fef
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.006a8cbc
lea eax, [ebp - 8]
call fcn.006a8dcc
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00407760
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x6a8ffc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.0040b278
mov dword [ebp - 0x38], eax
mov eax, esi
call fcn.0040b278
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.0040b278
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 0x6a8f4b
call sub.kernel32.dll_GetLastError
cmp eax, 0x4c7
jne 0x6a8f41
call fcn.00428fdc
mov eax, 0x6a9014
call fcn.0060fbec
cmp dword [ebp - 0x10], 0
jne 0x6a8f5b
mov eax, 0x6a9040
call fcn.0060fa90
xor edx, edx
push ebp
push 0x6a8fcd
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.006a89c8
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x6a8f69
cmp eax, 0xffffffff
jne 0x6a8f96
mov eax, 0x6a9094
call fcn.0060fbec
call fcn.006a89c8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x6a8fb6
mov eax, 0x6a90d4
call fcn.0060fbec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a8fd4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret

Function at 0x6a90fc
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 0x6a91cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x6a879c]
call fcn.006a91f4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a91a4
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, 0x6a91e4
call fcn.004244f8
mov edx, dword [ebp - 8]
mov eax, dword [0x6d0ec4]
mov eax, dword [eax]
call fcn.005b8250
call fcn.006a89c8
call sub.user32.dll_GetFocus
mov edx, dword [0x6d0ec4]
mov edx, dword [edx]
cmp eax, dword [edx + 0x188]
jne 0x6a9187
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x6a918e
call sub.user32.dll_WaitMessage
jmp 0x6a9161
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a91ab
mov eax, dword [ebp - 4]
call fcn.00408444
ret
Function at 0x6af684
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6af68c
push ecx
push ebx
xor eax, eax
push ebp
push 0x6af7da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00610298
mov edx, dword [ebp - 0x10]
mov eax, 0x6d9530
call fcn.0040a5a8
lea eax, [ebp - 0x14]
mov ecx, dword [0x6d9530]
mov edx, 0x6af7f4
call fcn.0040b4c8
mov eax, dword [ebp - 0x14]
call fcn.00618e98
mov eax, dword [0x6d0fdc]
cmp byte [eax], 0
je 0x6af6e7
mov eax, dword [0x6d9530]
call fcn.006185a4
lea edx, [ebp - 0x18]
mov eax, dword [0x6d9530]
call fcn.005c4ea4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x6af83c
call fcn.0040b4c8
push 0
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x6af781
call sub.kernel32.dll_GetLastError
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ax, 0x3d
call fcn.005d0270
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0042302c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.005c857c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov ax, 0x81
call fcn.005d0240
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41ba8c]
call fcn.00429008
call fcn.004098c4
lea eax, [ebp - 8]
call fcn.006282c8
cmp dword [ebp - 8], 0
je 0x6af7b2
lea eax, [ebp - 0xc]
mov ecx, 0x6af858
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006af62c
mov eax, dword [ebp - 0xc]
call fcn.00628320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6af7e1
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040a228
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040a228
ret

Function at 0x6b2350
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x6d9ff1], 1
call fcn.00612440
test al, al
jne 0x6b23a2
push 5
mov eax, dword [0x6d0ec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x6d0ec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x6d0ed8]
mov eax, dword [eax + 0x15c]
mov cl, 2
xor edx, edx
call fcn.006b2060
ret

Function at 0x6b5d08
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 0x6b5d2d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret