joyce8/EMBER2024-capa huggingface dataset:
Function at 0x606894
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 0x606903
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 0x611df8
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x611e17
call sub.wsock32.dll_WSAGetLastError
call fcn.0060e6ec
add esp, 0x190
ret

Function at 0x611e28
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 0x611f51
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 0x611e66
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 0x611e8e
call sub.wsock32.dll_WSAGetLastError
call fcn.0060e6ec
jmp 0x611f2f
cmp ebx, 0x102
jne 0x611eb0
lea edx, [ebp - 0x30]
mov eax, dword [0x694554]
call fcn.0040d994
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0060e744
jmp 0x611f2f
cmp ebx, esi
jne 0x611f2f
jmp 0x611ef1
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 0x611ef1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x611ef1
lea edx, [ebp - 0x34]
mov eax, dword [0x694554]
call fcn.0040d994
mov eax, dword [ebp - 0x34]
or edx, 0xffffffff
call fcn.0060e744
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x611eb6
cmp edi, 0xffffffff
je 0x611f2f
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x611f2f
lea edx, [ebp - 0x38]
mov eax, dword [0x694554]
call fcn.0040d994
mov eax, dword [ebp - 0x38]
or edx, 0xffffffff
call fcn.0060e744
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x611f58
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004098d8
ret
Function at 0x613164
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.00613430
cmp dword [eax + 0xc], 0
jle 0x6131e8
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6131e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00613430
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.006133b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6131e8
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 0x61328c
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.00613430
cmp dword [eax + 0xc], 0
jle 0x613310
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x613309
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00613430
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.006133b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x613310
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 0x6133b4
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 0x613427
je 0x613408
sub eax, 0x101
jne 0x6133cd
jmp 0x613427
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 0x61341a
push 1
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x6133f1
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp ebx, eax
jl 0x613427
jmp 0x6133cd
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x614570
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 0x6145a1
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040a72c
add esp, 0x100
pop ebx
ret
Function at 0x61694c
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 0x61754c
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 0x6176c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0060109c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x617591
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x40
jle 0x6175b4
lea eax, [ebp - 0x6c]
call fcn.0061694c
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x10]
call fcn.00617278
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x6c]
call fcn.006172a0
lea eax, [ebp - 4]
call fcn.0040989c
mov ebx, 0x40
lea eax, [ebp - 4]
mov edx, 0x6176e4
call fcn.0040a08c
dec ebx
jne 0x6175c1
lea eax, [ebp - 8]
call fcn.0040989c
mov ebx, 0x40
lea eax, [ebp - 8]
mov edx, 0x6176f4
call fcn.0040a08c
dec ebx
jne 0x6175de
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x6175fa
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x61763f
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 0x617605
lea eax, [ebp - 0x6c]
call fcn.0061694c
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 4]
call fcn.00617278
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.0060109c
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
call fcn.00617278
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x6c]
call fcn.006172a0
lea eax, [ebp - 0x6c]
call fcn.0061694c
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 8]
call fcn.00617278
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
call fcn.00617278
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.006172a0
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x14]
call fcn.00617418
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6176d0
lea eax, [ebp - 0x70]
call fcn.0040989c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00409908
ret

Function at 0x6185cc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
cmp dword [0x693854], 0
jne 0x6185e7
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 0x61e63c
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 0x61e70d
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.0060d8e8
mov esi, eax
cmp esi, 1
jl 0x61e6f7
mov ecx, esi
add ecx, ecx
mov dl, 1
mov eax, dword [0x6168a4]
call fcn.00605210
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x61e6f0
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.0060d8e8
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006058ac
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 0x61e6f7
mov eax, dword [ebp - 4]
call fcn.004079b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e714
lea eax, [ebp - 8]
call fcn.004098c0
ret

