joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6068bc
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, eax
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.0040a688
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x60692b
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.0042767c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x611f79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov esi, 1
test edx, edx
je 0x611e8e
inc esi
push 0x4bf
push edi
push 0
lea eax, [ebp - 0x10]
push eax
push esi
call sub.user32.dll_MsgWaitForMultipleObjects
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x611eb6
call sub.wsock32.dll_WSAGetLastError
call fcn.0060e714
jmp 0x611f57
cmp ebx, 0x102
jne 0x611ed8
lea edx, [ebp - 0x30]
mov eax, dword [0x694554]
call fcn.0040d994
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0060e76c
jmp 0x611f57
cmp ebx, esi
jne 0x611f57
jmp 0x611f19
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageW
cmp edi, 0xffffffff
je 0x611f19
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x611f19
lea edx, [ebp - 0x34]
mov eax, dword [0x694554]
call fcn.0040d994
mov eax, dword [ebp - 0x34]
or edx, 0xffffffff
call fcn.0060e76c
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x611ede
cmp edi, 0xffffffff
je 0x611f57
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x611f57
lea edx, [ebp - 0x38]
mov eax, dword [0x694554]
call fcn.0040d994
mov eax, dword [ebp - 0x38]
or edx, 0xffffffff
call fcn.0060e76c
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x611f80
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004098d8
ret
Function at 0x61318c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00613458
cmp dword [eax + 0xc], 0
jle 0x613210
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x613209
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00613458
push dword [eax + 0xc]
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.006133dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x613210
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x6132b4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call sub.wsock32.dll_send
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00613458
cmp dword [eax + 0xc], 0
jle 0x613338
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x613331
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00613458
push dword [eax + 0xc]
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.006133dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x613338
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov ebx, edx
lea edi, [esp + 4]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
push 0x4bf
push ebx
push 0
lea eax, [esp + 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 1
jb 0x61344f
je 0x613430
sub eax, 0x101
jne 0x6133f5
jmp 0x61344f
push edi
call sub.user32.dll_TranslateMessage
push edi
call sub.user32.dll_DispatchMessageW
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp ebx, eax
jl 0x613442
push 1
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x613419
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp ebx, eax
jl 0x61344f
jmp 0x6133f5
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x614598
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
mov eax, ebx
call fcn.00409878
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x6145c9
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040a72c
add esp, 0x100
pop ebx
ret
Function at 0x616974
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040740c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x617574
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x6176f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.006010c4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x6175b9
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x40
jle 0x6175dc
lea eax, [ebp - 0x6c]
call fcn.00616974
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x10]
call fcn.006172a0
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x6c]
call fcn.006172c8
lea eax, [ebp - 4]
call fcn.0040989c
mov ebx, 0x40
lea eax, [ebp - 4]
mov edx, 0x61770c
call fcn.0040a08c
dec ebx
jne 0x6175e9
lea eax, [ebp - 8]
call fcn.0040989c
mov ebx, 0x40
lea eax, [ebp - 8]
mov edx, 0x61771c
call fcn.0040a08c
dec ebx
jne 0x617606
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x617622
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x617667
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00409e48
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
mov ecx, dword [ebp - 0x10]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
lea eax, [ebp - 8]
call fcn.00409e48
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
mov ecx, dword [ebp - 0x10]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x61762d
lea eax, [ebp - 0x6c]
call fcn.00616974
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 4]
call fcn.006172a0
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.006010c4
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
call fcn.006172a0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x6c]
call fcn.006172c8
lea eax, [ebp - 0x6c]
call fcn.00616974
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 8]
call fcn.006172a0
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
call fcn.006172a0
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.006172c8
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x14]
call fcn.00617440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6176f8
lea eax, [ebp - 0x70]
call fcn.0040989c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00409908
ret

Function at 0x6185f4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
cmp dword [0x693854], 0
jne 0x61860f
push esp
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [esp + 0x1c]
mov dword [0x693854], eax
mov eax, dword [0x693854]
add esp, 0x24
ret
Function at 0x61e664
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x61e735
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00409878
push 0
push 0
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.0060d910
mov esi, eax
cmp esi, 1
jl 0x61e71f
mov ecx, esi
add ecx, ecx
mov dl, 1
mov eax, dword [0x6168cc]
call fcn.00605238
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x61e718
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
push edx
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.0060d910
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006058d4
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e71f
mov eax, dword [ebp - 4]
call fcn.004079b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e73c
lea eax, [ebp - 8]
call fcn.004098c0
ret

