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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x318]
mov ebx, ecx
push 0x560f78
push eax
mov dword [ebp - 0x630], ebx
call fcn.004f3660
lea eax, [ebp - 0x318]
push eax
call fcn.004f36c0
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 0x4cc9a6
cmp dl, 0x3a
jne 0x4cc9a6
cmp al, 0x5c
jne 0x4cc9a6
push 0x3a
movsx eax, cl
push eax
push str._c_c
push ebx
call fcn.004013a0
add esp, 0x10
jmp 0x4cca11
cmp cl, 0x5c
jne 0x4cca01
cmp dl, cl
jne 0x4cca01
cmp al, 0x3f
je 0x4cca01
push 0x30c
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00430f60
add esp, 0xc
lea ecx, [ebp - 0x316]
mov edx, 0x5c
push 0xffffffffffffffff
call fcn.004f3080
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.004310c0
add esp, 0xc
lea eax, [ebp - 0x628]
jmp 0x4cca07
lea eax, [ebp - 0x318]
push eax
push ebx
call fcn.004f3660
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.00425a0b
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 0x4ccaa7
mov edi, dword [ebp - 0x630]
add edi, 0x30c
nop
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x4cca71
cmp eax, 2
jne 0x4cca91
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.004013a0
add esp, 0x10
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x4cca91
cmp word [esi], ax
jne 0x4cca60
mov eax, dword [ebp - 0x62c]
push eax
call fcn.004259c8
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4ccd60
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 0x4ccf25
push edi
push 0x24
call fcn.004259cd
push 0x30c
mov edi, eax
call fcn.00425a0b
push 0x30c
mov dword [edi], eax
call fcn.00425a0b
push 0x30c
mov dword [edi + 4], eax
call fcn.00425a0b
push 0x30c
mov dword [edi + 8], eax
call fcn.00425a0b
push 0x30c
mov dword [edi + 0xc], eax
call fcn.00425a0b
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.004ccad0
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.004f3660
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.004c1d30
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.004c1d30
mov eax, dword [0x564798]
add esp, 8
mov edx, dword [ebx + 4]
mov ecx, dword [edi + 0xc]
push dword [eax + esi*4]
push 1
call fcn.004c1d30
mov eax, dword [0x564788]
push dword [eax + esi*4]
push dword [edi + 0x10]
call fcn.004f3660
add esp, 0x14
lea eax, [edi + 0x20]
push eax
push 0
push edi
push 0x4cbf70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4cceea
push 0xc
call fcn.004259cd
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 0x4cce82
sub eax, edx
inc eax
push eax
call fcn.00425a0b
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 0x4ccea0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00425a0b
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [0x564794]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
push dword [eax + ecx]
push dword [esi]
call fcn.004f3660
push dword [edi + 4]
push dword [esi + 4]
call fcn.004f3660
add esp, 0x14
mov dword [0x564794], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi]
call fcn.004259c8
push dword [edi + 4]
call fcn.004259c8
push dword [edi + 8]
call fcn.004259c8
push dword [edi + 0xc]
call fcn.004259c8
push dword [edi + 0x10]
call fcn.004259c8
push 0x24
push edi
call fcn.004259fd
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 0x4cd460
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x54a2f8]
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.004c11b0
add esp, 4
test eax, eax
je 0x4cd5b1
nop dword [eax]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x928]
push eax
call fcn.004f34d0
add esp, 8
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cd505
test al, 0x10
je 0x4cd5c7
mov esi, dword [edi + 4]
test esi, esi
je 0x4cd593
nop dword [eax + eax]
lea eax, [ebp - 0x310]
push eax
push dword [esi]
call fcn.004f3680
add esp, 8
test eax, eax
je 0x4cd591
mov esi, dword [esi + 8]
test esi, esi
jne 0x4cd4e0
jmp 0x4cd593
test ebx, ebx
jle 0x4cd5c7
push 0
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4cd5c7
push 0xc
call fcn.004259cd
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 0x4cd540
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00425a0b
lea ecx, [ebp - 0x310]
mov dword [esi], eax
push ecx
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004f3660
mov ecx, dword [edi + 4]
add esp, 0xc
test ecx, ecx
jne 0x4cd57e
mov dword [edi + 4], esi
jmp 0x4cd591
mov eax, dword [ecx + 8]
test eax, eax
je 0x4cd58e
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4cd585
mov dword [ecx + 8], esi
mov edi, esi
mov edx, dword [ebp - 0x92c]
lea ecx, [ebp - 0x310]
inc ebx
push ebx
call fcn.004c11b0
add esp, 4
test eax, eax
jne 0x4cd4a0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
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.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4cd5e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d07c
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.00426620
mov eax, dword [0x54a2f8]
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.004f2900
lea ecx, [ebp - 0x2010]
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cd633
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.004f34d0
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.004f34d0
lea ecx, [ebp - 0x2010]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cd6a6
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.00425a0b
mov esi, eax
mov dword [ebp - 0x201c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2010]
push eax
push 0x52f134
push esi
call fcn.00404640
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cd6f7
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 0x4cd738
push esi
call fcn.004259c8
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.004259b7
mov esp, ebp
pop ebp
ret

Function at 0x4cddf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 8]
test esi, esi
je 0x4cde35
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 4]
lea eax, [ebp - 0x61c]
push eax
call fcn.004f34d0
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call edi
mov esi, dword [esi + 8]
test esi, esi
jne 0x4cde12
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4cde50
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, 1
test edi, edi
je 0x4cdef7
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4cde88
call fcn.004cde50
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4cdea5
test esi, esi
je 0x4cdea3
call fcn.004cde50
test eax, eax
je 0x4cdea3
mov esi, 1
jmp 0x4cdea5
xor esi, esi
mov eax, dword [edi]
test eax, eax
je 0x4cdef7
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004f34d0
add esp, 8
test esi, esi
je 0x4cdee5
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4cdee5
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004259b7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004259b7
mov esp, ebp
pop ebp
ret

Function at 0x4cdf10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ecx]
push esi
xor esi, esi
cmp bl, 0x41
jl 0x4cdf33
cmp bl, 0x5a
jle 0x4cdf3a
lea eax, [ebx - 0x61]
cmp al, 0x19
ja 0x4cdf7e
cmp byte [ecx + 1], 0x3a
jne 0x4cdf7e
push 0x308
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x310], 0x5c3a41
push 0
push eax
call fcn.00430f60
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.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4eb510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54a2f8]
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 0x4eb5a2
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 0x4eb596
cmp dword [ebp - 0x210], 1
jne 0x4eb596
lea eax, [ebp - 0x204]
push eax
call fcn.00438946
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.004259b7
mov esp, ebp
pop ebp
ret

Function at 0x4ed220
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d799
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x54a2f8]
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 0x4ed302
nop word [eax + eax]
push 0x1c
call fcn.004259cd
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.004334be
xor edx, edx
div ebx
mov eax, dword [esi + 0x1c]
add eax, edx
mov dword [edi + 0x10], eax
call fcn.004334be
cdq
mov ecx, 0x64
idiv ecx
mov eax, dword [esi + 0x20]
sub eax, edx
mov dword [edi + 0x14], eax
call fcn.004334be
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.00409a00
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [esi + 0x50]
jl 0x4ed270
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 0x4ed3b0
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
call fcn.004ed360
mov ecx, esi
pop esi
jmp fcn.004ed220
Function at 0x4ed750
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d7df
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x54a2f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004099c0
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.00504b40
mulsd xmm0, qword [0x534c98]
cvttsd2si esi, xmm0
xorps xmm0, xmm0
mov dword [edi + 0x90], esi
call fcn.00504410
mulsd xmm0, qword [0x534c98]
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 0x4ef170
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x54a2f8]
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 0x4ef1fe
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4ef1f5
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 0x4ef1f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4ef1f3
lea esi, [eax + 1]
jmp 0x4ef1f5
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.004259b7
mov esp, ebp
pop ebp
ret
Function at 0x4ef6c0
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.004c5e50
mov ecx, dword [edi + 0x10]
call fcn.004ef3e0
push dword [edi + 0x14]
call fcn.00425a0b
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 0x4ef729
sub eax, esi
mov dword [ebp - 0xc], eax
nop
call fcn.004ef3f0
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 0x4ef700
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp word [edx + 0x1c], cx
jne 0x4ef738
cmp word [edx + 0x1e], bx
je 0x4ef751
push eax
call fcn.004259c8
add esp, 4
xor esi, esi
call fcn.004c5e40
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
call fcn.004c5e40
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ef770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x54a2f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.004c5e50
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 6]
call fcn.004ef3e0
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 0x4ef7d8
call fcn.004ef3f0
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 0x4ef7b2
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.004c5e40
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004259b7
mov esp, ebp
pop ebp
ret

Function at 0x4f3e60
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.004259cd
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x4f3cb0
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.0043729b
add esp, 0x10
cmp eax, 0xffffffff
je 0x4f3eba
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.004259fd
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4f4eb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50db62
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54a2f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x78
call fcn.004259cd
mov esi, eax
push 0x74
push 0
lea edx, [esi + 4]
push edx
call fcn.00430f60
mov ecx, dword [0x5ace28]
add esp, 0x10
inc ecx
mov dword [0x5ace28], 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 0x4f4890
push 0
push 0
mov dword [esi + 0x24], 0
call fcn.00437329
add esp, 0x18
test eax, eax
je 0x4f4fab
push 0x160
mov dword [esi + 0x6c], eax
call fcn.004259cd
mov edx, eax
add esp, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov ecx, dword [0x562e14]
call fcn.004995e0
push eax
mov ecx, edx
call fcn.004b0de0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x70], eax
mov eax, dword [0x5ace24]
mov dword [esi + 0x74], eax
mov dword [0x5ace24], 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.004259fd
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 0x4f7680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dd41
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x54a2f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.004259cd
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.004a70b0
mov dword [ebp - 4], 0xffffffff
mov dword [0x5aceb4], eax
call fcn.0044b170
push 0xfa0
push 0x5ace54
mov dword [0x5ace94], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 0
push 0x4f7040
mov dword [0x5ace6c], 1
call fcn.0043729b
add esp, 0xc
cmp eax, 0xffffffff
je 0x4f7717
push 1
push eax
mov dword [0x5acee0], 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