joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41697c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49acc4
call fcn.00498a28
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [eax + 0x14], 7
push edi
mov dword [ebp - 0x18], esi
jbe 0x41699e
mov eax, dword [eax]
lea ecx, [ebp + 8]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4169d0
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x416ab4
mov ebx, dword [ebp + 0xc]
mov eax, ebx
cmp dword [ebx + 0x14], 7
jbe 0x4169dd
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x416a0f
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], eax
jmp 0x4169bf
cmp dword [ebp - 0x14], 1
jne 0x4169f7
mov ecx, dword [ebp - 0x10]
lea edi, [ebp - 0x34]
xor eax, eax
shr ecx, 1
stosd dword es:[edi], eax
push ecx
lea ecx, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.004065dd
mov dword [ebp - 4], edi
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 7
cmova eax, dword [ebp - 0x34]
cmp dword [ebx + 0x14], 7
jbe 0x416a4b
mov ebx, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push eax
push edi
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
test eax, eax
je 0x416a82
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x416aac
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
push ecx
lea ecx, [ebp - 0x34]
call fcn.00418b9e
cmp eax, 0xffffffff
je 0x416aa1
push edi
push eax
lea ecx, [ebp - 0x34]
call fcn.00405d1f
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00405f50
lea ecx, [ebp - 0x34]
call fcn.00402f3d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x416ac5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [edx + 0x14], 7
mov dword [ebp - 4], esi
jbe 0x416ad7
mov edx, dword [edx]
lea eax, [ebp - 4]
push eax
push 0x20119
push esi
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416b1c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 7
jbe 0x416afc
mov eax, dword [eax]
push esi
push esi
push esi
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
jmp 0x416b1e
xor al, al
pop esi
leave
ret

Function at 0x416b21
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49acf6
call fcn.00498a28
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
xor eax, eax
mov edi, esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
push 7
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov word [esi], ax
mov dword [ebp - 4], ecx
mov ebx, dword [ebp + 8]
mov eax, ebx
mov dword [ebp - 0x18], 1
cmp dword [ebx + 0x14], edi
jbe 0x416b6a
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416c10
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 1]
cmp eax, 0xffffe
ja 0x416c10
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
lea eax, [ecx + 2]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b80c
cmp dword [ebx + 0x14], edi
jbe 0x416bbf
mov ebx, dword [ebx]
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416beb
cmp dword [ebp - 0x14], 1
jne 0x416beb
push edi
mov ecx, esi
call fcn.004070bd
jmp 0x416bfe
and dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x416bf9
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x416c10
mov eax, dword [ebp - 0x24]
sub eax, edi
push eax
push edi
call fcn.00402f94
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x416f07
Capabilities:
Get common file path

Disassembly:
mov eax, 0x49ad8d
call fcn.00498a28
sub esp, 0x258
lea eax, [ebp - 0x264]
push ebx
push esi
push edi
push eax
mov edi, 0x104
mov esi, ecx
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
jbe 0x416f49
mov edx, str.Insufficient_buffer_size_for_temp_path_n
mov ecx, 0x4ccc28
call fcn.0040e498
jmp 0x416fcf
test eax, eax
jne 0x416fbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x47]
call fcn.0040ffba
push ecx
lea ecx, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00410071
push 0x24
push str.Unable_to_get_temp_path__error_code
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040efea
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403476
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov ecx, 0x4ccc28
push dword [ebp - 0x1c]
cmova edx, dword [ebp - 0x2c]
call fcn.0040f080
pop ecx
mov dl, 0xa
mov ecx, eax
call fcn.0040e632
lea ecx, [ebp - 0x2c]
call fcn.00402fc0
lea ecx, [ebp - 0x44]
call fcn.00402fc0
jmp 0x416fcf
lea eax, [ebp - 0x264]
mov ecx, esi
push eax
call fcn.004070bd
mov bl, 1
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x416fe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417033
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41702c
cmp dword [ebp - 4], edi
jne 0x41702c
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x41703a
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, edx
push ebx
push 0x80
push 3
push ebx
push ebx
push accept
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417085
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [ebp - 8]
test eax, eax
mov edx, dword [ebp - 4]
push esi
setne bl
mov dword [edi], ecx
mov dword [edi + 4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x41708c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ecx
push ebx
push 0x80
push 3
push ebx
push ebx
push accept
push dword [ebp + 8]
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4170df
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4170d8
cmp dword [ebp - 4], edi
jne 0x4170d8
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x41715e
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov eax, 0x49ab57
call fcn.00498a28
sub esp, 0x210
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x14], esi
mov edi, esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
or edx, 0x8000
mov dword [ebp - 0x10], 1
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4171c4
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.004070bd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x417204
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x49ada6
call fcn.00498a28
sub esp, 0x44c
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x258], ax
mov ebx, edx
lea eax, [ebp - 0x256]
mov edi, ecx
push esi
push eax
call fcn.00470c60
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x10], esi
jbe 0x4172d4
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], 0xff
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x458]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4172ce
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x50]
call fcn.00402788
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
call fcn.0040e9c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00402f3d
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x41727d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4176e5
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x49ae53
call fcn.00498a28
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [ebp - 0x10], esi
cmp dword [ebx + 0x10], ecx
je 0x4177cb
cmp dword [edi + 0x70], ecx
je 0x4177cb
push str..bat
lea edx, [edi + 0x60]
lea ecx, [ebp - 0x44]
call fcn.0041402e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push eax
mov edx, ebx
call fcn.00416044
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
call fcn.00402f3d
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push 0x8000080
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x417788
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x2c]
call fcn.00402f3d
jmp 0x4177e2
and dword [ebp + 8], 0
lea eax, [edi + 0x78]
cmp dword [eax + 0x14], 0xf
jbe 0x417797
mov eax, dword [eax]
push 0
lea ecx, [ebp + 8]
push ecx
push dword [edi + 0x88]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
test eax, eax
je 0x4177c3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00405f50
jmp 0x41777e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x417767
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x417a38
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov ebx, edx
lea ecx, [esp + 0x24]
push edi
mov edx, 0x4b2008
call fcn.00416815
cmp dword [esp + 0x3c], 7
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x417a88
mov esi, dword [esp + 0x10]
xor eax, eax
mov edi, dword [esp + 0x14]
jmp 0x417a92
xor esi, esi
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x28]
mov dword [ebx], eax
call fcn.00402f3d
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417dbb
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x417e38
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [edi + 0x10]
mov eax, dword [ebx]
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x417df6
pop esi
pop ebx
pop edi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x417e29
cmp dword [edi + 0x14], 7
jbe 0x417e0b
mov edi, dword [edi]
mov eax, dword [ebx]
push edi
inc eax
push eax
push ecx
call fcn.00474975
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebx
pop edi
ret
Function at 0x419a08
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x49a267
call fcn.00498a28
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
call fcn.0046f0e2
mov esi, eax
push 1
mov dword [ebp - 4], ebx
call fcn.0046d2d7
pop ecx
pop ecx
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00419b36
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41b804
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x49b318
call fcn.00498a28
mov eax, 0x13a4
call fcn.0046fdc0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], esi
xor eax, eax
push edi
xor ecx, ecx
inc ebx
mov dword [esi], ecx
lea edi, [esi + 8]
mov byte [esi + 4], bl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
mov dword [ebp - 4], ecx
lea edi, [esi + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov eax, dword [0x4ce750]
sub eax, dword [0x4ce74c]
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x20], edi
test eax, eax
je 0x41b8b8
push eax
mov ecx, edi
call fcn.00415b6a
mov dword [ebp - 0x28], edi
mov esi, dword [edi]
mov eax, dword [0x4ce750]
mov ebx, dword [0x4ce74c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
cmp ebx, eax
je 0x41b8af
mov edi, eax
push ebx
mov ecx, esi
call fcn.00403962
add esi, 0x18
add ebx, 0x18
mov dword [ebp - 0x14], esi
cmp ebx, edi
jne 0x41b897
mov edi, dword [ebp - 0x20]
xor ebx, ebx
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x24]
inc ebx
mov byte [ebp - 4], 3
call fcn.0046dd09
or dword [ebp - 0x2c], 0xffffffff
mov ecx, eax
mov dword [ebp - 0x13ac], ecx
mov edx, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [ebp + ebx*4 - 0x13ac], ecx
inc ebx
cmp ebx, edx
jb 0x41b8d2
push dword [esi + 0x24]
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x13b0]
push dword [edi]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x13b0], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x20
call fcn.0041bb9a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41bc5d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x41bca5
lea edx, [esi + 8]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x41bc6d
jmp 0x41bcb2
cmp dword [esi], 0x4e0
jb 0x41bcb2
call fcn.0041bcec
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x41bcec
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x9c4]
mov esi, 0xe3
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x41bd05
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x41bd4f
mov esi, dword [ebp - 4]
pop edi
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
and dword [esi], 0
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
leave
ret

Function at 0x41e533
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
movzx ecx, word [ebp + 8]
xor eax, eax
sub ecx, 0x489
je 0x41e54e
sub ecx, 1
je 0x41e54e
sub ecx, 0xa
jne 0x41e57c
mov ecx, dword [ebp + 0xc]
sub ecx, eax
je 0x41e565
sub ecx, 1
jne 0x41e57c
push 1
push eax
push eax
push str.https:__playgames.pro_privacy_
jmp 0x41e56e
push 1
push eax
push eax
push str.https:__playgames.pro_eula_
push 0x4b3bf8
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
pop ebp
ret 8
Function at 0x41f853
Capabilities:
Get disk size

Disassembly:
mov eax, 0x49b709
call fcn.00498a28
sub esp, 0x60
push ebx
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea edx, [edi + 0x14]
mov dword [ebp - 4], eax
cmp dword [edx + 0x14], 7
mov ecx, edx
jbe 0x41f880
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
lea eax, [ecx + eax*2]
jbe 0x41f88a
mov edx, dword [edx]
push eax
push edx
push 0x5c
lea edx, [ebp - 0x38]
pop ecx
call fcn.0041fc60
mov ebx, dword [ebp - 0x34]
pop ecx
pop ecx
lea ecx, [edi + 0x25c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x8c]
lea eax, [ebx - 0x18]
push eax
call edx
mov edx, 0x4b2008
lea ecx, [ebp - 0x50]
call fcn.00416815
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], 7
lea eax, [ebp - 0x50]
push ecx
cmova eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x41f935
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
push dword [ebp - 0x1c]
call fcn.004152aa
pop ecx
pop ecx
lea esi, [edi + 0x1ec]
mov byte [ebp - 4], 2
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, esi
call dword [eax + 0x8c]
push 1
mov ecx, esi
call fcn.00405cef
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x6f4], ecx
mov ecx, edi
mov dword [edi + 0x6f0], eax
call fcn.0041fbef
lea ecx, [ebp - 0x68]
call fcn.00402f3d
lea ecx, [ebp - 0x50]
call fcn.00402f3d
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x41f974
mov esi, edi
cmp esi, ebx
je 0x41f95d
push 0x18
pop edi
mov ecx, esi
call fcn.00402f3d
add esi, edi
cmp esi, ebx
jne 0x41f94d
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
sub eax, edi
push 0x18
pop ecx
cdq
idiv ecx
imul eax, eax, 0x18
push eax
push edi
call fcn.00402f94
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret