joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e6cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor eax, eax
push eax
push eax
push eax
push 0x45e632
push 0x10000
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x45e703
push 0xffffffffffffffff
push ebx
call edi
push ebx
call esi
xor eax, eax
push eax
push eax
push eax
push 0x45e6a3
push 0x10000
push eax
call fcn.0055a579
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x45e729
push 0xffffffffffffffff
push ebx
call edi
push ebx
call esi
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 4], eax
test eax, eax
je 0x45e763
lea eax, [ebp - 4]
push eax
push 0x10000
push 0x45e6b4
call fcn.0055a4ed
add esp, 0xc
cmp eax, 0xffffffff
je 0x45e75e
push 0xffffffffffffffff
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f3ed
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x42c
push ebx
push esi
push edi
push 0
push 8
mov edi, edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45f415
xor al, al
jmp 0x45f467
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x45f45a
push 0xffffffffffffffff
lea eax, [esp + 0x34]
mov edx, edi
push eax
push dword [esp + 0x2c]
mov ecx, ebx
call fcn.0045f23c
add esp, 0xc
test al, al
je 0x45f45e
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x428
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x45f42b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45f4de
Capabilities:
Access peb ldr_data

Disassembly:
push 0xc
push 0x6cd880
call fcn.00609580
mov ebx, edx
mov dword [ebp - 0x1c], ecx
push 0x694dd0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45f492
xor al, al
jmp 0x45f4d8
and dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0x14
mov esi, dword [edi]
cmp esi, edi
je 0x45f4d2
movzx eax, word [esi + 0x1c]
push eax
push dword [esi + 0x20]
push dword [esi + 0x10]
mov edx, ebx
mov ecx, dword [ebp - 0x1c]
call fcn.0045f23c
add esp, 0xc
test al, al
je 0x45f4d2
mov esi, dword [esi]
jmp 0x45f4a7
or dword [ebp - 4], 0xffffffff
mov al, 1
call fcn.006095bc
ret
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.0045f2c6
test al, al
jne 0x45f505
mov edx, esi
mov ecx, edi
call fcn.0045f3ed
test al, al
jne 0x45f505
mov ecx, edi
mov edx, esi
pop edi
pop esi
jmp 0x45f46e
pop edi
pop esi
ret
Function at 0x461959
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0xffffffff
jne 0x4619a2
call fcn.00461803
push 8
pop esi
mov dword [eax], esi
lea eax, [esp + 0x18]
push dword [edi + 0x54]
push str.Win32_Execute____s
push eax
call fcn.00432312
add esp, 0xc
mov edx, eax
mov ecx, esi
push 1
call fcn.0046181b
pop ecx
xor al, al
jmp 0x461a31
mov esi, dword [ebp + 0x14]
mov ebx, dword [esi]
test ebx, ebx
je 0x461a2f
push dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
test eax, eax
jne 0x461a2f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x26
jne 0x461a38
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x461a38
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [edx + 0xc]
or ecx, dword [edx + 8]
cmp eax, dword [esp + 0x14]
jg 0x461a38
jl 0x461a04
cmp ecx, dword [esp + 0x10]
ja 0x461a38
call fcn.00461803
push 7
pop esi
mov dword [eax], esi
lea eax, [esp + 0x18]
push dword [edi + 0x54]
push str.Win32_Read___End_of_File____s
push eax
call fcn.00432312
add esp, 0xc
mov edx, eax
mov ecx, esi
push 1
call fcn.0046181b
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
mov esi, eax
call fcn.00461803
mov dword [eax + 4], esi
call fcn.00461803
mov dword [eax], 5
lea eax, [esp + 0x18]
push dword [esp + 0xc]
push ebx
push dword [edi + 0x54]
push esi
push str.Win32_Read___d_____s__u__u
push eax
call fcn.00432312
push 1
push 5
mov edx, eax
pop ecx
call fcn.0046181b
add esp, 0x1c
jmp 0x46199b

Function at 0x461a7b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x404
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0xffffffff
jne 0x461aa1
call fcn.00461803
mov dword [eax], 8
xor al, al
jmp 0x461b16
mov esi, dword [ebp + 0x14]
cmp dword [esi], 0
je 0x461b14
push dword [ebp + 0x10]
lea eax, [esp + 0x10]
mov byte [edi + 8], 0
push eax
push dword [esi]
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
test eax, eax
jne 0x461b14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x27
je 0x461ae7
cmp esi, 0x70
je 0x461ae7
call fcn.00461803
push 6
jmp 0x461aee
call fcn.00461803
push 0xb
pop ebx
mov dword [eax], ebx
lea eax, [esp + 0x10]
push dword [edi + 0x54]
push esi
push str.Win32_Write___d_____s
push eax
call fcn.00432312
push 1
mov edx, eax
mov ecx, ebx
call fcn.0046181b
add esp, 0x14
jmp 0x461a9d
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461ba5
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push esi
mov esi, ecx
push edi
cmp byte [esi + 8], 0
je 0x461bc2
test byte [esi + 4], 8
je 0x461d04
lea eax, [ebp - 0xc]
mov byte [esi + 8], 0
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x461be7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x461d04
mov eax, dword [esi + 0x50]
test eax, eax
je 0x461bf4
cmp dword [eax + 4], 0
jne 0x461c01
mov ecx, dword [ebp - 0xc]
xor eax, eax
or eax, edi
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
push dword [esi + 0x10]
lea ecx, [ebp - 0x290]
call fcn.00467617
lea ecx, [ebp - 4]
push ecx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea ecx, [ebp - 0x288]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x28c], ecx
je 0x461c3c
push dword [ebp - 0x28c]
call fcn.0052c08b
mov eax, dword [ebp - 8]
pop ecx
cmp eax, 0xffffffff
jne 0x461c52
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x461d04
mov eax, dword [ebp - 8]
push dword [esi + 0x54]
mov dword [esi + 0x20], eax
lea ecx, [ebp - 0x290]
mov eax, dword [ebp - 4]
mov dword [esi + 0x24], eax
call fcn.00467617
lea ecx, [ebp - 0x30]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov edi, eax
lea eax, [ebp - 0x288]
cmp dword [ebp - 0x28c], eax
je 0x461c94
push dword [ebp - 0x28c]
call fcn.0052c08b
pop ecx
test edi, edi
je 0x461d00
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004686d1
push dword [ebp - 0x18]
mov dword [esi + 0x30], eax
push dword [ebp - 0x1c]
mov dword [esi + 0x34], edx
call fcn.004686d1
push dword [ebp - 0x20]
mov dword [esi + 0x38], eax
push dword [ebp - 0x24]
mov dword [esi + 0x3c], edx
call fcn.004686d1
mov ecx, dword [ebp - 0x30]
add esp, 0x18
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
call fcn.00461d63
mov cl, al
mov dword [esi + 0x28], eax
shr cl, 5
and cl, 1
cmp dword [ebp - 0x30], 0xffffffff
mov byte [esi + 0x4c], cl
jne 0x461cf0
and dword [esi + 0x48], 0
jmp 0x461cfc
test al, 0x40
push 0
pop eax
setne al
inc eax
mov dword [esi + 0x48], eax
mov byte [esi + 8], 1
mov byte [esi + 8], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x461f16
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push ecx
lea ecx, [esp + 0xc]
call fcn.00467617
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea eax, [esp + 0x10]
cmp dword [esp + 0xc], eax
je 0x461f4c
push dword [esp + 0xc]
call fcn.0052c08b
pop ecx
cmp ebx, 0xffffffff
jne 0x461f55
xor eax, eax
jmp 0x461f5f
test bl, 0x10
push 0
pop eax
setne al
inc eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4624ad
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x260
push ebx
push esi
push ecx
lea ecx, [esp + 0xc]
mov esi, edx
call fcn.00467617
push esi
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
lea eax, [esp + 0x10]
neg ebx
sbb bl, bl
inc bl
cmp dword [esp + 0xc], eax
je 0x4624ed
push dword [esp + 0xc]
call fcn.0052c08b
pop ecx
test bl, bl
je 0x462503
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
jmp 0x462505
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4632ff
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea eax, [edi + 4]
mov byte [edi + 0xc], bl
push eax
push str.SeManageVolumePrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push edi
push 0x28
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 3
push dword [edi]
call esi
mov eax, dword [ebp - 4]
call fcn.0052c640
mov ebx, esp
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push 3
push dword [edi]
call esi
test eax, eax
je 0x463393
xor edx, edx
cmp dword [ebx], edx
jbe 0x463393
mov esi, dword [edi + 8]
lea ecx, [ebx + 0xc]
cmp dword [ecx - 4], esi
jne 0x46338b
mov eax, dword [ecx - 8]
cmp eax, dword [edi + 4]
jne 0x46338b
cmp dword [ecx], 2
je 0x463385
cmp dword [ecx], 1
je 0x463385
xor eax, eax
jmp 0x463388
xor eax, eax
inc eax
mov byte [edi + 0xc], al
inc edx
add ecx, 0xc
cmp edx, dword [ebx]
jb 0x46336a
mov eax, edi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4633fc
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
lea eax, [ebp - 8]
push ebx
push esi
push edi
push 0
push eax
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x46345b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00461803
push 7
pop ebx
mov dword [eax], ebx
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetFilePointerEx___err__d____s
lea eax, [ebp - 0x408]
push eax
call fcn.00432312
push 1
mov edx, eax
mov ecx, ebx
call fcn.0046181b
add esp, 0x14
xor al, al
jmp 0x4634b5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x463484
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00461803
push 7
pop ebx
mov dword [eax], ebx
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetEndOfFile___err__d____s
jmp 0x46343d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
test eax, eax
jne 0x4634b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00461803
push 7
pop ebx
mov dword [eax], ebx
push dword [edi + 0x54]
push esi
push str.PreallocateFast_Win___SetFileValidData___err__d____s
jmp 0x46343d
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4639ec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
inc eax
cmp dword [ebp - 0x10], 0
pop edi
cmovne eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x46571d
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
mov esi, ecx
test esi, esi
je 0x46577e
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x400
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x465766
push ecx
push 0
lea eax, [ebp - 0x804]
mov edx, 0x100
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.004676ba
add esp, 0x10
jmp 0x46577a
push 0x100
mov edx, str._unknown_
mov ecx, esi
call fcn.00467299
add esp, 4
mov eax, esi
jmp 0x465780
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x465b05
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 6
jae 0x465b44
cmp dword [ebp - 0x110], 5
jne 0x465b40
cmp dword [ebp - 0x10c], 2
jae 0x465b44
xor eax, eax
jmp 0x465b47
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x466666
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x4666b5
cmp esi, 0x104
jb 0x4666b5
lea eax, [ebp - 0x208]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4666b5
push ecx
push ebx
lea eax, [ebp - 0x208]
mov edx, esi
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.004676ba
add esp, 0x10
mov al, 1
jmp 0x4666b7
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467bb9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00467966
push dword [ebp + 0xc]
mov edx, esi
mov ecx, edi
call fcn.00467a11
mov edi, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [edi], eax
mov dword [eax + 0x18], 1
mov esi, dword [edi]
test ecx, ecx
jne 0x467bf4
mov eax, dword [0x714bd8]
test eax, eax
cmovne ecx, eax
xor edx, edx
lea ebx, [esi + 4]
push ebx
test ecx, ecx
mov eax, 0x10000
cmovle eax, edx
push eax
push esi
push 0x467eb1
push ecx
push edx
call fcn.0055a579
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x467c32
lea ecx, [esi + 0x38]
test ecx, ecx
je 0x467c2e
cmp byte [ecx], 0
je 0x467c2e
mov edx, dword [ebx]
call fcn.00467e5d
mov al, 1
jmp 0x467c3e
mov ecx, dword [edi]
call fcn.00467b10
and dword [edi], 0
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x467d06
Capabilities:
Set thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, edx
push esi
mov eax, dword [edi]
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [edi + 4], 0
je 0x467d37
test esi, esi
je 0x467d37
call fcn.00467c43
test eax, eax
jne 0x467d37
mov edx, dword [edi + 4]
mov ecx, esi
pop edi
pop esi
jmp fcn.004680d8
pop edi
pop esi
ret

