joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9e90
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x620]
push eax
push 0x50d420
push 1
xor esi, esi
mov dword [ebp - 0x628], ecx
push esi
push 0x50d4a0
mov ebx, edx
mov dword [ebp - 0x620], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4c9fb3
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004f1180
mov ecx, dword [ebp - 0x620]
lea edx, [ebp - 0x61c]
add esp, 8
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x50]
test eax, eax
jne 0x4c9fa7
mov edx, 0x52969c
test edi, edi
je 0x4c9f25
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.004f1180
add esp, 8
lea edx, [ebp - 0x61c]
mov ecx, dword [ebp - 0x620]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
jne 0x4c9fa7
mov ecx, dword [ebp - 0x620]
push 0x52969c
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x4c9fa7
mov ecx, dword [ebp - 0x620]
lea edx, [ebp - 0x624]
push edx
mov dword [ebp - 0x624], esi
push 0x50d480
mov eax, dword [ecx]
push ecx
call dword [eax]
test eax, eax
jne 0x4c9fa7
push dword [ebp - 0x628]
lea eax, [ebp - 0x61c]
push eax
call fcn.004f1180
mov ecx, dword [ebp - 0x624]
lea edx, [ebp - 0x61c]
add esp, 8
mov eax, dword [ecx]
push 1
push edx
push ecx
call dword [eax + 0x18]
neg eax
sbb esi, esi
mov eax, dword [ebp - 0x624]
push eax
inc esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x620]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424a87
mov esp, ebp
pop ebp
ret
Function at 0x4cad50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x318]
mov ebx, ecx
push 0x55cf78
push eax
mov dword [ebp - 0x630], ebx
call fcn.004f1310
lea eax, [ebp - 0x318]
push eax
call fcn.004f1370
mov cl, byte [ebp - 0x318]
add esp, 0xc
mov dl, byte [ebp - 0x317]
lea eax, [ecx - 0x61]
cmp al, 0x19
mov al, byte [ebp - 0x316]
ja 0x4cadc6
cmp dl, 0x3a
jne 0x4cadc6
cmp al, 0x5c
jne 0x4cadc6
push 0x3a
movsx eax, cl
push eax
push str._c_c
push ebx
call fcn.00401420
add esp, 0x10
jmp 0x4cae31
cmp cl, 0x5c
jne 0x4cae21
cmp dl, cl
jne 0x4cae21
cmp al, 0x3f
je 0x4cae21
push 0x30c
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0042fca0
add esp, 0xc
lea ecx, [ebp - 0x316]
mov edx, 0x5c
push 0xffffffffffffffff
call fcn.004f0d30
add esp, 4
lea ecx, [ebp - 0x318]
sub eax, ecx
push eax
mov eax, ecx
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.0042fe00
add esp, 0xc
lea eax, [ebp - 0x628]
jmp 0x4cae27
lea eax, [ebp - 0x318]
push eax
push ebx
call fcn.004f1310
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424adb
add esp, 4
mov dword [ebp - 0x62c], eax
mov esi, eax
push eax
push 0x400
call edi
mov eax, esi
mov ebx, 1
cmp word [eax], 0
je 0x4caec7
mov edi, dword [ebp - 0x630]
add edi, 0x30c
nop
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x4cae91
cmp eax, 2
jne 0x4caeb1
movzx eax, word [esi + 2]
mov ecx, edi
push eax
movzx eax, word [esi]
inc ebx
push eax
push str._c_c
push ecx
add edi, 0x30c
call fcn.00401420
add esp, 0x10
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x4caeb1
cmp word [esi], ax
jne 0x4cae80
mov eax, dword [ebp - 0x62c]
push eax
call fcn.00424a98
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00424a87
mov esp, ebp
pop ebp
ret
Function at 0x4cb180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
mov dword [ebp - 4], esi
cmp esi, dword [ebx + 8]
jge 0x4cb345
push edi
push 0x24
call fcn.00424a9d
push 0x30c
mov edi, eax
call fcn.00424adb
push 0x30c
mov dword [edi], eax
call fcn.00424adb
push 0x30c
mov dword [edi + 4], eax
call fcn.00424adb
push 0x30c
mov dword [edi + 8], eax
call fcn.00424adb
push 0x30c
mov dword [edi + 0xc], eax
call fcn.00424adb
mov dword [edi + 0x10], eax
mov ecx, esi
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
call fcn.004caef0
mov esi, eax
mov eax, dword [ebp - 4]
lea ecx, [eax*4]
mov eax, dword [ebx + 0xc]
mov dword [ebp + 8], ecx
push dword [eax + ecx]
push dword [edi]
call fcn.004f1310
mov eax, dword [ebx + 0xc]
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
push dword [eax + ecx]
mov ecx, dword [edi + 4]
push 1
call fcn.004c0120
mov eax, dword [ebx + 0xc]
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 4]
push dword [eax + ecx]
mov ecx, dword [edi + 8]
push 1
call fcn.004c0120
mov eax, dword [0x56079c]
add esp, 8
mov edx, dword [ebx + 4]
mov ecx, dword [edi + 0xc]
push dword [eax + esi*4]
push 1
call fcn.004c0120
mov eax, dword [0x560788]
push dword [eax + esi*4]
push dword [edi + 0x10]
call fcn.004f1310
add esp, 0x14
lea eax, [edi + 0x20]
push eax
push 0
push edi
push 0x4ca390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4cb30a
push 0xc
call fcn.00424a9d
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebx + 0xc]
add esp, 4
mov eax, dword [eax + ecx]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cb2a2
sub eax, edx
inc eax
push eax
call fcn.00424adb
mov dword [esi], eax
add esp, 4
mov ecx, dword [edi + 4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cb2c0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00424adb
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [0x560794]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
push dword [eax + ecx]
push dword [esi]
call fcn.004f1310
push dword [edi + 4]
push dword [esi + 4]
call fcn.004f1310
add esp, 0x14
mov dword [0x560794], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi]
call fcn.00424a98
push dword [edi + 4]
call fcn.00424a98
push dword [edi + 8]
call fcn.00424a98
push dword [edi + 0xc]
call fcn.00424a98
push dword [edi + 0x10]
call fcn.00424a98
push 0x24
push edi
call fcn.00424acd
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb880
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, edx
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x92c], eax
push ebx
lea ecx, [ebp - 0x310]
call fcn.004bf5a0
add esp, 4
test eax, eax
je 0x4cb9d1
nop dword [eax]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x928]
push eax
call fcn.004f1180
add esp, 8
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cb925
test al, 0x10
je 0x4cb9e7
mov esi, dword [edi + 4]
test esi, esi
je 0x4cb9b3
nop dword [eax + eax]
lea eax, [ebp - 0x310]
push eax
push dword [esi]
call fcn.004f1330
add esp, 8
test eax, eax
je 0x4cb9b1
mov esi, dword [esi + 8]
test esi, esi
jne 0x4cb900
jmp 0x4cb9b3
test ebx, ebx
jle 0x4cb9e7
push 0
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4cb9e7
push 0xc
call fcn.00424a9d
lea ecx, [ebp - 0x310]
add esp, 4
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cb960
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00424adb
lea ecx, [ebp - 0x310]
mov dword [esi], eax
push ecx
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004f1310
mov ecx, dword [edi + 4]
add esp, 0xc
test ecx, ecx
jne 0x4cb99e
mov dword [edi + 4], esi
jmp 0x4cb9b1
mov eax, dword [ecx + 8]
test eax, eax
je 0x4cb9ae
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4cb9a5
mov dword [ecx + 8], esi
mov edi, esi
mov edx, dword [ebp - 0x92c]
lea ecx, [ebp - 0x310]
inc ebx
push ebx
call fcn.004bf5a0
add esp, 4
test eax, eax
jne 0x4cb8c0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a87
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424a87
mov esp, ebp
pop ebp
ret
Function at 0x4cba00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509e9c
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.004256f0
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, dword [ebp + 8]
mov edx, str.Software_
push ecx
lea ecx, [ebp - 0x2010]
call fcn.004f05b0
lea ecx, [ebp - 0x2010]
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cba53
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
lea eax, [eax + ecx*2]
mov ecx, 0x5c
mov word [eax], cx
add eax, 2
push esi
push eax
call fcn.004f1180
add esp, 8
lea eax, [ebp - 0x2018]
push eax
lea eax, [ebp - 0x2014]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x2010]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2010]
push edi
push eax
call fcn.004f1180
lea ecx, [ebp - 0x2010]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cbac6
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 3]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424adb
mov esi, eax
mov dword [ebp - 0x201c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2010]
push eax
push 0x52c0f4
push esi
call fcn.00404110
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cbb17
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.InstalledFolder
push dword [ebp - 0x2014]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4cbb58
push esi
call fcn.00424a98
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424a87
mov esp, ebp
pop ebp
ret

