joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cb300
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x318]
mov ebx, ecx
push 0x55df78
push eax
mov dword [ebp - 0x630], ebx
call fcn.004f2040
lea eax, [ebp - 0x318]
push eax
call fcn.004f20a0
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 0x4cb376
cmp dl, 0x3a
jne 0x4cb376
cmp al, 0x5c
jne 0x4cb376
push 0x3a
movsx eax, cl
push eax
push str._c_c
push ebx
call fcn.00401420
add esp, 0x10
jmp 0x4cb3e1
cmp cl, 0x5c
jne 0x4cb3d1
cmp dl, cl
jne 0x4cb3d1
cmp al, 0x3f
je 0x4cb3d1
push 0x30c
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0042fd40
add esp, 0xc
lea ecx, [ebp - 0x316]
mov edx, 0x5c
push 0xffffffffffffffff
call fcn.004f1a60
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.0042fea0
add esp, 0xc
lea eax, [ebp - 0x628]
jmp 0x4cb3d7
lea eax, [ebp - 0x318]
push eax
push ebx
call fcn.004f2040
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.00424b6b
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 0x4cb477
mov edi, dword [ebp - 0x630]
add edi, 0x30c
nop
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x4cb441
cmp eax, 2
jne 0x4cb461
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 0x4cb461
cmp word [esi], ax
jne 0x4cb430
mov eax, dword [ebp - 0x62c]
push eax
call fcn.00424b28
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4cb730
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 0x4cb8f5
push edi
push 0x24
call fcn.00424b2d
push 0x30c
mov edi, eax
call fcn.00424b6b
push 0x30c
mov dword [edi], eax
call fcn.00424b6b
push 0x30c
mov dword [edi + 4], eax
call fcn.00424b6b
push 0x30c
mov dword [edi + 8], eax
call fcn.00424b6b
push 0x30c
mov dword [edi + 0xc], eax
call fcn.00424b6b
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.004cb4a0
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.004f2040
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.004c0700
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.004c0700
mov eax, dword [0x561798]
add esp, 8
mov edx, dword [ebx + 4]
mov ecx, dword [edi + 0xc]
push dword [eax + esi*4]
push 1
call fcn.004c0700
mov eax, dword [0x561788]
push dword [eax + esi*4]
push dword [edi + 0x10]
call fcn.004f2040
add esp, 0x14
lea eax, [edi + 0x20]
push eax
push 0
push edi
push 0x4ca940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4cb8ba
push 0xc
call fcn.00424b2d
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 0x4cb852
sub eax, edx
inc eax
push eax
call fcn.00424b6b
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 0x4cb870
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00424b6b
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [0x561794]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
push dword [eax + ecx]
push dword [esi]
call fcn.004f2040
push dword [edi + 4]
push dword [esi + 4]
call fcn.004f2040
add esp, 0x14
mov dword [0x561794], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi]
call fcn.00424b28
push dword [edi + 4]
call fcn.00424b28
push dword [edi + 8]
call fcn.00424b28
push dword [edi + 0xc]
call fcn.00424b28
push dword [edi + 0x10]
call fcn.00424b28
push 0x24
push edi
call fcn.00424b5d
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 0x4cbe30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x5472f8]
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.004bfb80
add esp, 4
test eax, eax
je 0x4cbf81
nop dword [eax]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x928]
push eax
call fcn.004f1eb0
add esp, 8
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cbed5
test al, 0x10
je 0x4cbf97
mov esi, dword [edi + 4]
test esi, esi
je 0x4cbf63
nop dword [eax + eax]
lea eax, [ebp - 0x310]
push eax
push dword [esi]
call fcn.004f2060
add esp, 8
test eax, eax
je 0x4cbf61
mov esi, dword [esi + 8]
test esi, esi
jne 0x4cbeb0
jmp 0x4cbf63
test ebx, ebx
jle 0x4cbf97
push 0
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4cbf97
push 0xc
call fcn.00424b2d
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 0x4cbf10
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00424b6b
lea ecx, [ebp - 0x310]
mov dword [esi], eax
push ecx
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004f2040
mov ecx, dword [edi + 4]
add esp, 0xc
test ecx, ecx
jne 0x4cbf4e
mov dword [edi + 4], esi
jmp 0x4cbf61
mov eax, dword [ecx + 8]
test eax, eax
je 0x4cbf5e
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4cbf55
mov dword [ecx + 8], esi
mov edi, esi
mov edx, dword [ebp - 0x92c]
lea ecx, [ebp - 0x310]
inc ebx
push ebx
call fcn.004bfb80
add esp, 4
test eax, eax
jne 0x4cbe70
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424b17
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.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4cbfb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50acbc
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.00425790
mov eax, dword [0x5472f8]
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.004f12e0
lea ecx, [ebp - 0x2010]
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc003
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.004f1eb0
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.004f1eb0
lea ecx, [ebp - 0x2010]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cc076
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.00424b6b
mov esi, eax
mov dword [ebp - 0x201c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2010]
push eax
push 0x52d134
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 0x4cc0c7
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 0x4cc108
push esi
call fcn.00424b28
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.00424b17
mov esp, ebp
pop ebp
ret

Function at 0x4cc7c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 8]
test esi, esi
je 0x4cc805
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 4]
lea eax, [ebp - 0x61c]
push eax
call fcn.004f1eb0
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call edi
mov esi, dword [esi + 8]
test esi, esi
jne 0x4cc7e2
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4cc820
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, 1
test edi, edi
je 0x4cc8c7
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4cc858
call fcn.004cc820
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4cc875
test esi, esi
je 0x4cc873
call fcn.004cc820
test eax, eax
je 0x4cc873
mov esi, 1
jmp 0x4cc875
xor esi, esi
mov eax, dword [edi]
test eax, eax
je 0x4cc8c7
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004f1eb0
add esp, 8
test esi, esi
je 0x4cc8b5
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4cc8b5
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00424b17
mov esp, ebp
pop ebp
ret

Function at 0x4cc8e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ecx]
push esi
xor esi, esi
cmp bl, 0x41
jl 0x4cc903
cmp bl, 0x5a
jle 0x4cc90a
lea eax, [ebx - 0x61]
cmp al, 0x19
ja 0x4cc94e
cmp byte [ecx + 1], 0x3a
jne 0x4cc94e
push 0x308
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x310], 0x5c3a41
push 0
push eax
call fcn.0042fd40
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.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4e9ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5472f8]
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 0x4e9f72
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 0x4e9f66
cmp dword [ebp - 0x210], 1
jne 0x4e9f66
lea eax, [ebp - 0x204]
push eax
call fcn.004375d6
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.00424b17
mov esp, ebp
pop ebp
ret

Function at 0x4ebc00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b3d9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5472f8]
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 0x4ebce2
nop word [eax + eax]
push 0x1c
call fcn.00424b2d
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.0043224e
xor edx, edx
div ebx
mov eax, dword [esi + 0x1c]
add eax, edx
mov dword [edi + 0x10], eax
call fcn.0043224e
cdq
mov ecx, 0x64
idiv ecx
mov eax, dword [esi + 0x20]
sub eax, edx
mov dword [edi + 0x14], eax
call fcn.0043224e
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.00408f80
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [esi + 0x50]
jl 0x4ebc50
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 0x4ebd90
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
call fcn.004ebd40
mov ecx, esi
pop esi
jmp fcn.004ebc00
Function at 0x4ec130
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b41f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5472f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00408f40
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.00503540
mulsd xmm0, qword [0x532ca8]
cvttsd2si esi, xmm0
xorps xmm0, xmm0
mov dword [edi + 0x90], esi
call fcn.00502e00
mulsd xmm0, qword [0x532ca8]
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 0x4edb50
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5472f8]
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 0x4edbde
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4edbd5
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 0x4edbd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4edbd3
lea esi, [eax + 1]
jmp 0x4edbd5
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.00424b17
mov esp, ebp
pop ebp
ret
Function at 0x4ee0a0
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.004c4820
mov ecx, dword [edi + 0x10]
call fcn.004eddc0
push dword [edi + 0x14]
call fcn.00424b6b
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 0x4ee109
sub eax, esi
mov dword [ebp - 0xc], eax
nop
call fcn.004eddd0
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 0x4ee0e0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp word [edx + 0x1c], cx
jne 0x4ee118
cmp word [edx + 0x1e], bx
je 0x4ee131
push eax
call fcn.00424b28
add esp, 4
xor esi, esi
call fcn.004c4810
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
call fcn.004c4810
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ee150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.004c4820
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 6]
call fcn.004eddc0
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 0x4ee1b8
call fcn.004eddd0
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 0x4ee192
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.004c4810
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424b17
mov esp, ebp
pop ebp
ret

Function at 0x4f2840
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.00424b2d
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x4f2690
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.00435f2f
add esp, 0x10
cmp eax, 0xffffffff
je 0x4f289a
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.00424b5d
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4f3890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b7a2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5472f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x78
call fcn.00424b2d
mov esi, eax
push 0x74
push 0
lea edx, [esi + 4]
push edx
call fcn.0042fd40
mov ecx, dword [0x5a9e28]
add esp, 0x10
inc ecx
mov dword [0x5a9e28], 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 0x4f3270
push 0
push 0
mov dword [esi + 0x24], 0
call fcn.00435fbd
add esp, 0x18
test eax, eax
je 0x4f398b
push 0x160
mov dword [esi + 0x6c], eax
call fcn.00424b2d
mov edx, eax
add esp, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov ecx, dword [0x55fe14]
call fcn.00497fc0
push eax
mov ecx, edx
call fcn.004af7c0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x70], eax
mov eax, dword [0x5a9e24]
mov dword [esi + 0x74], eax
mov dword [0x5a9e24], 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.00424b5d
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 0x4f6060
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b981
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5472f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.00424b2d
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.004a5a90
mov dword [ebp - 4], 0xffffffff
mov dword [0x5a9eb4], eax
call fcn.00449b60
push 0xfa0
push 0x5a9e54
mov dword [0x5a9e94], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 0
push 0x4f5a20
mov dword [0x5a9e6c], 1
call fcn.00435f2f
add esp, 0xc
cmp eax, 0xffffffff
je 0x4f60f7
push 1
push eax
mov dword [0x5a9ee0], 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