Function at 0x62f934
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x62fa5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, ebx
call fcn.0062f858
mov dword [ebp - 8], 4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000013
mov eax, dword [esi + 0x18]
push eax
call fcn.00601ecc
test eax, eax
je 0x62fa1e
mov eax, ebx
call fcn.0062f158
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, ebx
call fcn.0062f7bc
mov eax, dword [ebp - 0x10]
push eax
mov eax, ebx
call fcn.0063055c
mov edx, dword [ebp - 4]
pop ecx
call fcn.0060923c
mov eax, ebx
call fcn.0063055c
cmp dword [eax + 0x24], 0x190
jl 0x62fa39
mov eax, ebx
call fcn.0063055c
mov eax, dword [eax + 0x24]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x6949dc]
call fcn.0040d994
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call fcn.0063055c
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
pop eax
call fcn.00425b8c
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x608af8]
call fcn.00609500
call fcn.00408ef8
jmp 0x62fa39
push 0
lea edx, [ebp - 0x24]
mov eax, dword [0x6948b0]
call fcn.0040d994
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov eax, ebx
call fcn.0062f084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62fa63
lea eax, [ebp - 0x24]
call fcn.00409878
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004098d8
ret
Function at 0x64d33c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x64d3b1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
mov ecx, ebx
xor edx, edx
call fcn.00409a54
mov eax, dword [ebp - 4]
call fcn.0040a2b0
mov edx, eax
mov ecx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040a760
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64d3b8
lea eax, [ebp - 0xc]
call fcn.00409878
lea eax, [ebp - 4]
call fcn.0040989c
ret

Function at 0x65be24
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov esi, eax
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0
setg bl
test bl, bl
je 0x65bed5
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [esi + 0x5c]
call fcn.0040a688
push eax
call sub.kernel32.dll_CreateFileW
mov edi, eax
cmp edi, 0xffffffff
setne bl
test bl, bl
je 0x65bed5
mov eax, esi
call fcn.0065c79c
cmp edx, 0
jne 0x65be80
cmp eax, 0
jbe 0x65becf
jmp 0x65be82
jle 0x65becf
xor eax, eax
mov dword [esp], eax
push esp
push edi
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp]
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
xor eax, eax
or eax, dword [esp + 8]
or edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, esi
call fcn.0065c79c
cmp edx, dword [esp + 0xc]
jne 0x65becc
cmp eax, dword [esp + 8]
sete bl
push edi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x65eb78
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0xfffffffb
test esi, esi
je 0x65ed3d
cmp dword [ebp - 0x10], 0
je 0x65ed3d
cmp dword [ebp + 0x10], 0
je 0x65ed3d
mov word [ebp - 0x1a], 0
mov word [ebp - 0x18], 1
mov word [ebp - 0x16], 1
lea eax, [ebp - 0x2a]
xor ecx, ecx
mov edx, 0x10
call fcn.0040740c
mov edi, esi
mov eax, edi
movzx edx, byte [eax + 4]
mov byte [ebp - 0x2a], dl
movzx edx, byte [eax + 8]
mov byte [ebp - 0x29], dl
movzx edx, word [eax + 0xe]
mov word [ebp - 0x28], dx
mov dword [ebp - 0x1e], 0x16
mov edx, dword [eax + 0x14]
add edx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
mov dword [ebp - 0x22], edx
movzx edx, byte [ebp - 0x29]
add edx, edx
mov dword [eax + 8], edx
push 0
push 0x8000080
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x65ec33
mov dword [ebp - 4], 0xfffffffa
jmp 0x65ed3d
xor eax, eax
push ebp
push 0x65ed36
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x14]
push eax
push 6
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65ec6b
push ebp
call fcn.0065eb50
pop ecx
call fcn.00408fec
jmp 0x65ed3d
mov ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
push 0x10
lea eax, [ebp - 0x2a]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65ec98
push ebp
call fcn.0065eb50
pop ecx
call fcn.00408fec
jmp 0x65ed3d
add ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65ecc1
push ebp
call fcn.0065eb50
pop ecx
call fcn.00408fec
jmp 0x65ed3d
add ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65eced
push ebp
call fcn.0065eb50
pop ecx
call fcn.00408fec
jmp 0x65ed3d
add ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65ed19
push ebp
call fcn.0065eb50
pop ecx
call fcn.00408fec
jmp 0x65ed3d
add ebx, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65ed3d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x662018
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040995c
mov eax, dword [ebp - 8]
call fcn.0040995c
xor eax, eax
push ebp
push 0x6620c9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00424f40
test al, al
je 0x66208f
mov cl, 1
mov edx, 0x80
mov eax, dword [ebp - 4]
call fcn.004250b8
mov eax, dword [ebp - 8]
call fcn.00661f98
test al, al
je 0x6620ae
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.0040a688
push eax
mov eax, dword [ebp - 4]
call fcn.0040a688
push eax
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x6620ae
push 0
mov eax, dword [ebp - 8]
call fcn.0040a688
push eax
mov eax, dword [ebp - 4]
call fcn.0040a688
push eax
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6620d0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004098d8
ret