Function at 0x4cc210
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 8]
test esi, esi
je 0x4cc255
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 4]
lea eax, [ebp - 0x61c]
push eax
call fcn.004f1180
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call edi
mov esi, dword [esi + 8]
test esi, esi
jne 0x4cc232
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00424a87
mov esp, ebp
pop ebp
ret
Function at 0x4cc270
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, 1
test edi, edi
je 0x4cc317
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4cc2a8
call fcn.004cc270
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4cc2c5
test esi, esi
je 0x4cc2c3
call fcn.004cc270
test eax, eax
je 0x4cc2c3
mov esi, 1
jmp 0x4cc2c5
xor esi, esi
mov eax, dword [edi]
test eax, eax
je 0x4cc317
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004f1180
add esp, 8
test esi, esi
je 0x4cc305
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4cc305
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a87
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a87
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00424a87
mov esp, ebp
pop ebp
ret

Function at 0x4cc330
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ecx]
push esi
xor esi, esi
cmp bl, 0x41
jl 0x4cc353
cmp bl, 0x5a
jle 0x4cc35a
lea eax, [ebx - 0x61]
cmp al, 0x19
ja 0x4cc39e
cmp byte [ecx + 1], 0x3a
jne 0x4cc39e
push 0x308
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x310], 0x5c3a41
push 0
push eax
call fcn.0042fca0
add esp, 0xc
mov byte [ebp - 0x310], bl
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
mov ecx, 1
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424a87
mov esp, ebp
pop ebp
ret
Function at 0x4e93f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x208]
xor esi, esi
push eax
push 0x20019
push esi
push str.Control_PanelMouse
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e9482
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0x200
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push str.MouseTrails
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4e9476
cmp dword [ebp - 0x210], 1
jne 0x4e9476
lea eax, [ebp - 0x204]
push eax
call fcn.00437546
add esp, 4
mov esi, eax
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00424a87
mov esp, ebp
pop ebp
ret

Function at 0x4eb100
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a5b9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5462f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x28]
mov eax, dword [esi + 0x30]
sub eax, dword [esi + 0x24]
sub ebx, dword [esi + 0x1c]
cmp dword [esi + 0x50], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
jle 0x4eb1e2
nop word [eax + eax]
push 0x1c
call fcn.00424a9d
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov dword [edi], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004321be
xor edx, edx
div ebx
mov eax, dword [esi + 0x1c]
add eax, edx
mov dword [edi + 0x10], eax
call fcn.004321be
cdq
mov ecx, 0x64
idiv ecx
mov eax, dword [esi + 0x20]
sub eax, edx
mov dword [edi + 0x14], eax
call fcn.004321be
xor edx, edx
mov ecx, esi
div dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
add eax, edx
mov dword [edi + 0x18], eax
movq xmm0, qword [edi + 0x10]
movq qword [edi + 4], xmm0
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x68]
sub dword [edi + 4], eax
mov eax, dword [esi + 0x6c]
sub dword [edi + 8], eax
mov eax, dword [esi + 0x70]
sub dword [edi + 0xc], eax
push edi
call fcn.00408ef0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [esi + 0x50]
jl 0x4eb150
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4eb290
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
call fcn.004eb240
mov ecx, esi
pop esi
jmp fcn.004eb100
Function at 0x4eb630
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a5ff
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5462f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00408eb0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0x1c], 0xffffff9c
mov dword [edi + 0x20], 0x64
mov dword [edi + 0x24], 0xffffff9c
mov dword [edi + 0x28], 0x64
mov dword [edi + 0x2c], 0xffffff9c
mov dword [edi + 0x30], 0x64
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0x3c00
mov dword [edi + 0x44], 0x15e00
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0xffffffc4
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xfffffea2
mov dword [edi + 0x70], 0
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0x64
mov dword [edi + 0x54], 0x14
mov dword [edi + 0x58], 1
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0xa
call fcn.00502730
mulsd xmm0, qword [0x531b90]
cvttsd2si esi, xmm0
xorps xmm0, xmm0
mov dword [edi + 0x90], esi
call fcn.00502000
mulsd xmm0, qword [0x531b90]
mov dword [edi + 0x98], esi
mov dword [edi + 0xa0], esi
mov dword [edi + 0x14], 0
cvttsd2si eax, xmm0
mov dword [edi + 0x94], eax
mov dword [edi + 0x9c], eax
mov dword [edi + 0xa4], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4ed050
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x18]
mov edi, edx
push eax
push 0x20
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4ed0de
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4ed0d5
mov eax, dword [ebp - 0x20]
neg edi
push esi
push esi
mov dword [ebp - 0x10], eax
sbb edi, edi
mov eax, dword [ebp - 0x1c]
and edi, 2
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4ed0d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4ed0d3
lea esi, [eax + 1]
jmp 0x4ed0d5
xor esi, esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00424a87
mov esp, ebp
pop ebp
ret
Function at 0x4ed5a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004c4240
mov ecx, dword [edi + 0x10]
call fcn.004ed2c0
push dword [edi + 0x14]
call fcn.00424adb
lea esi, [edi + 0x20]
mov dword [ebp - 8], eax
mov edi, dword [edi + 0x14]
xor ecx, ecx
add esp, 4
mov dword [ebp - 4], ecx
xor ebx, ebx
test edi, edi
je 0x4ed609
sub eax, esi
mov dword [ebp - 0xc], eax
nop
call fcn.004ed2d0
mov cl, byte [esi]
lea esi, [esi + 1]
sub cl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + esi - 1], cl
movzx eax, byte [esi - 1]
mov ecx, dword [ebp - 4]
xor ebx, eax
add ecx, eax
mov dword [ebp - 4], ecx
sub edi, 1
jne 0x4ed5e0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp word [edx + 0x1c], cx
jne 0x4ed618
cmp word [edx + 0x1e], bx
je 0x4ed631
push eax
call fcn.00424a98
add esp, 4
xor esi, esi
call fcn.004c4230
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
call fcn.004c4230
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ed650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.004c4240
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 6]
call fcn.004ed2c0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov edi, dword [eax + 0x14]
lea esi, [eax + 0x20]
test edi, edi
je 0x4ed6b8
call fcn.004ed2d0
mov ecx, dword [ebp - 0x18]
lea esi, [esi + 1]
movzx eax, ax
add byte [esi - 1], al
mov al, byte [esi - 1]
movzx eax, al
xor ecx, eax
add ebx, eax
mov dword [ebp - 0x18], ecx
sub edi, 1
jne 0x4ed692
mov eax, dword [ebp - 0x1c]
movzx edx, word [ebp - 6]
mov dword [eax + 0x10], edx
mov word [eax + 0x1c], bx
mov word [eax + 0x1e], cx
call fcn.004c4230
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424a87
mov esp, ebp
pop ebp
ret