Function at 0x62f90c
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 0x62fa34
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, ebx
call fcn.0062f830
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.00601ea4
test eax, eax
je 0x62f9f6
mov eax, ebx
call fcn.0062f130
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, ebx
call fcn.0062f794
mov eax, dword [ebp - 0x10]
push eax
mov eax, ebx
call fcn.00630534
mov edx, dword [ebp - 4]
pop ecx
call fcn.00609214
mov eax, ebx
call fcn.00630534
cmp dword [eax + 0x24], 0x190
jl 0x62fa11
mov eax, ebx
call fcn.00630534
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.00630534
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 [0x608ad0]
call fcn.006094d8
call fcn.00408ef8
jmp 0x62fa11
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.0062f05c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62fa3b
lea eax, [ebp - 0x24]
call fcn.00409878
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004098d8
ret
Function at 0x64d314
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 0x64d389
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 0x64d390
lea eax, [ebp - 0xc]
call fcn.00409878
lea eax, [ebp - 4]
call fcn.0040989c
ret

Function at 0x65bdfc
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 0x65bead
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 0x65bead
mov eax, esi
call fcn.0065c774
cmp edx, 0
jne 0x65be58
cmp eax, 0
jbe 0x65bea7
jmp 0x65be5a
jle 0x65bea7
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.0065c774
cmp edx, dword [esp + 0xc]
jne 0x65bea4
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 0x65eb50
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 0x65ed15
cmp dword [ebp - 0x10], 0
je 0x65ed15
cmp dword [ebp + 0x10], 0
je 0x65ed15
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 0x65ec0b
mov dword [ebp - 4], 0xfffffffa
jmp 0x65ed15
xor eax, eax
push ebp
push 0x65ed0e
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 0x65ec43
push ebp
call fcn.0065eb28
pop ecx
call fcn.00408fec
jmp 0x65ed15
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 0x65ec70
push ebp
call fcn.0065eb28
pop ecx
call fcn.00408fec
jmp 0x65ed15
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 0x65ec99
push ebp
call fcn.0065eb28
pop ecx
call fcn.00408fec
jmp 0x65ed15
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 0x65ecc5
push ebp
call fcn.0065eb28
pop ecx
call fcn.00408fec
jmp 0x65ed15
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 0x65ecf1
push ebp
call fcn.0065eb28
pop ecx
call fcn.00408fec
jmp 0x65ed15
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 0x65ed15
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 0x661ff0
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 0x6620a1
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 0x662067
mov cl, 1
mov edx, 0x80
mov eax, dword [ebp - 4]
call fcn.004250b8
mov eax, dword [ebp - 8]
call fcn.00661f70
test al, al
je 0x662086
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 0x662086
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 0x6620a8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004098d8
ret

Function at 0x662b18
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 0x662b92
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, 0x662bac
call fcn.0040a8f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x662b99
lea eax, [ebp - 0x214]
call fcn.00409878
ret
Function at 0x663110
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 0x6632ab
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 0x66327b
mov eax, dword [ebp - 0x10]
call fcn.00406a4c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x663274
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 0x6631a3
call fcn.00408fec
jmp 0x66327b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x6632c4
call fcn.0066017c
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 0x6631d8
call fcn.00408fec
jmp 0x66327b
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, 0x663368
call fcn.00425b8c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x34]
mov eax, 0x663388
call fcn.0066017c
push dword [ebp - 0x34]
push dword [ebp - 8]
lea edx, [ebp - 0x38]
mov eax, 0x6633f8
call fcn.0066017c
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 0x66325e
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 0x66327b
mov eax, dword [ebp - 0x14]
call fcn.00406a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6632b2
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 0x6644ac
Capabilities:
Log keystrokes via application hook

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

Function at 0x665740
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 0x6658ba
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 0xf
call fcn.005d27ec
mov esi, eax
cmp esi, 0xffffffff
je 0x66588e
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.005d280c
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 0x665873
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 0x66586d
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 0x66586d
lea eax, [ebp - 0x44c]
lea edx, [ebp - 0x43c]
mov ecx, 0x106
call fcn.0040a744
mov eax, dword [ebp - 0x44c]
call fcn.00661f70
push ebx
call sub.kernel32.dll_CloseHandle_1
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.005d282c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x6657ac
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6658c1
lea eax, [ebp - 0x44c]
mov edx, 4
call fcn.004098d8
lea eax, [ebp - 4]
call fcn.00409878
ret