Function at 0x46872b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x114
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x12c], 6
jb 0x468768
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
setne al
jmp 0x468786
cmp dword [ebp - 0x12c], 5
jb 0x468784
cmp dword [ebp - 0x128], 1
jb 0x468784
lea ecx, [ebp - 8]
call fcn.00468841
jmp 0x468786
xor al, al
mov byte [esi + 0x20], al
test al, al
je 0x4687fd
mov eax, dword [ebp - 8]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004686d1
pop ecx
pop ecx
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x3c], edx
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x38], eax
call fcn.005aefb0
movaps xmm1, xmmword [0x6b1990]
movaps xmm2, xmm0
unpcklpd xmm2, xmm2
divpd xmm1, xmm2
movups xmmword [esi], xmm1
movaps xmm1, xmmword [0x6b1970]
divpd xmm1, xmm2
movups xmmword [esi + 0x10], xmm1
jmp 0x468805
and dword [esi + 0x28], 0
and dword [esi + 0x2c], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x468841
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, ecx
push edi
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x468981
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x468981
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp edi, esi
je 0x468890
and dword [ebp - 8], 0
mov esi, dword [ebp - 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp esi, edi
je 0x4688ca
mov edi, dword [ebp - 0x28]
mov ecx, edi
sub ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov edx, esi
sbb edx, dword [ebp - 0x1c]
call fcn.005aeff0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
movsd qword [ebp - 0x30], xmm0
call fcn.005aeff0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 4]
movsd xmm2, qword [ebp - 0x30]
divsd xmm2, xmm0
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], edi
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
movaps xmm0, xmm2
addsd xmm1, qword [eax*8 + 0x6b19a0]
divsd xmm1, qword [0x6b1858]
subsd xmm0, xmm1
movsd xmm1, qword [0x6b17c8]
andps xmm0, xmmword [0x6b19b0]
divsd xmm0, xmm2
comisd xmm1, xmm0
ja 0x46898c
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
inc eax
mov dword [ebp - 8], eax
cmp eax, 3
jl 0x4688bf
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov al, 1
jmp 0x468983

