joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401170
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
lea ecx, [esp]
push ebx
xor ebx, ebx
push eax
push ecx
push ebx
push 0xf003f
push ebx
push 0x408570
push ebx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40120d
mov ecx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push ebx
push str.PureAudio
push ecx
call esi
test eax, eax
je 0x4011c7
mov ebx, 0xc8
cmp dword [esp + 0x18], 1
jne 0x4011df
call fcn.00401220
test eax, eax
mov dword [esp + 0x14], 1
jne 0x4011e7
mov dword [esp + 0x14], 0
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.DSDA
push eax
call esi
test eax, eax
pop esi
je 0x401217
mov eax, 0xc9
pop ebx
add esp, 8
ret
mov eax, 0x12c
pop ebx
add esp, 8
ret
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x401220
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
push esi
push eax
xor esi, esi
push str.SoftwareAndrea_ElectronicsDriverSettings
push 0x80000002
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40127e
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push str.SBArray_Installed
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401273
mov esi, dword [esp + 4]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x402225
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406190
cmp edx, dword [eax]
je 0x402247
add eax, 8
inc ecx
cmp eax, 0x406220
jl 0x402238
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406190]
jne 0x402375
mov eax, dword [0x408584]
cmp eax, 1
je 0x40234f
test eax, eax
jne 0x402278
cmp dword [0x4060e0], 1
je 0x40234f
cmp edx, 0xfc
je 0x402375
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4022af
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402810
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004029c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4022f2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004029c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053e8
push edi
call fcn.00404060
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402810
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402820
lea eax, [ebp - 0xa0]
push 0x4053c8
push eax
call fcn.00402820
push dword [esi + 0x406194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402820
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403fd4
add esp, 0x2c
pop edi
jmp 0x402375
lea eax, [ebp + 8]
lea esi, [esi + 0x406194]
push 0
push eax
push dword [esi]
call fcn.004029c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x100010a0
Capabilities:
Execute command

Disassembly:
push str.calc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov eax, 1
ret

Function at 0x10001935
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x1000196a
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x10001967
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x10001973
add edx, 0x28
cmp edx, esi
jne 0x10001955
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x10001970
Function at 0x1002a3a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0x101a7350
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x1002a3d9
mov dword [ebp - 0x14], 1
jmp 0x1002a3e0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x1002a417
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
jmp 0x1002a3bb
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x1002a420
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x101a7350
cmp dword [ebp + 0xc], 0
je 0x1002a4ef
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x14], 0
je 0x1002a469
mov dword [ebp - 0x18], 1
jmp 0x1002a470
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x1002a4ed
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 0x19], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 0x19]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
cmp eax, 0x23
jne 0x1002a4ca
cmp dword [ebp + 0xc], 2
jb 0x1002a4ca
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x1002a4ca
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x1002a4ca
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, dword [ebp - 4]
and ecx, 0xff
movzx edx, byte [ebp - 0xd]
xor ecx, edx
mov edx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x1002a44b
jmp 0x1002a564
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x1a], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 0x1a]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x1002a564
movzx edx, byte [ebp - 0xe]
cmp edx, 0x23
jne 0x1002a545
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x1002a545
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x1002a545
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, dword [ebp - 4]
and eax, 0xff
movzx ecx, byte [ebp - 0xe]
xor eax, ecx
mov ecx, dword [ebp - 0xc]
xor edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
jmp 0x1002a4ef
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x1002b860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1010d250
add esp, 0x10
xor edx, edx
cmp ebp, esp
call fcn.100f3210
pop ebp
ret
Function at 0x10099bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x102cb4bc]
mov dword [ebp - 4], eax
jmp 0x10099be7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10099c00
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10099bfe
mov eax, dword [ebp - 4]
jmp 0x10099c84
jmp 0x10099bdf
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100f3210
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10099c81
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10099c43
mov edx, dword [ebp - 4]
mov eax, dword [0x102cb4bc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x102cb4bc], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret
Function at 0x1009b760
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101f3540]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1009b8dd
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1009b8c9
cmp dword [ebp - 0x28], 0x10
jb 0x1009b8ad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100f3210
cmp dword [ebp - 0x1c], eax
jne 0x1009b8ad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100f3210
cmp dword [ebp - 0x20], eax
je 0x1009b8ad
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1009b834
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x101f8d8c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100f3210
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1009b832
jmp 0x1009b8c9
jmp 0x1009b88d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1009b88d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101f8d8c]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100f3210
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1009b877
jmp 0x1009b8c9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1009b7b3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100f3210
nop
push edx
mov ecx, ebp
push eax
lea edx, [0x1009b908]
call fcn.100f31b0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f3240
add esp, 0x30
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret
Function at 0x1009b920
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1009b760
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1009b9ec
mov dword [ebp - 4], 0
jmp 0x1009b97c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1009b9ec
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100f3210
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009b9ea
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100f3210
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1009b580
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100f3210
nop
jmp 0x1009b973
pop esi
add esp, 8
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret

Function at 0x1009ba00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1009baad
mov dword [ebp - 4], 0
jmp 0x1009ba33
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1009ba8f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100f3210
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009ba8d
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100f3210
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100f3210
nop
jmp 0x1009ba2a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x101f8d8c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100f3210
nop
pop esi
add esp, 8
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret
Function at 0x1009bac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x102cb4b0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1009bb23
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100f3210
test eax, eax
jne 0x1009bb4e
mov eax, 0xa
jmp 0x1009bc50
cmp dword [ebp + 0xc], 0
je 0x1009bb9a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x1009bb98
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x1009bbd6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1009bbc1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.100f7980
add esp, 0xc
jmp 0x1009bbd6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.100f7980
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100f3210
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100f3210
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100f3210
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1009bc74]
call fcn.100f31b0
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret
Function at 0x1009c560
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x1009c5a9
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x1009c5a9
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x1009c5a9
xor eax, eax
jmp 0x1009c5ea
mov dword [ebp - 4], 1
jmp 0x1009c5bb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1009c5e5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x1009c5e3
xor eax, eax
jmp 0x1009c5ea
jmp 0x1009c5b2
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1009c5f0
Capabilities:
Contain obfuscated stackstrings
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101f3540]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x8000
push 0x101c4a60
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jl 0x1009c6f0
push str..qo0_
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1009e500
add esp, 8
push eax
call fcn.1009e440
add esp, 8
mov byte [ebp - 5], 1
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.100f3210
test eax, eax
jne 0x1009c6f0
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.100f3210
cmp eax, 0xb7
je 0x1009c6f0
mov byte [ebp - 0x24], 0x5b
mov byte [ebp - 0x23], 0x63
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x2e
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x70
mov byte [ebp - 0x1b], 0x3a
mov byte [ebp - 0x1a], 0x35
mov byte [ebp - 0x19], 0x30
mov byte [ebp - 0x18], 0x5d
mov byte [ebp - 0x17], 0x20
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x24]
call fcn.100a1030
push eax
push 3
mov ecx, 0x101f3514
call fcn.100efb60
mov dword [ebp - 0x28], eax
push str.failed_to_create_default_working_directory__because_one_or_more_intermediate_directories_dont_exist
mov ecx, dword [ebp - 0x28]
call fcn.100effb0
nop
mov byte [ebp - 5], 0
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp esi, esp
call fcn.100f3210
movzx eax, byte [ebp - 5]
push edx
mov ecx, ebp
push eax
lea edx, [0x1009c734]
call fcn.100f31b0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f3240
add esp, 0x28
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret
Function at 0x1009d730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
cmp dword [ebp + 0xc], 0
jne 0x1009d748
call fcn.1009d640
nop
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100f54c0
test eax, eax
jne 0x1009d764
xor eax, eax
jmp 0x1009d819
cmp dword [ebp + 0xc], 1
jne 0x1009d814
push 0
call fcn.100f0700
add esp, 4
mov dword [0x101f8d90], eax
cmp dword [0x101f8d90], 0
jne 0x1009d78d
xor eax, eax
jmp 0x1009d819
push str.serverbrowser.dll
call fcn.100f0700
add esp, 4
test eax, eax
je 0x1009d7af
push 0x101ace60
call fcn.100f0700
add esp, 4
test eax, eax
jne 0x1009d7b3
xor eax, eax
jmp 0x1009d819
mov eax, dword [ebp + 8]
mov dword [0x101f8d94], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1009c760
add esp, 4
movzx edx, al
test edx, edx
jne 0x1009d7d7
call fcn.1009d640
xor eax, eax
jmp 0x1009d819
mov esi, esp
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x1009d6d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.100f3210
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1009d814
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100f3210
nop
mov eax, 1
pop esi
add esp, 4
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100a2420
Capabilities:
Contain obfuscated stackstrings
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
lea edi, [ebp - 0x48]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101f3540]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x101f90f0
call fcn.1009c5f0
add esp, 4
movzx eax, al
test eax, eax
jne 0x100a245c
xor al, al
jmp 0x100a257e
push str.settings_
push 0x101f90f0
call fcn.1009e440
add esp, 8
mov esi, esp
push 0
push 0x101f90f0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.100f3210
test eax, eax
jne 0x100a2514
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.100f3210
cmp eax, 0xb7
je 0x100a2514
mov byte [ebp - 0x18], 0x5b
mov byte [ebp - 0x17], 0x63
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x66
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x67
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0x10], 0x63
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0xd], 0x3a
mov byte [ebp - 0xc], 0x31
mov byte [ebp - 0xb], 0x30
mov byte [ebp - 0xa], 0x38
mov byte [ebp - 9], 0x5d
mov byte [ebp - 8], 0x20
mov byte [ebp - 7], 0
lea ecx, [ebp - 0x18]
call fcn.100a5890
push eax
push 3
mov ecx, 0x101f3514
call fcn.100efb60
mov dword [ebp - 0x48], eax
push str.failed_to_create_configurations_directory__because_one_or_more_intermediate_directories_dont_exist
mov ecx, dword [ebp - 0x48]
call fcn.100effb0
nop
xor al, al
jmp 0x100a257e
push 8
push 0xf0981eeb
push 0x43b24f
lea ecx, [ebp - 0x3c]
call fcn.100a3580
push 0xc
push 0x95e97e5e
push 0xe9ea17ae
lea ecx, [ebp - 0x2c]
call fcn.100a3620
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x44]
call fcn.100a5260
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
push 0xd5cb340
call fcn.100a2810
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.100a2b60
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x100a2577
xor al, al
jmp 0x100a257e
call fcn.100a25a0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f3240
add esp, 0x48
cmp ebp, esp
call fcn.100f3210
mov esp, ebp
pop ebp
ret