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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x5522f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x318]
mov ebx, ecx
push 0x569e38
push eax
mov dword [ebp - 0x630], ebx
call fcn.004f5eb0
lea eax, [ebp - 0x318]
push eax
call fcn.004f5f10
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 0x4cec36
cmp dl, 0x3a
jne 0x4cec36
cmp al, 0x5c
jne 0x4cec36
push 0x3a
movsx eax, cl
push eax
push str._c_c
push ebx
call fcn.00401500
add esp, 0x10
jmp 0x4ceca1
cmp cl, 0x5c
jne 0x4cec91
cmp dl, cl
jne 0x4cec91
cmp al, 0x3f
je 0x4cec91
push 0x30c
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004326b0
add esp, 0xc
lea ecx, [ebp - 0x316]
mov edx, 0x5c
push 0xffffffffffffffff
call fcn.004f58d0
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.00432810
add esp, 0xc
lea eax, [ebp - 0x628]
jmp 0x4cec97
lea eax, [ebp - 0x318]
push eax
push ebx
call fcn.004f5eb0
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.004276a9
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 0x4ced37
mov edi, dword [ebp - 0x630]
add edi, 0x30c
nop
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x4ced01
cmp eax, 2
jne 0x4ced21
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.00401500
add esp, 0x10
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x4ced21
cmp word [esi], ax
jne 0x4cecf0
mov eax, dword [ebp - 0x62c]
push eax
call fcn.00427666
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00427655
mov esp, ebp
pop ebp
ret
Function at 0x4ceff0
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 0x4cf1b5
push edi
push 0x24
call fcn.0042766b
push 0x30c
mov edi, eax
call fcn.004276a9
push 0x30c
mov dword [edi], eax
call fcn.004276a9
push 0x30c
mov dword [edi + 4], eax
call fcn.004276a9
push 0x30c
mov dword [edi + 8], eax
call fcn.004276a9
push 0x30c
mov dword [edi + 0xc], eax
call fcn.004276a9
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.004ced60
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.004f5eb0
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.004c3fb0
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.004c3fb0
mov eax, dword [0x56cac4]
add esp, 8
mov edx, dword [ebx + 4]
mov ecx, dword [edi + 0xc]
push dword [eax + esi*4]
push 1
call fcn.004c3fb0
mov eax, dword [0x56cab0]
push dword [eax + esi*4]
push dword [edi + 0x10]
call fcn.004f5eb0
add esp, 0x14
lea eax, [edi + 0x20]
push eax
push 0
push edi
push 0x4ce200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4cf17a
push 0xc
call fcn.0042766b
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 0x4cf112
sub eax, edx
inc eax
push eax
call fcn.004276a9
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 0x4cf130
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.004276a9
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [0x56cabc]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
push dword [eax + ecx]
push dword [esi]
call fcn.004f5eb0
push dword [edi + 4]
push dword [esi + 4]
call fcn.004f5eb0
add esp, 0x14
mov dword [0x56cabc], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi]
call fcn.00427666
push dword [edi + 4]
call fcn.00427666
push dword [edi + 8]
call fcn.00427666
push dword [edi + 0xc]
call fcn.00427666
push dword [edi + 0x10]
call fcn.00427666
push 0x24
push edi
call fcn.0042769b
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 0x4cf6f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov eax, dword [0x5522f8]
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.004c3430
add esp, 4
test eax, eax
je 0x4cf841
nop dword [eax]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x928]
push eax
call fcn.004f5d20
add esp, 8
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cf795
test al, 0x10
je 0x4cf857
mov esi, dword [edi + 4]
test esi, esi
je 0x4cf823
nop dword [eax + eax]
lea eax, [ebp - 0x310]
push eax
push dword [esi]
call fcn.004f5ed0
add esp, 8
test eax, eax
je 0x4cf821
mov esi, dword [esi + 8]
test esi, esi
jne 0x4cf770
jmp 0x4cf823
test ebx, ebx
jle 0x4cf857
push 0
lea eax, [ebp - 0x928]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4cf857
push 0xc
call fcn.0042766b
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 0x4cf7d0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.004276a9
lea ecx, [ebp - 0x310]
mov dword [esi], eax
push ecx
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004f5eb0
mov ecx, dword [edi + 4]
add esp, 0xc
test ecx, ecx
jne 0x4cf80e
mov dword [edi + 4], esi
jmp 0x4cf821
mov eax, dword [ecx + 8]
test eax, eax
je 0x4cf81e
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4cf815
mov dword [ecx + 8], esi
mov edi, esi
mov edx, dword [ebp - 0x92c]
lea ecx, [ebp - 0x310]
inc ebx
push ebx
call fcn.004c3430
add esp, 4
test eax, eax
jne 0x4cf730
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427655
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.00427655
mov esp, ebp
pop ebp
ret
Function at 0x4cf870
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513f6c
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.004282c0
mov eax, dword [0x5522f8]
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.004f5150
lea ecx, [ebp - 0x2010]
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf8c3
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.004f5d20
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.004f5d20
lea ecx, [ebp - 0x2010]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf936
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.004276a9
mov esi, eax
mov dword [ebp - 0x201c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2010]
push eax
push 0x536334
push esi
call fcn.004041f0
mov ecx, esi
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf987
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 0x4cf9c8
push esi
call fcn.00427666
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.00427655
mov esp, ebp
pop ebp
ret

Function at 0x4d0080
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5522f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 8]
test esi, esi
je 0x4d00c5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 4]
lea eax, [ebp - 0x61c]
push eax
call fcn.004f5d20
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call edi
mov esi, dword [esi + 8]
test esi, esi
jne 0x4d00a2
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00427655
mov esp, ebp
pop ebp
ret
Function at 0x4d00e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5522f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, 1
test edi, edi
je 0x4d0187
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4d0118
call fcn.004d00e0
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4d0135
test esi, esi
je 0x4d0133
call fcn.004d00e0
test eax, eax
je 0x4d0133
mov esi, 1
jmp 0x4d0135
xor esi, esi
mov eax, dword [edi]
test eax, eax
je 0x4d0187
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004f5d20
add esp, 8
test esi, esi
je 0x4d0175
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4d0175
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427655
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427655
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00427655
mov esp, ebp
pop ebp
ret

Function at 0x4d01a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x5522f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ecx]
push esi
xor esi, esi
cmp bl, 0x41
jl 0x4d01c3
cmp bl, 0x5a
jle 0x4d01ca
lea eax, [ebx - 0x61]
cmp al, 0x19
ja 0x4d020e
cmp byte [ecx + 1], 0x3a
jne 0x4d020e
push 0x308
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x310], 0x5c3a41
push 0
push eax
call fcn.004326b0
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.00427655
mov esp, ebp
pop ebp
ret
Function at 0x4edd60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5522f8]
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 0x4eddf2
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 0x4edde6
cmp dword [ebp - 0x210], 1
jne 0x4edde6
lea eax, [ebp - 0x204]
push eax
call fcn.0043a426
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.00427655
mov esp, ebp
pop ebp
ret

Function at 0x4efa70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514689
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5522f8]
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 0x4efb52
nop word [eax + eax]
push 0x1c
call fcn.0042766b
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.00434bbe
xor edx, edx
div ebx
mov eax, dword [esi + 0x1c]
add eax, edx
mov dword [edi + 0x10], eax
call fcn.00434bbe
cdq
mov ecx, 0x64
idiv ecx
mov eax, dword [esi + 0x20]
sub eax, edx
mov dword [edi + 0x14], eax
call fcn.00434bbe
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.0040a970
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [esi + 0x50]
jl 0x4efac0
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 0x4efc00
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
call fcn.004efbb0
mov ecx, esi
pop esi
jmp fcn.004efa70
Function at 0x4effa0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5146cf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5522f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0040a930
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.0050bf30
mulsd xmm0, qword [0x53c380]
cvttsd2si esi, xmm0
xorps xmm0, xmm0
mov dword [edi + 0x90], esi
call fcn.0050b800
mulsd xmm0, qword [0x53c380]
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 0x4f19c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5522f8]
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 0x4f1a4e
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4f1a45
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 0x4f1a43
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4f1a43
lea esi, [eax + 1]
jmp 0x4f1a45
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.00427655
mov esp, ebp
pop ebp
ret
Function at 0x4f1f10
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.004c80d0
mov ecx, dword [edi + 0x10]
call fcn.004f1c30
push dword [edi + 0x14]
call fcn.004276a9
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 0x4f1f79
sub eax, esi
mov dword [ebp - 0xc], eax
nop
call fcn.004f1c40
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 0x4f1f50
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp word [edx + 0x1c], cx
jne 0x4f1f88
cmp word [edx + 0x1e], bx
je 0x4f1fa1
push eax
call fcn.00427666
add esp, 4
xor esi, esi
call fcn.004c80c0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 8]
call fcn.004c80c0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f1fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5522f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.004c80d0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 6]
call fcn.004f1c30
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 0x4f2028
call fcn.004f1c40
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 0x4f2002
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.004c80c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427655
mov esp, ebp
pop ebp
ret

Function at 0x4f66b0
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.0042766b
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x4f6500
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.00438d80
add esp, 0x10
cmp eax, 0xffffffff
je 0x4f670a
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.0042769b
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4f7910
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514a75
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5522f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x78
call fcn.0042766b
mov esi, eax
push 0x74
push 0
lea edx, [esi + 4]
push edx
call fcn.004326b0
mov ecx, dword [0x5b500c]
add esp, 0x10
inc ecx
mov dword [0x5b500c], 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 0x4f7120
push 0
push 0
mov dword [esi + 0x24], 0
call fcn.00438e0e
add esp, 0x18
test eax, eax
je 0x4f7a0b
push 0x160
mov dword [esi + 0x6c], eax
call fcn.0042766b
mov edx, eax
add esp, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov ecx, dword [0x56ab28]
call fcn.0049b010
push eax
mov ecx, edx
call fcn.004b27c0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x70], eax
mov eax, dword [0x5b5010]
mov dword [esi + 0x74], eax
mov dword [0x5b5010], 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.0042769b
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 0x4fa360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514c91
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5522f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.0042766b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.004a8ae0
mov dword [ebp - 4], 0xffffffff
mov dword [0x5b50d4], eax
call fcn.0044c980
push 0xfa0
push 0x5b5074
mov dword [0x5b50b4], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 0
push 0x4f9d20
mov dword [0x5b508c], 1
call fcn.00438d80
add esp, 0xc
cmp eax, 0xffffffff
je 0x4fa3f7
push 1
push eax
mov dword [0x5b5100], 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