joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4094fe
sub esp, 0xc
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp eax, ebp
je 0x4094ec
mov ebp, dword [eax]
cmp ebp, 0
je 0x4094ec
movzx ebp, byte [eax + 4]
mov ebx, ebp
and ebx, 4
cmp bl, 0
je 0x4093b9
mov ebx, 0x5f6d7f
mov dword [esp], ebx
mov dword [esp + 4], 0x21
call fcn.00429650
mov eax, dword [esp + 0x14]
movzx ebp, byte [eax + 5]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x40944a
mov ecx, dword [eax + 0xc]
xor eax, eax
cmp eax, 8
jae 0x4093ee
mov esi, eax
shl esi, 2
add esi, 8
mov ebx, ecx
add ebx, esi
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x18]
cmp ebx, ebp
je 0x409419
inc eax
cmp eax, 8
jb 0x4093d2
mov eax, dword [esp + 0x10]
movzx ebp, word [eax + 0x34]
mov eax, ebp
sub eax, 4
mov ebx, ecx
add ebx, eax
mov ecx, dword [ebx]
xor ebp, ebp
cmp ecx, ebp
jne 0x4093cb
mov ebx, 0x6d0660
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], 0
add esp, 0xc
ret
mov ebx, ecx
add ebx, eax
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
je 0x4093e8
mov ebx, dword [esp + 0x10]
movzx ebp, byte [ebx + 0x32]
mov ebx, ebp
imul ebx, eax
add ebx, 0x28
mov eax, ebx
mov ebx, ecx
add ebx, eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], 1
add esp, 0xc
ret
lea ebx, [esp + 0x18]
xor ebx, 0
mov dword [esp], ebx
mov ebp, dword [eax + 8]
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebx + 0x20]
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov ebx, dword [edx]
call ebx
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 8]
movzx ecx, byte [edi + 5]
mov ebx, 1
cmp cl, 0x20
jae 0x4094e8
shl ebx, cl
dec ebx
mov edx, ebx
mov eax, esi
and eax, ebx
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
imul eax, ebp
mov ecx, dword [edi + 0xc]
add ecx, eax
mov eax, dword [edi + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x4093cb
shr edx, 1
and edx, esi
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
mov ebx, ebp
mov ebp, edx
imul ebp, ebx
mov edx, eax
add edx, ebp
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jbe 0x4094e4
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jae 0x4094e4
mov eax, 1
cmp al, 0
jne 0x4093cb
mov ecx, edx
jmp 0x4093cb
xor eax, eax
jmp 0x4094d4
xor ebx, ebx
jmp 0x409481
mov ebx, 0x6d0660
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], 0
add esp, 0xc
ret
call fcn.0044ff60
jmp fcn.00409360
Function at 0x409510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4096a2
sub esp, 0xc
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp eax, ebp
je 0x409695
mov ebp, dword [eax]
cmp ebp, 0
je 0x409695
movzx ebp, byte [eax + 4]
mov ebx, ebp
and ebx, 4
cmp bl, 0
je 0x409569
mov ebx, 0x5f6d7f
mov dword [esp], ebx
mov dword [esp + 4], 0x21
call fcn.00429650
mov eax, dword [esp + 0x14]
movzx ebp, byte [eax + 5]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x4095f3
mov edx, dword [eax + 0xc]
xor ecx, ecx
cmp ecx, 8
jae 0x4095a1
mov esi, ecx
shl esi, 3
add esi, 8
mov ebx, edx
add ebx, esi
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
cmp eax, dword [esp + 0x1c]
jne 0x40959b
cmp esi, dword [esp + 0x18]
je 0x4095c7
inc ecx
cmp ecx, 8
jb 0x40957e
mov eax, dword [esp + 0x10]
movzx ebp, word [eax + 0x34]
mov eax, ebp
sub eax, 4
mov ebx, edx
add ebx, eax
mov edx, dword [ebx]
xor ebp, ebp
cmp edx, ebp
jne 0x409577
mov ebx, 0x6d0660
mov dword [esp + 0x20], ebx
add esp, 0xc
ret
mov ebx, edx
add ebx, ecx
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
je 0x40959b
mov eax, edx
mov ebx, dword [esp + 0x10]
movzx ebp, byte [ebx + 0x32]
mov edx, ebp
imul edx, ecx
add edx, 0x48
mov ebx, eax
add ebx, edx
mov dword [esp + 0x20], ebx
add esp, 0xc
ret
lea ebx, [esp + 0x18]
xor ebx, 0
mov dword [esp], ebx
mov ebp, dword [eax + 8]
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebx + 0x20]
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov ebx, dword [edx]
call ebx
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 8]
movzx ecx, byte [edi + 5]
mov ebx, 1
cmp cl, 0x20
jae 0x409691
shl ebx, cl
dec ebx
mov ecx, ebx
mov eax, esi
and eax, ebx
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
imul eax, ebp
mov edx, dword [edi + 0xc]
add edx, eax
mov eax, dword [edi + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x409577
shr ecx, 1
and ecx, esi
mov ebx, dword [esp + 0x10]
movzx ebp, word [ebx + 0x34]
mov ebx, ebp
mov ebp, ecx
imul ebp, ebx
mov ecx, eax
add ecx, ebp
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jbe 0x40968d
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jae 0x40968d
mov eax, 1
cmp al, 0
jne 0x409577
mov edx, ecx
jmp 0x409577
xor eax, eax
jmp 0x40967d
xor ebx, ebx
jmp 0x40962a
mov ebx, 0x6d0660
mov dword [esp + 0x20], ebx
add esp, 0xc
ret
call fcn.0044ff60
jmp fcn.00409510
Function at 0x441fe0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4421cf
sub esp, 0x3c
mov edi, dword [esp + 0x40]
mov ecx, dword [edi + 4]
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0xe9
xchg ebp, eax
jne 0x442027
mov ebp, dword [edi + 4]
add ebp, 5
mov dword [esp + 0xc], ebp
mov esi, ecx
inc esi
mov eax, dword [esi]
cdq
mov ebx, dword [esp + 0xc]
add ebx, eax
mov dword [edi + 4], ebx
add esp, 0x3c
ret
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0xeb
xchg ebp, eax
jne 0x442052
mov ebp, dword [edi + 4]
add ebp, 2
mov dword [esp + 8], ebp
mov eax, ecx
inc eax
movzx eax, byte [eax]
movsx eax, al
cdq
mov ebx, dword [esp + 8]
add ebx, eax
mov dword [edi + 4], ebx
add esp, 0x3c
ret
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0xcc
xchg ebp, eax
jne 0x442060
add esp, 0x3c
ret
movzx ebp, byte [ecx]
xor edx, edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
movzx ebp, byte [ecx + 1]
xor edx, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
movzx ebp, byte [ecx + 2]
xor edx, edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
movzx ebp, byte [ecx + 3]
xor edx, edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], ecx
movzx ebp, byte [ecx + 4]
xor ecx, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
call fcn.00429e30
mov ebx, 0x5f0437
mov dword [esp], ebx
mov dword [esp + 4], 0xc
call fcn.0042a840
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
call fcn.0042a800
mov ebx, 0x5ee264
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042a840
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0042a6d0
mov ebx, 0x5ee264
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042a840
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0042a6d0
mov ebx, 0x5ee264
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042a840
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0042a6d0
mov ebx, 0x5ee264
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042a840
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.0042a6d0
mov ebx, 0x5ee264
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042a840
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0042a6d0
mov ebx, 0x5ee286
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.0042a840
call fcn.00429eb0
mov ebx, 0x5f748a
mov dword [esp], ebx
mov dword [esp + 4], 0x22
call fcn.00429650
add esp, 0x3c
ret
call fcn.0044ff60
jmp fcn.00441fe0
Function at 0x406780
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5905f1
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x612120]
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, ecx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov edx, dword [0x61e034]
test edx, edx
jne 0x406920
lea ecx, [ebp - 0x88]
call fcn.00406630
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x40682a
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40680f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004032e0
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00403270
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x406849
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004032e0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x74], 0xf
sete al
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
test al, al
jne 0x406887
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402e50
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x406967
inc ecx
push ecx
jmp 0x40695c
mov edx, dword [0x61e034]
test edx, edx
jne 0x406920
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
lea ecx, [ebp - 0x70]
call fcn.004053f0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
sete al
test al, al
jne 0x4068c4
push 1
push 0x5e8340
lea ecx, [ebp - 0x28]
call fcn.00406b10
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x70]
call fcn.004027a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00403170
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x406903
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004032e0
lea ecx, [ebp - 0x28]
call fcn.00406460
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402e50
lea ecx, [ebp - 0x70]
call fcn.00402b00
jmp 0x406952
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x40693a
xor ecx, ecx
jmp 0x406949
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406940
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00402cd0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x406967
inc eax
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004032e0
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.00564ee1
mov esp, ebp
pop ebp
ret
Function at 0x40ed20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x1000
call fcn.00438100
push 0x208
mov ebx, eax
call fcn.00438100
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x40edf3
lea eax, [ebp - 8]
push eax
push 0x1000
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x40edf3
mov eax, dword [ebp - 8]
shr eax, 2
push esi
xor esi, esi
mov dword [ebp - 8], eax
test eax, eax
je 0x40edf2
push edi
nop word [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40eddc
push 0x104
push dword [ebp - 0xc]
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
test eax, eax
je 0x40edd5
push str.Creative_Cloud.exe
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40edd5
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + esi*4]
jne 0x40ede4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x40ed90
jmp 0x40edf1
mov eax, dword [ebx + esi*4]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
push ebx
call fcn.00438109
push dword [ebp - 0xc]
call fcn.00438109
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
Function at 0x4142f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591b3a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x612120]
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, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00563347
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4143b0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00567a61
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x60d1bc
push eax
call fcn.00567ae3
push edi
push esi
call fcn.0056368f
add esp, 8
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.00564ee1
mov esp, ebp
pop ebp
ret 4
Function at 0x41e9e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41e9f5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41ea36
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41ea32
nop word [eax + eax]
cmp esi, edx
jae 0x41ea36
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41ea20
cmp esi, edx
jb 0x41ea3b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x41f460
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x234], ecx
push esi
push 0xf
mov dword [ebp - 0x238], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41f4fa
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov ecx, dword [ebp - 0x234]
call fcn.00407130
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41f4eb
mov edx, dword [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.0041f370
add esp, 4
test al, al
je 0x41f4eb
inc esi
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x41f4b4
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
Function at 0x41f8e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0x101
push eax
lea eax, [ebp - 0x208]
mov esi, ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x41f97f
cmp word [ebp - 0x208], 0
jne 0x41f944
xor ecx, ecx
lea eax, [ebp - 0x208]
push ecx
push eax
mov ecx, esi
call fcn.004081c0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x208]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f950
sub ecx, edx
lea eax, [ebp - 0x208]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004081c0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00564ee1
mov esp, ebp
pop ebp
ret

Function at 0x41fa60
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x612120]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41fab1
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x41fac2
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 4]
push 0
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
test eax, eax
je 0x41faab
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov al, 1
xor ecx, esp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret

Function at 0x429380
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
add ecx, 0x4c
mov word [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ecx + 0x14], 8
jb 0x4293a8
mov ecx, dword [ecx]
push 0x5ecbb8
push ecx
lea eax, [ebp - 0xc]
push eax
call fcn.005705ca
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
je 0x429415
push eax
push 2
lea eax, [ebp - 8]
push 1
push eax
call fcn.00571c0d
push dword [ebp - 0xc]
call fcn.00570687
mov cl, byte [ebp - 8]
add esp, 0x14
mov al, byte [ebp - 7]
cmp cl, 0xff
jne 0x4293e9
cmp al, 0xfe
je 0x4293f2
cmp al, 0xff
jne 0x429405
cmp cl, 0xfe
jne 0x429405
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
Function at 0x42b110
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5935e0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x612120]
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
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x4c]
mov dword [ebp - 0x18], 0
push esi
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.00407320
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0042fda0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0042fbd0
lea eax, [ebp - 0x58]
mov edx, 0x5e98a4
push eax
lea ecx, [ebp - 0x70]
call fcn.00418cd0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040eaa0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x42b1c9
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407210
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00430030
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0042fe30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x42b255
cmp dword [esi + 0x10], 0
je 0x42b255
cmp dword [ebp - 0x18], 0
je 0x42b255
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x42b22c
mov esi, dword [esi]
push eax
push esi
call fcn.005773fe
add esp, 8
test eax, eax
jne 0x42b255
lea ecx, [edi + 0xd4]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x42b251
push 0xffffffffffffffff
push 0
push eax
call fcn.00407320
mov bl, 1
jmp 0x42b257
xor bl, bl
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42b26c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407210
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x42b295
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407210
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x42b2be
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407210
mov al, bl
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.00564ee1
mov esp, ebp
pop ebp
ret
Function at 0x4301d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00565bc0
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
xor edx, edx
cmp dword [ecx + 0x14], 8
push edi
mov dword [ebp - 0x2010], edx
jb 0x4301fc
mov ecx, dword [ecx]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ecx
call ebx
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x430221
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push esi
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430257
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax]
push 0
lea eax, [ebp - 0x2008]
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43029f
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4302a7
call esi
mov dword [ebp - 0x2010], eax
cmp dword [ebp - 0x2008], 0x1000
je 0x430260
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
mov edx, dword [ebp - 0x2010]
xor eax, eax
mov ecx, dword [ebp - 4]
test edx, edx
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
Function at 0x431940
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x43198e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x43198b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x43198b
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], 0
mov ecx, dword [ebp + 0x1c]
setne bl
cmp ecx, 8
jb 0x4319a6
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00407210
pop esi
mov al, bl
pop ebx
pop ebp
ret 0x18