joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b3c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5210f1
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x794]
lea eax, [ebp - 0x200]
mov ebx, dword [ebp + 8]
push eax
call fcn.00410d70
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x41b414
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x1ac], 7
mov dword [ebp - 0x1b0], 0
mov word [ebp - 0x1c0], ax
cmp word [edx], ax
jne 0x41b43a
xor ecx, ecx
jmp 0x41b44f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b440
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c0]
call fcn.00402a00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1ec]
cmp eax, 8
jb 0x41b47e
inc eax
lea ecx, [ebp - 0x200]
push eax
push dword [ebp - 0x200]
call fcn.00402e20
xor eax, eax
mov dword [ebp - 0x1ec], 7
mov dword [ebp - 0x1f0], 0
mov word [ebp - 0x200], ax
call fcn.004202a0
cmp dword [ebp - 0x1ac], 8
lea esi, [ebp - 0x1c0]
mov dword [ebp - 0x1e4], eax
cmovae esi, dword [ebp - 0x1c0]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41b4d2
push esi
call edi
test eax, eax
je 0x41b501
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x41b501
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov edi, 1
jmp 0x41b503
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - method.Utils::HardDiskManager.virtual_0], vtable.Utils::HardDiskManager.0
movlpd qword [ebp - 0x1d8], xmm0
movlpd qword [ebp - 0x1d0], xmm0
movlpd qword [ebp - 0x1c8], xmm0
push 0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1ac], 8
lea eax, [ebp - 0x1c0]
push 0
cmovae eax, dword [ebp - 0x1c0]
push 3
push ecx
push eax
call fcn.00502fab
add esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.004261e0
cmp dword [ebx + 0x24], 8
lea esi, [ebx + 0x10]
jb 0x41b575
mov esi, dword [esi]
push dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x1d4]
mov ecx, 0x5559f0
test edi, edi
mov eax, 0x5559e8
cmove eax, ecx
mov ecx, dword [ebp - 0x1d8]
push eax
call fcn.004dc360
xor edx, edx
movsd qword [ebp - 0x1e8], xmm0
mov ecx, 0x40000000
call fcn.004dc360
movsd xmm1, qword [ebp - 0x1e8]
sub esp, 8
divsd xmm1, xmm0
cvttsd2si eax, qword [ebx + 8]
movsd qword [esp], xmm1
push esi
push eax
push str.1.code_ld
lea eax, [ebp - 0x1a8]
push 0xc8
push eax
call fcn.0040e950
mov eax, dword [ebp - 0x1ac]
add esp, 0x24
mov dword [ebp - method.Utils::HardDiskManager.virtual_0], vtable.Utils::HardDiskManager.0
cmp eax, 8
jb 0x41b60c
inc eax
lea ecx, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1c0]
call fcn.00402e20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004db7a8
mov esp, ebp
pop ebp
ret 4
Function at 0x41b690
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov edi, ecx
call fcn.0041b850
mov ecx, edi
call fcn.0041b9b0
cmp dword [edi + 0x788], 1
jne 0x41b6ed
cmp dword [edi + 0x70c], 8
lea esi, [edi + 0x6f8]
jb 0x41b6c0
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b6ed
mov ecx, edi
call fcn.00467db0
mov ecx, eax
call fcn.0041fe90
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [edi + 0x78c]
test eax, eax
je 0x41b70b
push eax
push 0xa
lea ecx, [edi + 0x2c]
call fcn.0042dfc0
push eax
lea ecx, [edi + 0x2c]
call fcn.00432560
mov eax, dword [edi + 0x790]
test eax, eax
je 0x41b729
push eax
push 0xb
lea ecx, [edi + 0x2c]
call fcn.0042dfc0
push eax
lea ecx, [edi + 0x2c]
call fcn.00432560
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b850
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521158
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x73c], 8
lea esi, [edi + 0x728]
jb 0x41b890
mov ebx, dword [esi]
jmp 0x41b892
mov ebx, esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareXieLiSoftiRecorder
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b8e6
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b8c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push 0
push str.InstallPath
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x720], 0
jne 0x41b957
xor eax, eax
mov dword [ebp - 0x18], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00402b00
push 0xa
push str.uninst.ep
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00402c20
lea ecx, [edi + 0x710]
cmp ecx, eax
je 0x41b942
push 0xffffffffffffffff
push 0
push eax
call fcn.00402b00
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41b957
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402e20
cmp dword [edi + 0x724], 8
lea esi, [edi + 0x710]
jb 0x41b96a
mov eax, dword [esi]
jmp 0x41b96c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b98e
cmp dword [esi + 0x14], 8
jb 0x41b97f
mov esi, dword [esi]
push esi
push ecx
push str.UnInstallEp
call fcn.00426300
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004db7a8
mov esp, ebp
pop ebp
ret
Function at 0x41bce0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x70c], 8
lea esi, [edi + 0x6f8]
jb 0x41bcf5
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bd22
mov ecx, edi
call fcn.00467db0
mov ecx, eax
call fcn.0041fe90
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
ret
Function at 0x41ff30
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52162b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
jne 0x41ff9a
xor ecx, ecx
jmp 0x41ffb2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ffa3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402a00
push 0x1e
push 0x555ec4
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.00402c20
xor ecx, ecx
mov dword [ebp - 0x21c], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x230]
push eax
mov dword [ebp - 0x220], 0
call fcn.00402b00
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x420028
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402e20
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42006d
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42006d
lea esi, [eax + 1]
jmp 0x420092
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
push esi
call fcn.00507d75
add esp, 0xc
xor esi, esi
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x4200b0
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00402e20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004db7a8
mov esp, ebp
pop ebp
ret
Function at 0x420160
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov edx, ebx
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420180
sub edx, ecx
sar edx, 1
cmp edx, 0x104
jbe 0x4201a8
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004db7a8
mov esp, ebp
pop ebp
ret
push edi
mov edi, ebx
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4201b0
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
sub edi, ecx
push esi
push eax
sar edi, 1
call fcn.00489860
push 0x5c
push ebx
call fcn.00488f0e
add esp, 0x14
test eax, eax
je 0x420253
lea eax, [ebx + esi*2]
push 0x5c
push eax
call fcn.00488f0e
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4201f4
sub eax, edx
mov esi, edi
sar eax, 1
sub esi, eax
lea eax, [ebp - 0x20c]
inc esi
push esi
push ebx
push 0x104
push eax
call fcn.00507d6a
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420241
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42026e
lea eax, [ebx + esi*2]
push 0x5c
push eax
call fcn.00488f0e
add esp, 8
test eax, eax
jne 0x4201e3
cmp esi, edi
jge 0x420281
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420281
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x420281
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004db7a8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004db7a8
mov esp, ebp
pop ebp
ret
Function at 0x420900
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521756
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x4a8], edi
push 0
push 0x553c18
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x4ac], edi
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x420], 0
mov byte [ebp - 0x430], 0
call fcn.00404380
mov dword [ebp - 4], 0
cmp dword [esi + 0x10], 0
jne 0x4209a9
lea eax, [ebp - 0x430]
mov ecx, edi
push eax
call fcn.00405ad0
mov ecx, dword [ebp - 0x41c]
cmp ecx, 0x10
jb 0x420b86
inc ecx
push ecx
jmp 0x420b75
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x4a8], 0
jb 0x4209bf
mov esi, dword [esi]
push 0x5560c4
lea eax, [ebp - 0x4a8]
push esi
push eax
call fcn.004f91c4
add esp, 0xc
test eax, eax
jne 0x420b5a
mov esi, dword [ebp - 0x4a8]
test esi, esi
je 0x420b5a
push 0x400
push eax
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x49c], 0x67452301
mov dword [ebp - 0x498], 0xefcdab89
mov dword [ebp - 0x494], 0x98badcfe
mov dword [ebp - 0x490], 0x10325476
call fcn.00489860
push esi
push 0x400
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.004fcb5a
add esp, 0x1c
test eax, eax
jle 0x420a82
nop dword [eax + eax]
push eax
lea edx, [ebp - 0x414]
lea ecx, [ebp - 0x4a4]
call fcn.00422750
push dword [ebp - 0x4a8]
lea eax, [ebp - 0x414]
push 0x400
push 1
push eax
call fcn.004fcb5a
add esp, 0x14
test eax, eax
jg 0x420a50
lea ecx, [ebp - 0x4a4]
call fcn.00422810
xor eax, eax
mov byte [ebp - 0x418], 0
mov word [ebp - 0x417], ax
xor esi, esi
nop
cmp esi, 0x10
jge 0x420b4c
movzx eax, byte [ebp + esi - 0x44c]
push eax
push str._02x
lea eax, [ebp - 0x418]
push 3
push eax
call fcn.0040b000
add esp, 0x10
cmp byte [ebp - 0x418], 0
jne 0x420ae9
xor ecx, ecx
lea eax, [ebp - 0x418]
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.00406820
inc esi
jmp 0x420aa0
lea ecx, [ebp - 0x418]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420af2
sub ecx, edx
lea eax, [ebp - 0x418]
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.00406820
inc esi
jmp 0x420aa0
push dword [ebp - 0x4a8]
call fcn.004f9281
add esp, 4
lea eax, [ebp - 0x430]
mov ecx, edi
push eax
call fcn.00405ad0
mov eax, dword [ebp - 0x41c]
cmp eax, 0x10
jb 0x420b86
inc eax
push eax
push dword [ebp - 0x430]
lea ecx, [ebp - 0x430]
call fcn.004045b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db7a8
mov esp, ebp
pop ebp
ret
Function at 0x4226e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push esi
push edi
push eax
call fcn.004226a0
xor ecx, ecx
add esp, 4
mov edx, 2
lea edi, [eax + 2]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050456b
mov esi, eax
add esp, 4
test esi, esi
je 0x42273c
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push edi
push esi
call fcn.0040e910
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.004f8d96
add esp, 4
pop edi
pop esi
pop ecx
pop ebp
ret

Function at 0x423170
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
mov word [ebp - 0xc], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 8], eax
test eax, eax
je 0x4231d9
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004db7a8
mov esp, ebp
pop ebp
ret

Function at 0x423300
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 5
push eax
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
jne 0x423348
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004db7a8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
cmp word [edx], 0
jne 0x423355
xor ecx, ecx
jmp 0x423370
mov ecx, edx
push esi
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423360
sub ecx, esi
sar ecx, 1
pop esi
push ecx
push edx
mov ecx, edi
call fcn.00402a00
push dword [ebp - 0xc]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.004db7a8
mov esp, ebp
pop ebp
ret
Function at 0x423420
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
mov edi, ecx
push 0x400
push edi
call fcn.00507d75
add esp, 0xc
lea eax, [ebp - 0x50]
push 0x44
push 0
push eax
call fcn.00489860
or dword [ebp - 0x24], 0x101
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x50], 0x44
push 0
push 1
push dword [edi + 0x814]
call esi
mov eax, dword [edi + 0x810]
push 0
push 1
push dword [edi + 0x804]
mov dword [ebp - 0x14], eax
call esi
mov eax, dword [edi + 0x800]
push 0
push 1
push dword [edi + 0x820]
mov dword [ebp - 0x10], eax
call esi
mov eax, dword [edi + 0x824]
mov dword [ebp - 0x18], eax
xor eax, eax
mov word [ebp - 0x20], ax
lea eax, [edi + 0x830]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x423521
push dword [edi + 0x810]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [edi + 0x810], 0
push dword [edi + 0x800]
call esi
mov dword [edi + 0x800], 0
push dword [edi + 0x824]
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 0x824], 0
xor ecx, ebp
pop edi
pop esi
call fcn.004db7a8
mov esp, ebp
pop ebp
ret 0xc
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00423070
push 0x566304
lea eax, [ebp - 0x5c]
push eax
call fcn.00489d90
int3

Function at 0x423580
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521af8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x569434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x18], 0
jne 0x423637
push 0x11
xor eax, eax
mov dword [ebp - 0x10], 7
push 0x556150
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
call fcn.00402a00
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00403030
cmp dword [eax + 0x14], 8
jb 0x4235f1
mov eax, dword [eax]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x423614
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00402e20
cmp dword [esi + 0x18], 0
je 0x423637
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x423637
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4244f0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521c89
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x260]
lea eax, [ebp + 8]
mov dword [ebp - 0x24c], 7
push eax
mov dword [ebp - 0x250], 0
call fcn.00402b00
push 0xb
push str.config.ini
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.00402c20
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x424575
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [edx], ax
jne 0x42459b
xor ecx, ecx
jmp 0x4245af
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4245a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00402a00
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x4245da
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00402e20
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
mov dword [ebp - 0x234], 7
cmovae esi, dword [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424675
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x555bf8
push str.Language
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42464a
xor ecx, ecx
jmp 0x424662
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424653
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402a00
lea edx, [ebp - 0x248]
xor ecx, ecx
call fcn.00423b70
mov ecx, edi
mov esi, eax
call dword [0x556834]
mov ecx, eax
call dword [0x556838]
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x4246b2
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.00402e20
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x4246ed
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402e20
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x42471f
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00402e20
mov eax, esi
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.004db7a8
mov esp, ebp
pop ebp
ret
Function at 0x4261e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521e48
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
lea eax, [ecx + 0x18]
push eax
lea eax, [ecx + 0x10]
push eax
lea eax, [ecx + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4262d5
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x3e
xor eax, eax
mov dword [ebp - 0x24], 7
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.00402a00
push 0x2f
push str.HardDiskManager::CheckFreeSpace_FAIL_code_ld_r_n
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00402c20
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x426274
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
movzx eax, word [ebp - 0x12]
push 0x23
push str.Utils::HardDiskManager::CheckFreeSpace
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.004226e0
mov eax, dword [ebp - 0x24]
add esp, 0x34
cmp eax, 8
jb 0x4262d1
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00402e20
xor al, al
jmp 0x4262d7
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004db7a8
mov esp, ebp
pop ebp
ret 4

Function at 0x426300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x569434]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
push esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareXieLiSoftiRecorder
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42636d
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426342
sub eax, edx
sar eax, 1
add eax, eax
push eax
push edi
push 1
push 0
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove esi, ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004db7a8
mov esp, ebp
pop ebp
ret