Function at 0x662ab4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x662b2e
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
lea edx, [ebp - 0x214]
lea eax, [ebp - 0x20e]
call fcn.004259a4
mov edx, dword [ebp - 0x214]
mov eax, ebx
mov ecx, 0x662b48
call fcn.0040a8f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x662b35
lea eax, [ebp - 0x214]
call fcn.00409878
ret
Function at 0x6630ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040995c
xor eax, eax
push ebp
push 0x663247
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00409878
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a688
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x663217
mov eax, dword [ebp - 0x10]
call fcn.00406a4c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x663210
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x66313f
call fcn.00408fec
jmp 0x663217
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x663260
call fcn.006601a4
mov eax, dword [ebp - 0x1c]
call fcn.0040a688
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x663174
call fcn.00408fec
jmp 0x663217
lea eax, [ebp - 8]
push eax
mov ebx, dword [ebp - 0x18]
movzx eax, word [ebx]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
movzx eax, word [ebx + 2]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x663304
call fcn.00425b8c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x34]
mov eax, 0x663324
call fcn.006601a4
push dword [ebp - 0x34]
push dword [ebp - 8]
lea edx, [ebp - 0x38]
mov eax, 0x663394
call fcn.006601a4
push dword [ebp - 0x38]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040a97c
mov eax, dword [ebp - 0x30]
call fcn.0040a688
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6631fa
mov eax, esi
mov edx, dword [ebp - 0x18]
call fcn.0040a6f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x663217
mov eax, dword [ebp - 0x14]
call fcn.00406a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66324e
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004098d8
lea eax, [ebp - 0x1c]
call fcn.00409878
lea eax, [ebp - 8]
mov edx, 2
call fcn.004098d8
ret
Function at 0x664448
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp byte [0x71cffc], 0
jne 0x664472
push 0
mov eax, dword [0x698c54]
push eax
mov eax, 0x664490
push eax
push 0xd
call sub.user32.dll_SetWindowsHookExW
mov dword [0x71cff8], eax
mov byte [0x71cffc], 1
ret

Function at 0x6656dc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x44c], edx
mov dword [ebp - 0x440], edx
mov dword [ebp - 0x444], edx
mov dword [ebp - 0x448], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040995c
xor eax, eax
push ebp
push 0x665856
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 0xf
call fcn.005d2814
mov esi, eax
cmp esi, 0xffffffff
je 0x66582a
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.005d2834
mov eax, dword [ebp - 0x228]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 0x104
lea ecx, [ebp - 0x43c]
xor edx, edx
mov eax, ebx
call fcn.00414df0
test eax, eax
je 0x66580f
lea edx, [ebp - 0x440]
mov eax, dword [ebp - 4]
call fcn.004238c0
mov eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x448]
lea edx, [ebp - 0x43c]
mov ecx, 0x106
call fcn.0040a744
mov eax, dword [ebp - 0x448]
lea edx, [ebp - 0x444]
call fcn.004238c0
mov eax, dword [ebp - 0x444]
mov ecx, 1
pop edx
call fcn.0040ac74
test eax, eax
jle 0x665809
mov eax, dword [ebp - 0x228]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x665809
lea eax, [ebp - 0x44c]
lea edx, [ebp - 0x43c]
mov ecx, 0x106
call fcn.0040a744
mov eax, dword [ebp - 0x44c]
call fcn.00661f98
push ebx
call sub.kernel32.dll_CloseHandle_1
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.005d2854
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x665748
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66585d
lea eax, [ebp - 0x44c]
mov edx, 4
call fcn.004098d8
lea eax, [ebp - 4]
call fcn.00409878
ret