Function at 0x468d1f
Capabilities:
Hash data using fnv

Disassembly:
mov edx, 0x1000193
jmp 0x468d32
movzx eax, al
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x468d26
xor eax, eax
inc eax
test edx, edx
cmovne eax, edx
ret
Function at 0x46d8cb
Capabilities:
Check os version

Disassembly:
mov eax, 0x610a5c
call fcn.00609528
sub esp, 0x9c
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0x100
lea eax, [edi + 0xc]
mov dword [eax - 0xc], ebx
mov dword [eax - 8], ebx
mov dword [eax - 4], ebx
mov dword [eax], ebx
lea eax, [eax + 0x18]
mov dword [eax - 0x14], ebx
sub ecx, 1
jne 0x46d8ec
push esi
lea esi, [edi + 0x180c]
mov dword [edi + 0x1800], ebx
mov edx, 0x104
mov dword [edi + 0x1808], ebx
mov ecx, esi
call fcn.004654d6
test al, al
jne 0x46d927
mov byte [esi], bl
push 0x104
lea eax, [edi + 0x1910]
push ebx
push eax
call fcn.00544d60
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x1a20]
add esp, 0xc
mov dword [edi + 0x1a14], ebx
mov word [edi + 0x1a1c], bx
mov byte [edi + 0x1a1e], bl
push eax
call esi
mov dword [ebp - 4], ebx
lea ebx, [edi + 0x1a38]
push ebx
mov dword [ebp - 0x14], ebx
call esi
xor eax, eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov byte [ebp - 4], 2
call fcn.00463f73
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
pop esi
test eax, eax
je 0x46d9b0
cmp dword [ebp - 0xa4], 6
setb al
test al, al
je 0x46d9b0
call fcn.00463862
mov eax, dword [0x714bb0]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x28], eax
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x475a75
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
mov dword [ebp - 0xc], eax
push ebx
push esi
mov eax, dword [eax]
mov ebx, edx
inc eax
mov esi, eax
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 4], esi
movzx edx, byte [esi]
test edx, edx
jne 0x475aa2
mov dword [ebx], 1
jmp 0x475bf1
lea eax, [edx - 0x30]
cmp eax, 0x4a
ja 0x475bf1
lea ecx, [edx - 0x30]
movsx edi, word [ecx*2 + 0x685db0]
test edi, edi
je 0x475ac4
mov edx, edi
jmp 0x475bf1
cmp edx, 0x55
ja 0x475b70
je 0x475aef
push 0x30
pop eax
cmp edx, eax
je 0x475b48
jbe 0x475b8c
cmp edx, 0x39
jbe 0x475afa
cmp edx, 0x4c
je 0x475aef
cmp edx, 0x4e
jne 0x475b8c
mov dword [ebx], 0x25
jmp 0x475bf1
cmp dword [ebp + 0x10], 0
jne 0x475b35
jmp 0x475b0f
mov esi, edx
imul ecx, ecx, 0xa
movzx eax, byte [esi]
add eax, 0xffffffd0
add ecx, eax
lea edx, [esi + 1]
movzx eax, byte [edx]
test byte [eax + 0x685e50], 4
jne 0x475b02
cmp ecx, 0xa
jl 0x475b28
cmp ecx, dword [ebp + 8]
jg 0x475b32
push 0xffffffffffffffec
pop edx
sub edx, ecx
jmp 0x475bf1
push 0x30
pop eax
mov esi, dword [ebp - 4]
movzx edx, byte [esi]
cmp edx, 0x38
jb 0x475b48
dec esi
xor edx, edx
jmp 0x475bf1
mov esi, dword [ebp - 8]
sub edx, eax
mov al, byte [esi + 1]
inc edi
cmp al, 0x30
jb 0x475b68
cmp al, 0x37
ja 0x475b68
inc esi
add edx, 0xfffffffa
movzx eax, byte [esi]
lea edx, [eax + edx*8]
cmp edi, 2
jl 0x475b4d
movzx edx, dl
jmp 0x475bf1
cmp edx, 0x63
je 0x475bd1
cmp edx, 0x6c
je 0x475aef
cmp edx, 0x75
je 0x475aef
cmp edx, 0x78
je 0x475b9a
test byte [ebp + 0xc], 0x40
je 0x475bf1
mov dword [ebx], 3
jmp 0x475bf1
push 0x30
xor edx, edx
pop ebx
movzx eax, byte [esi + 1]
inc edi
test byte [eax + 0x685e50], 8
je 0x475bf1
inc esi
push 0x37
movzx eax, byte [esi]
cmp eax, 0x61
lea ecx, [eax - 0x20]
cmovb ecx, eax
cmp ecx, 0x41
pop eax
cmovl eax, ebx
shl edx, 4
sub edx, eax
add edx, ecx
cmp edi, 2
jl 0x475b9f
jmp 0x475bf1
inc esi
movzx edx, byte [esi]
test edx, edx
jne 0x475be3
mov dword [ebx], 2
xor eax, eax
jmp 0x475bf8
lea eax, [edx - 0x61]
cmp eax, 0x19
ja 0x475bee
sub edx, 0x20
xor edx, 0x40
mov eax, dword [ebp - 0xc]
mov dword [eax], esi
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret