joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
test ebx, ebx
jle 0x10005575
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000552a
mov eax, dword [ecx]
push edi
push 1
push 0x10055e20
call dword [eax + 0x58]
jmp 0x10005540
test edi, edi
je 0x10005540
push edi
push 1
push 1
push 0x10055e20
call fcn.10038174
add esp, 0x10
test esi, esi
je 0x10005570
push 1
mov ecx, esi
call fcn.1000aa80
test al, al
je 0x10005570
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0x14]
cmp ecx, 0x10055e20
je 0x10005566
mov al, byte [0x10055e20]
mov byte [ecx], al
inc dword [esi + 0x14]
mov ecx, esi
call fcn.1000ab40
sub ebx, 1
jne 0x10005514
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10

Function at 0x10005580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 8], ecx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100055a0
sub esi, ecx
lea eax, [esi*2 + 2]
call fcn.1004c120
mov ebx, esp
xor edx, edx
mov dword [ebp - 0xc], ebx
test esi, esi
js 0x100055e8
mov ecx, ebx
mov ebx, dword [ebp - 8]
mov al, byte [edx + edi]
cmp al, 0x22
je 0x100055d6
cmp byte [ebx + 0x11], 0
je 0x100055da
cmp al, 0x5c
jne 0x100055da
mov byte [ecx], 0x5c
inc ecx
mov al, byte [edx + edi]
inc edx
mov byte [ecx], al
inc ecx
cmp edx, esi
jle 0x100055c5
mov ebx, dword [ebp - 0xc]
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x100055f0
sub esi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000560c
push dword [ebp + 0xc]
mov eax, dword [ecx]
push esi
push ebx
call dword [eax + 0x58]
jmp 0x10005620
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10005620
push eax
push 1
push esi
push ebx
call fcn.10038174
add esp, 0x10
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10005656
test esi, esi
jle 0x10005656
push esi
mov ecx, edi
call fcn.1000aa80
test al, al
je 0x10005656
mov eax, dword [edi + 0x14]
add eax, dword [edi + 4]
cmp ebx, eax
je 0x1000564c
push esi
push ebx
push eax
call fcn.1004c210
add esp, 0xc
add dword [edi + 0x14], esi
mov ecx, edi
call fcn.1000ab40
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bc85
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10005670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x18]
test ecx, ecx
je 0x1000568f
push dword [ebp + 0xc]
mov eax, dword [ecx]
push edi
push ebx
call dword [eax + 0x58]
jmp 0x100056a3
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100056a3
push eax
push 1
push edi
push ebx
call fcn.10038174
add esp, 0x10
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100056d9
test edi, edi
jle 0x100056d9
push edi
mov ecx, esi
call fcn.1000aa80
test al, al
je 0x100056d9
mov eax, dword [esi + 0x14]
add eax, dword [esi + 4]
cmp ebx, eax
je 0x100056cf
push edi
push ebx
push eax
call fcn.1004c210
add esp, 0xc
add dword [esi + 0x14], edi
mov ecx, esi
call fcn.1000ab40
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x10008bc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d0fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1005d014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi], 0xffffffff
mov dword [esi + 0xc], 1
mov eax, dword [eax]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x34], 0xfffffffe
jne 0x10008c68
push 0x20d
mov edx, str.C:_build_partners_boostic_rungoldsrc_client_apprunmsvc....public_tier1_utlmemory.h
mov ecx, str.Assertion_failed__IsReadOnly__
call fcn.10003100
add esp, 4
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10009240
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x10009263
push 0x45
mov edx, str.C:_build_partners_boostic_rungoldsrc_client_apprunmsvc....public_tier1memstack.cpp
mov ecx, str.Assertion_failed__m_pBase
call fcn.10003100
add esp, 4
push ebx
push edi
lea eax, [ebp - 0x24]
mov dword [esi + 0x10], 0x400000
push eax
mov dword [esi + 0x14], 4
mov dword [esi + 0x18], 0x10000
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x20]
lea eax, [edi - 1]
test edi, eax
je 0x100092a5
push 0x57
mov edx, str.C:_build_partners_boostic_rungoldsrc_client_apprunmsvc....public_tier1memstack.cpp
mov ecx, str.Assertion_failed___sysInfo.dwPageSize___sysInfo.dwPageSize_1__
call fcn.10003100
mov edi, dword [ebp - 0x20]
add esp, 4
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x100092b1
mov dword [esi + 0x18], edi
jmp 0x100092c0
lea ecx, [eax - 1]
lea eax, [edi - 1]
add ecx, edi
not eax
and ecx, eax
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x18]
xor edx, edx
mov ebx, dword [esi + 0x10]
dec ebx
add ebx, ecx
lea eax, [ecx - 1]
not eax
and ebx, eax
mov eax, ebx
mov dword [esi + 0x10], ebx
div edi
test edx, edx
jne 0x100092e9
mov eax, ecx
div edi
test edx, edx
jne 0x100092e9
cmp ecx, ebx
jbe 0x100092fd
push 0x65
mov edx, str.C:_build_partners_boostic_rungoldsrc_client_apprunmsvc....public_tier1memstack.cpp
mov ecx, str.Assertion_failed_m_maxSize___pageSize__0__m_commitSize___pageSize__0__m_commitSize___m_maxSize
call fcn.10003100
add esp, 4
push 1
push 0x2000
push dword [esi + 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0xc], eax
pop edi
pop ebx
test eax, eax
jne 0x1000932c
push 0x68
mov edx, str.C:_build_partners_boostic_rungoldsrc_client_apprunmsvc....public_tier1memstack.cpp
mov ecx, str.Assertion_failed_m_pBase
call fcn.10003100
add esp, 4
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
add eax, ecx
mov dword [esi], ecx
test ecx, ecx
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
setne al
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000e430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov al, byte [ebx]
mov edi, 0xc870097
mov dword [ebp - 4], esi
test al, al
je 0x1000e482
nop dword [eax]
push 0
movsx eax, al
cdq
push 0x73992ade
push edx
push eax
call fcn.1004bdc0
mov ecx, edi
lea ebx, [ebx + 1]
shrd ecx, esi, 0x17
shr esi, 0x17
xor eax, ecx
xor edx, esi
mov esi, dword [ebp - 4]
add edi, eax
mov al, byte [ebx]
adc esi, edx
mov dword [ebp - 4], esi
test al, al
jne 0x1000e450
mov edx, edi
xor eax, eax
xor eax, edi
shl edx, 5
pop edi
xor edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010cb0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov esi, ecx
call fcn.1000ef10
mov ecx, esi
call fcn.1000efc0
mov ecx, esi
call fcn.100107d0
cmp byte [esi + 0x10], 0
je 0x10010cfc
lea ecx, [esi + 0x64]
call fcn.10012d30
cmp dword [esi + 0x140], 0
je 0x10010ced
cmp byte [esi + 0x6d], 0
je 0x10010cfc
mov ecx, esi
call fcn.1000eda0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x17c], 0
jg 0x10010dd3
cmp dword [esi + 0x154], 0
je 0x10010d1c
cmp byte [esi + 0x11], 0
je 0x10010e4a
mov eax, dword [esi + 0x1cc]
cmp eax, dword [esi + 0x1c8]
jne 0x10010e4a
mov eax, dword [0x10092e90]
or eax, dword [0x10092e94]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jne 0x10010d53
push 0x10092e90
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x10092e88
call edi
lea eax, [esp + 8]
push eax
call edi
mov ecx, dword [esp + 8]
sub ecx, dword [0x10092e88]
mov edx, dword [esp + 0xc]
sbb edx, dword [0x10092e8c]
call fcn.1004cae0
mov edx, dword [0x10092e94]
mov ecx, dword [0x10092e90]
movsd qword [esp + 8], xmm0
call fcn.1004cae0
cmp byte [esi + 0x11], 0
movsd xmm1, qword [esp + 8]
divsd xmm1, xmm0
movss xmm0, dword [esi + 0x1d0]
cvtpd2ps xmm1, xmm1
je 0x10010ddb
addss xmm0, dword [0x10058f38]
comiss xmm0, xmm1
jb 0x10010e4a
push 1
push 0x64
lea ecx, [esi + 0x64]
mov byte [esi + 0x15], 1
call fcn.10012f40
push 1
push 0x64
lea ecx, [esi + 0x64]
call fcn.10013070
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
addss xmm0, dword [0x10058f24]
comiss xmm1, xmm0
jbe 0x10010dd3
lea edi, [esi + 0x64]
mov byte [esi + 0x11], 1
mov eax, dword [edi + 4]
test eax, eax
je 0x10010e02
cmp eax, 1
je 0x10010e02
mov eax, 0x100562a0
jmp 0x10010e09
mov eax, dword [eax*4 + 0x10054728]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x3ef
push dword [edi + 0xdc]
call esi
movsd xmm3, qword [0x10058f58]
xorps xmm2, xmm2
push ecx
mov ecx, edi
call fcn.10012e60
push 0x100562a0
push 0x3f2
push dword [edi + 0xdc]
call esi
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10012c30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x9c
lea eax, [ebp - 0xa0]
mov edi, ecx
push 0
push eax
call fcn.1002e3f0
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10012ca1
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10012ca1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bc85
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x9c]
cmp eax, 6
ja 0x10012cb7
jne 0x10012cd2
cmp dword [ebp - 0x98], 0
jbe 0x10012cd2
lea eax, [edi + 0xb4]
push eax
push 0x100572b0
push 0x17
push 0
push 0x1004f3e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.1002bc85
mov esp, ebp
pop ebp
ret

Function at 0x10013ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push edi
mov edi, ecx
cmp eax, 8
je 0x10013f19
cmp eax, 0x14
jne 0x10013f3b
push 0
push 0
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ecx
pop ebp
ret 0x10
push 6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0xc
mov dword [edi + 0x9c], 0
mov ecx, edi
push dword [ebp + 8]
call fcn.10013c60
pop edi
pop ecx
pop ebp
ret 0x10
Function at 0x10014030
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0
mov edi, ecx
mov dword [ebp - 0x18], 0
call esi
push 1
mov dword [ebp - 0x1c], eax
call esi
push 0x1005409c
push str.Shell_TrayWnd
mov esi, eax
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0xc0]
sub eax, dword [edi + 0xb8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0xc4]
sub eax, dword [edi + 0xbc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
test ecx, ecx
jg 0x100140c6
test eax, eax
jg 0x100140ba
cmp edx, dword [ebp - 0x1c]
jl 0x100140d5
mov edx, dword [ebp - 8]
sub edx, ecx
xor ecx, ecx
jmp 0x100140db
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0x18], ecx
xor ecx, ecx
jmp 0x100140d9
test eax, eax
jg 0x100140d5
mov edi, dword [ebp - 8]
sub edi, ecx
xor ecx, ecx
xor edx, edx
jmp 0x100140dd
mov ecx, edx
sub ecx, eax
xor edx, edx
xor edi, edi
lea eax, [ecx - 8]
cmp dword [ebx + 8], eax
jl 0x100140f0
lea eax, [ecx + 8]
cmp dword [ebx + 8], eax
jg 0x100140f0
mov dword [ebx + 8], ecx
mov ecx, dword [ebx + 0xc]
cmp ecx, 0xfffffff8
jl 0x10014102
lea eax, [edx + 8]
cmp ecx, eax
jg 0x10014102
mov dword [ebx + 0xc], edx
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
sub edx, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [edx + 8]
cmp dword [ebp - 0x20], eax
jg 0x1001412c
lea eax, [edx - 8]
cmp dword [ebp - 0x20], eax
jl 0x1001412c
sub ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x18]
mov dword [ebx + 8], ecx
mov edx, dword [ebp - 0x28]
mov ecx, esi
add edx, dword [ebx + 0xc]
sub ecx, edi
lea eax, [ecx + 8]
cmp edx, eax
jg 0x1001414c
lea eax, [ecx - 8]
cmp edx, eax
jl 0x1001414c
sub esi, dword [ebp - 0x28]
sub esi, edi
mov dword [ebx + 0xc], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002bc85
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10014be0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004dadb
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], esi
mov dword [esi], 0
mov byte [esi + 4], 0
mov dword [ebp - 4], 0
push 0
mov byte [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.ValveCSLauncherMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
test eax, eax
jne 0x10014c87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x110]
push str.Failed_to_create_mutex__error_0x_x_
push eax
call fcn.10001930
push eax
lea eax, [ebp - 0x210]
push str.Assertion_failed__s
push eax
call fcn.10001930
push 0x51
mov edx, str.C:_build_partners_boostic_rungoldsrc_client_apprunmsvc.._src_app_windows.cpp
mov ecx, eax
call fcn.10003100
add esp, 0x1c
cmp dword [esi], 0
je 0x10014ca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, esi
je 0x10014ca3
mov byte [esi + 8], 1
jmp 0x10014ca3
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.1002bc85
mov esp, ebp
pop ebp
ret 4

Function at 0x10014da0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1005d014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ecx + 0x370]
push 0x40f
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.10032050
lea edi, [ebp - 0x414]
mov byte [ebp - 5], 0
add esp, 0xc
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x10014de0
sub edi, ecx
mov eax, 0x411
sub eax, edi
je 0x10014e1e
mov esi, 8
cmp eax, esi
cmovb esi, eax
lea eax, [ebp - 0x414]
push esi
add eax, edi
push 0x10058728
push eax
call fcn.1004c210
lea eax, [esi + edi]
add esp, 0xc
mov byte [ebp + eax - 0x414], 0
lea ecx, [ebp - 0x414]
call fcn.100049b0
test al, al
jne 0x10014e3b
push 0x10
push str.Fatal_Error
push str.ERROR:_Unable_to_run_the_application_outside_the_directory_of_the_game.
jmp 0x10014eb7
push 0x9c
push 0
push 0x100932f0
call fcn.1002e3f0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
mov dword [0x100932f0], 0x9c
push 0x100932f0
call esi
test eax, eax
jne 0x10014e7b
push 0x100932f0
mov dword [0x100932f0], 0x94
call esi
cmp dword [0x10093300], 2
jne 0x10014eab
mov eax, dword [0x100932f4]
cmp eax, 5
jb 0x10014eab
jne 0x10014e99
cmp dword [0x100932f8], 0
je 0x10014eab
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bc85
mov esp, ebp
pop ebp
ret
push 0x10
push str.Fatal_Error
push str.ERROR:_Unfortunately__this_game_doesnt_support_Win95___98___ME___2000___NT_4.0_environment.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1002bc85
mov esp, ebp
pop ebp
ret
Function at 0x10015bb0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x419
cmp ax, cx
je 0x10015bd3
mov dword [edi + 0x248], 0
jmp 0x10015bdd
mov dword [edi + 0x248], 1
lea eax, [ebp - 4]
mov ecx, 0x10090ed0
push eax
mov eax, dword [0x10090ed0]
push str._language
call dword [eax + 0xc]
test eax, eax
je 0x10015c4b
mov eax, dword [ebp - 4]
test eax, eax
je 0x10015c4b
cmp byte [eax], 0
je 0x10015c4b
push esi
mov esi, 0x100907d8
nop dword [eax]
push eax
push dword [esi]
call fcn.1003257b
add esp, 8
test eax, eax
je 0x10015c41
push dword [ebp - 4]
push dword [esi + 4]
call fcn.1003257b
add esp, 8
test eax, eax
je 0x10015c41
add esi, 0xc
cmp esi, 0x100907fc
je 0x10015c4a
mov eax, dword [ebp - 4]
jmp 0x10015c10
mov eax, dword [esi + 8]
mov dword [edi + 0x248], eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10015d00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x1005d014]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x10015d44
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1002bc85
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10015d77
cmp eax, 2
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1002bc85
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [edi + eax - 1], 0x5c
lea esi, [edi + eax]
je 0x10015d8f
mov byte [esi], 0x5c
inc esi
mov byte [esi], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10015e11
nop dword [eax]
push ecx
push 0x208
lea edx, [esp + 0x28]
mov byte [esi], 0
mov ecx, edi
call fcn.10009a60
add esp, 8
mov edx, edi
mov ecx, ebx
call fcn.10015d00
test al, al
je 0x10015e11
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10015dc0
mov byte [esi - 1], 0
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x12c]
test eax, eax
pop edi
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.1002bc85
mov esp, ebp
pop ebp
ret
Function at 0x10015ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004dcf7
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1005d014]
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
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x54], 0
call fcn.1002b638
mov dword [ebp - 0x58], edx
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
call fcn.10020970
mov ecx, dword [eax]
push ecx
call fcn.10036b49
movaps xmm0, xmmword [0x10059070]
add esp, 4
mov eax, dword [0x1009b6d4]
mov dword [ebp - 0x20], 0x5a595857
mov dword [ebp - 0x1c], 0x34333231
mov dword [ebp - 0x18], 0x38373635
mov word [ebp - 0x14], 0x3039
mov byte [ebp - 0x12], 0
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x10059000]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x10059010]
movups xmmword [ebp - 0x30], xmm0
test al, 1
jne 0x10015f89
or eax, 1
mov dword [0x1009b6d4], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 1
push eax
call fcn.10020f10
push 0x1004e2b0
call fcn.1002c1e9
add esp, 4
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x10015faf
mov eax, dword [edi]
jmp 0x10015fb1
mov eax, edi
mov byte [eax], 0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x54], 1
cmp ecx, 8
jb 0x10015fe7
mov dword [edi + 0x10], 8
cmp dword [edi + 0x14], 0x10
jb 0x10015fdf
mov eax, dword [edi]
mov byte [eax + 8], 0
jmp 0x10015ff7
mov eax, edi
mov byte [eax + 8], 0
jmp 0x10015ff7
push ecx
mov eax, 8
sub eax, ecx
mov ecx, edi
push eax
call fcn.100209e0
xor ebx, ebx
nop dword [eax]
mov esi, dword [0x1009b6e8]
call fcn.10036b28
xor edx, edx
mov ecx, 0x1009b6d8
div esi
cmp dword [0x1009b6ec], 0x10
cmovae ecx, dword [0x1009b6d8]
cmp dword [edi + 0x14], 0x10
jb 0x1001602c
mov eax, dword [edi]
jmp 0x1001602e
mov eax, edi
mov cl, byte [ecx + edx]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, 8
jl 0x10016000
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 - 0x10]
xor ecx, ebp
call fcn.1002bc85
mov esp, ebp
pop ebp
ret
Function at 0x1001f9c0
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004defe
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1005d014]
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 ebx, ecx
mov eax, dword [0x100995a0]
test al, 1
jne 0x1001fa41
or eax, 1
mov dword [0x100995a0], eax
xorps xmm0, xmm0
mov dword [0x100995a4], 0x10054080
push 0x1004dfe0
mov dword [0x100995b4], 0
movups xmmword [0x100995b8], xmm0
mov byte [0x100995a8], 0
mov dword [0x100995ac], 0
call fcn.1002c1e9
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, 7
mov dword [ebp - 0x54], 0xaaa1bca5
xor esi, esi
mov dword [ebp - 0x50], 0x24550
mov dword [ebp - 0x4c], 7
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 6
test edi, edi
je 0x1001faa9
mov eax, dword [edx]
lea ecx, [ebp - 0x54]
add ecx, eax
lea edx, [edx + 4]
add eax, 0xfffffffc
inc esi
xor byte [ecx], al
cmp esi, edi
jne 0x1001fa95
push 0
lea eax, [ebp - 0x54]
mov byte [ebp - 0x4d], 1
push eax
mov eax, dword [0x100995a4]
mov ecx, 0x100995a4
call dword [eax + 8]
cmp eax, 1
je 0x1001fb73
call fcn.100015c0
mov edi, eax
mov dword [ebp - 0x60], 0xaaa1bca5
mov eax, 7
mov dword [ebp - 0x5c], 0x24550
xor esi, esi
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x48], 0
lea edx, [ebp - 0x48]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 6
test eax, eax
je 0x1001fb39
mov eax, dword [edx]
lea ecx, [ebp - 0x60]
add ecx, eax
lea edx, [edx + 4]
add eax, 0xfffffffc
inc esi
xor byte [ecx], al
cmp esi, 7
jne 0x1001fb24
mov byte [ebp - 0x59], 1
lea ecx, [ebp - 0x60]
mov eax, dword [edi]
push 0
push ecx
mov ecx, edi
call dword [eax + 8]
cmp eax, 2
je 0x1001fb73
push 0
push 0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push 0x10017fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0xb90], eax
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.1002bc85
mov esp, ebp
pop ebp
ret