Function at 0x4f1b10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x1c
mov edi, edx
mov esi, ecx
call fcn.00424a9d
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x4f1960
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 4], 0
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x18], eax
call fcn.00435e9f
add esp, 0x10
cmp eax, 0xffffffff
je 0x4f1b6a
push 2
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
push 0x1c
push ebx
call fcn.00424acd
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4f2a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a982
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5462f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x78
call fcn.00424a9d
mov esi, eax
push 0x74
push 0
lea edx, [esi + 4]
push edx
call fcn.0042fca0
mov ecx, dword [0x5a8e38]
add esp, 0x10
inc ecx
mov dword [0x5a8e38], ecx
mov dword [esi], ecx
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0xfa0
lea edi, [esi + 8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea eax, [ebp - 0x10]
mov dword [esi + 0x20], 0
push eax
push 0
push esi
push 0x4f2460
push 0
push 0
mov dword [esi + 0x24], 0
call fcn.00435f2d
add esp, 0x18
test eax, eax
je 0x4f2b7b
push 0x160
mov dword [esi + 0x6c], eax
call fcn.00424a9d
mov edx, eax
add esp, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov ecx, dword [0x55ee14]
call fcn.00497ad0
push eax
mov ecx, edx
call fcn.004af2d0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x70], eax
mov eax, dword [0x5a8e34]
mov dword [esi + 0x74], eax
mov dword [0x5a8e34], esi
mov eax, dword [esi]
mov dword [ebx], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x78
push esi
call fcn.00424acd
add esp, 8
mov eax, 0xd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f5250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ab61
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5462f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.00424a9d
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.004a55a0
mov dword [ebp - 4], 0xffffffff
mov dword [0x5a8eac], eax
call fcn.00449a60
push 0xfa0
push 0x5a8e4c
mov dword [0x5a8e8c], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 0
push 0x4f4c10
mov dword [0x5a8e64], 1
call fcn.00435e9f
add esp, 0xc
cmp eax, 0xffffffff
je 0x4f52e7
push 1
push eax
mov dword [0x5a8ed8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret