joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002bdd0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x10044638]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x1002be12
call edi
mov esi, eax
test esi, esi
je 0x1002bdfc
mov eax, 1
jmp 0x1002be0d
call ebp
mov ebx, eax
test ebx, ebx
je 0x1002bf1f
mov eax, 2
mov dword [0x10044638], eax
cmp eax, 1
jne 0x1002beb2
test esi, esi
jne 0x1002be2b
call edi
mov esi, eax
test esi, esi
je 0x1002bf1f
cmp word [esi], 0
mov eax, esi
je 0x1002be45
add eax, 2
cmp word [eax], 0
jne 0x1002be33
add eax, 2
cmp word [eax], 0
jne 0x1002be33
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x1002bea4
push edi
call fcn.10024410
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002bea4
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1002be96
push ebx
call fcn.100243a0
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x1002bf1f
test ebx, ebx
jne 0x1002bec3
call ebp
mov ebx, eax
test ebx, ebx
je 0x1002bf1f
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x1002bedb
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1002becb
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1002becb
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.10024410
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1002befd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x1002bf70
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x10042408
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x1002bf94
add eax, 8
inc ebp
cmp eax, 0x10042498
jb 0x1002bf85
cmp ecx, dword [ebp*8 + 0x10042408]
jne 0x1002c13b
mov eax, dword [0x10044168]
cmp eax, 1
je 0x1002c0fd
test eax, eax
jne 0x1002bfc0
cmp dword [0x1004416c], 1
je 0x1002c0fd
cmp ecx, 0xfc
je 0x1002c13b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1002bffb
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x1002c044
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x10033630
add ebx, ecx
push ebx
call fcn.100242a0
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10033610
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x1004240c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.1002d8c0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x10048960]
test eax, eax
je 0x1002c10e
mov esi, dword [eax + 0x48]
cmp esi, 0xffffffff
jne 0x1002c118
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x1004240c]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x1002dca0
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x100446cc]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
test eax, eax
jne 0x1002dce8
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x1002dcc8
mov eax, 1
jmp 0x1002dce3
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1002ddb9
mov eax, 2
mov dword [0x100446cc], eax
cmp eax, 1
jne 0x1002dd08
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x1002ddcb
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1002dd23
mov ecx, dword [0x10044430]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
test esi, esi
jne 0x1002dd42
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.10024410
mov edi, eax
add esp, 4
test edi, edi
jne 0x1002dd56
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1002ddb0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1002dd94
mov edx, dword [esp + 0x24]
push eax
push eax
push 0xffffffffffffffff
push edi
push 1
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
je 0x1002ddb0
push edi
call fcn.100243a0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push edi
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jne 0x1002ddc0
push edi
call fcn.100243a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call fcn.100243a0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1002ddd0
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x100446d0]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
test eax, eax
jne 0x1002de18
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1002ddfc
mov eax, 1
jmp 0x1002de13
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x1002def8
mov eax, 2
mov dword [0x100446d0], eax
cmp eax, 2
jne 0x1002de38
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 1
jne 0x1002df0a
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1002de53
mov ecx, dword [0x10044430]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x1002de72
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [edi + edi]
push edx
call fcn.10024410
mov esi, eax
add esp, 4
test esi, esi
jne 0x1002de89
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1002deef
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push 0
jne 0x1002ded0
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x1002deef
push esi
call fcn.100243a0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push 0xffffffffffffffff
push esi
push 0x220
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x1002deff
push esi
call fcn.100243a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.100243a0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1002e210
Capabilities:
Set environment variable

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x1002e3ce
push 0x3d
push edi
call fcn.10024f60
mov esi, eax
add esp, 8
test esi, esi
je 0x1002e3ce
cmp edi, esi
je 0x1002e3ce
mov dl, byte [esi + 1]
mov ecx, dword [0x1004411c]
xor eax, eax
test dl, dl
sete al
mov ebp, eax
mov eax, dword [0x10044118]
cmp eax, ecx
jne 0x1002e267
push eax
call fcn.1002e4a0
add esp, 4
mov dword [0x10044118], eax
test eax, eax
jne 0x1002e2e2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002e28e
mov eax, dword [0x10044120]
test eax, eax
je 0x1002e28e
call fcn.1002dc20
test eax, eax
je 0x1002e2dd
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebp, ebp
je 0x1002e29a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
call fcn.10024410
add esp, 4
mov dword [0x10044118], eax
test eax, eax
je 0x1002e3ce
mov dword [eax], 0
mov eax, dword [0x10044120]
test eax, eax
jne 0x1002e2dd
push 4
call fcn.10024410
add esp, 4
mov dword [0x10044120], eax
test eax, eax
je 0x1002e3ce
mov dword [eax], 0
mov eax, dword [0x10044118]
mov ebx, eax
mov eax, esi
sub eax, edi
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.1002e420
mov esi, eax
add esp, 8
test esi, esi
jl 0x1002e3df
cmp dword [ebx], 0
je 0x1002e3df
test ebp, ebp
je 0x1002e3d7
mov ecx, dword [ebx + esi*4]
lea edi, [ebx + esi*4]
push ecx
call fcn.100243a0
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x1002e339
mov eax, edi
mov edx, dword [eax + 4]
add eax, 4
mov dword [edi], edx
inc esi
mov ecx, dword [eax]
mov edi, eax
test ecx, ecx
jne 0x1002e328
lea eax, [esi*4]
push eax
push ebx
call fcn.10026f20
add esp, 8
test eax, eax
je 0x1002e353
mov dword [0x10044118], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002e3c6
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.10024410
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1002e3c6
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
neg ebp
rep movsb byte es:[edi], byte [esi]
sbb ebp, ebp
mov byte [ebx + eax], 0
lea eax, [ebx + eax + 1]
not ebp
and ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.100243a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov dword [ebx + esi*4], edi
jmp 0x1002e357
test ebp, ebp
jne 0x1002e3c6
test esi, esi
jge 0x1002e3e9
neg esi
lea ecx, [esi*4 + 8]
push ecx
push ebx
call fcn.10026f20
add esp, 8
test eax, eax
je 0x1002e3ce
mov dword [eax + esi*4], edi
mov dword [eax + esi*4 + 4], 0
mov dword [0x10044118], eax
jmp 0x1002e357
Function at 0x1002f427
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
push ebx
push esi
push edi
lea eax, [ebp - 0x230]
push str.RxFileMap
push eax
call fcn.100302e0
push dword [0x1004499c]
lea eax, [ebp - 0x230]
push eax
call fcn.100302f0
add esp, 0x10
lea eax, [ebp - 0x230]
xor edi, edi
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, edi
je 0x1002f475
push eax
jmp 0x1002f611
lea eax, [ebp - 0x11c]
push str.EntryEvent
push eax
call fcn.100302e0
push dword [0x1004499c]
lea eax, [ebp - 0x11c]
push eax
call fcn.100302f0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
add esp, 0x10
lea eax, [ebp - 0x11c]
mov esi, 0x10042e50
push eax
push edi
push edi
push esi
call ebx
cmp eax, edi
mov dword [0x100449a4], eax
je 0x1002f5fe
lea eax, [ebp - 0x11c]
push str.ExitEvent
push eax
call fcn.100302e0
push dword [0x1004499c]
lea eax, [ebp - 0x11c]
push eax
call fcn.100302f0
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
push edi
push edi
push esi
call ebx
cmp eax, edi
mov dword [0x100449a8], eax
je 0x1002f5fe
lea eax, [ebp - 0x230]
push eax
push dword [0x10042e48]
push dword [0x10044998]
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [0x100449ac], eax
je 0x1002f5fe
push edi
push edi
push edi
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [0x100449bc], eax
je 0x1002f5fe
cmp word [ebp + 8], di
je 0x1002f617
push edi
push edi
push edi
push esi
call ebx
cmp eax, edi
mov dword [ebp + 8], eax
je 0x1002f5fe
lea eax, [ebp - 0x344]
push str.ASCMutex
push eax
call fcn.100302e0
push dword [0x1004499c]
lea eax, [ebp - 0x344]
push eax
call fcn.100302f0
add esp, 0x10
lea eax, [ebp - 0x344]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, edi
mov dword [0x100449b8], eax
je 0x1002f5fe
lea eax, [ebp - 0x11c]
push str.ExitThreadEvent
push eax
call fcn.100302e0
push dword [0x1004499c]
lea eax, [ebp - 0x11c]
push eax
call fcn.100302f0
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
push edi
push edi
push esi
call ebx
cmp eax, edi
mov dword [0x100449b0], eax
je 0x1002f5fe
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push edi
push eax
push 0x1002fa92
push edi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [0x100449a0], eax
jne 0x1002f603
xor ax, ax
jmp 0x1002f61b
push dword [0x10042e44]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002f845
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push 1
pop esi
lea eax, [ebp - 0x114]
push str.ASCMutex
push eax
call fcn.100302e0
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.100302f0
add esp, 0x10
lea eax, [ebp - 0x114]
push eax
push esi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
mov dword [0x100449b4], eax
je 0x1002f89e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1002f8a0
xor esi, esi
mov ax, si
pop esi
leave
ret

Function at 0x10032420
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
mov al, byte [ecx]
xor edi, edi
mov byte [esi], al
mov al, byte [ecx]
test al, al
je 0x1003245a
mov edx, esi
push ebx
sub edx, ecx
mov al, byte [ecx + 1]
mov bl, byte [edx + ecx]
inc edi
inc ecx
dec al
xor al, bl
mov byte [edx + ecx], al
mov al, byte [ecx]
test al, al
jne 0x1003243b
mov byte [edi + esi], 0
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov byte [edi + esi], 0
mov eax, esi
pop edi
pop esi
ret

Function at 0x100325d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push 0x40
push 0
push dword [ebp + 8]
call fcn.10024043
add esp, 0x10
test ax, ax
jne 0x1003260f
mov edi, 0xff
push 0x40
push edi
push esi
call fcn.10026ec0
push 0xf8
push edi
push dword [ebp + 0x10]
call fcn.10026ec0
add esp, 0x18
jmp 0x1003264f
cmp word [esi], 0x5a4d
mov ebx, dword [ebp + 0x10]
mov edi, 0xf8
jne 0x10032640
push ebx
push edi
push dword [esi + 0x3c]
push dword [ebp + 8]
call fcn.10024043
add esp, 0x10
test ax, ax
je 0x10032640
xor eax, eax
cmp dword [ebx], 0x4550
sete al
jmp 0x10032652
push edi
push 0xff
push ebx
call fcn.10026ec0
add esp, 0xc
xor ax, ax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401d99
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ae07c]
jne 0x401da3
repz ret
jmp fcn.004026c7

Function at 0x4081dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ae07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405ea4
and dword [ebp - 0x14], 0
cmp dword [0x4b0e50], 0
mov dword [ebp - 0x18], eax
jne 0x40828f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408337
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408337
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b0e50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b0e54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b0e58], eax
call edi
push eax
call esi
mov dword [0x4b0e60], eax
test eax, eax
je 0x40828f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b0e5c], eax
mov eax, dword [0x4b0e5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4082e8
cmp dword [0x4b0e60], ecx
je 0x4082e8
push eax
call esi
push dword [0x4b0e60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4082e8
test ebx, ebx
je 0x4082e8
call edi
test eax, eax
je 0x4082df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4082df
test byte [ebp - 8], 1
jne 0x4082e8
or dword [ebp + 0x10], 0x200000
jmp 0x40831b
mov eax, dword [0x4b0e54]
cmp eax, dword [ebp - 0x18]
je 0x40831b
push eax
call esi
test eax, eax
je 0x40831b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40831b
mov eax, dword [0x4b0e58]
cmp eax, dword [ebp - 0x18]
je 0x40831b
push eax
call esi
test eax, eax
je 0x40831b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b0e50]
call esi
test eax, eax
je 0x408337
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408339
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401d99
leave
ret
Function at 0x5e9a39
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa61cec
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x5e9ab9
arpl word [edx + esi], si
dec edi
stc
sbb edi, edi
rol dword [ebx + ebx + 0x16], 0x91
inc ecx
inc esp
sbb edx, dword [esi]
xchg ecx, eax
add eax, esi
in al, dx
xchg ebx, eax
in eax, 0xce
sar dword [edx], 0xc6
push 0xc3aa8d9f
jae 0x5e9af0
sti
lodsb al, byte [esi]
dec edi
test al, 3
sbb esp, esi
pop edi
invalid
fcmovnb st(0), st(3)
aam 0x7b
sti
pushfd
jae 0x5e9ae5
fist dword [ecx + 0x470caef1]
inc edi
jnp 0x5e9a5f
inc esp
daa
invalid
jecxz 0x5e9b46
mov ch, byte [edi]
dec ecx
std
mov bh, 0xb
invalid
rcr byte [ecx - 0x7dd39abc], cl
adc byte [eax + 0x28], bh
js 0x5e9b21
pop ebx
lodsd eax, dword fs:[esi]
push 0x53b0d8b7
xor eax, 0x121bed20
jns 0x5e9af7
sar dword [ebp - 0x477593b7], cl
invalid
inc ebx
jl 0x5e9aac
dec edx
aaa
push eax
pop ss
into
push edx
popfd
in al, dx
xchg dword [edi], ecx
mov edx, 0xbaa7fce9
mov byte [edx + 0x5a], ch
push edx
lock sub edi, dword [ebp + 0x5bb9b280]
invalid
fcomp dword [edi + ebp*8]
inc esi
adc dl, cl
inc esi
pop ecx
adc byte [esi + 0x6b], dh
mov ebp, 0x6d914195
or eax, 0x15cfbefc
inc ebx
push ds
xchg ecx, eax
out dx, eax
int1
add esi, dword [edi - 0x36]
arpl word [eax], si
hlt

Function at 0x401a70
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x401ae0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004010b0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x411142
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov esi, ecx
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0xc8], eax
xor eax, eax
dec eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
lea ebx, [ecx + 0x18]
cmp byte [ecx + 0x23], 0
js 0x41118d
mov eax, ebx
jmp 0x41118f
mov eax, dword [ebx]
lea ecx, [esp + 0xb8]
lea edx, [esp + 0xc0]
push 0
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x411212
movapd xmm0, xmmword [0x673bd0]
movsd xmm1, qword [esp + 0xc0]
unpcklps xmm1, xmm0
movapd xmm2, xmmword [0x673be0]
subpd xmm1, xmm2
movapd xmm3, xmm1
unpckhpd xmm3, xmm1
addsd xmm3, xmm1
movsd xmm1, qword [esp + 0xb8]
unpcklps xmm1, xmm0
subpd xmm1, xmm2
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
divsd xmm3, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm3
cvtss2sd xmm0, xmm0
xor ebx, ebx
ucomisd xmm0, qword [esi + 0x10]
seta bl
jmp 0x4112b9
call fcn.0049a360
mov edi, eax
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x4112b6
lea ecx, [esp + 0x10]
push 2
push 0x3e
push str..._.._opera_desktop_windows_assistant_low_disk_space_event_reporter.cc
call fcn.004999e0
lea eax, [esp + 0x18]
push 0x23
push str.Failed_to_get_free_disk_space_for__
push eax
call fcn.0040280c
add esp, 0xc
push ebx
push eax
call fcn.004959c0
add esp, 8
push 3
push 0x673c71
push eax
call fcn.0040280c
add esp, 0xc
mov dword [esp], eax
lea ebx, [esp + 4]
push edi
push ebx
call fcn.0049a370
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x41128c
mov eax, dword [esp + 8]
mov ebx, dword [esp + 4]
push eax
push ebx
push dword [esp + 8]
call fcn.0040280c
add esp, 0xc
cmp byte [esp + 0xf], 0
jns 0x4112ad
push dword [esp + 4]
call fcn.006417be
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00499dc0
mov ebx, dword [esi + 0x24]
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret