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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x40822f
push 0xd
pop eax
jmp 0x408261
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x408238
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x40cbcc
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x46cb97
call fcn.004490ad
mov ecx, dword [ecx + 0x80]
test ecx, ecx
je 0x40ccd7
lea eax, [ebp - 0x40]
push eax
call fcn.00405cd1
xor edi, edi
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], edi
jb 0x40cbfc
mov eax, dword [eax]
push str._develop
push eax
lea eax, [ebp - 0x28]
push str._S_s
push eax
call fcn.0040efef
add esp, 0x10
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00409040
mov esi, 0x4782c4
push esi
call fcn.0040b34f
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x28]
call fcn.0040cf40
test eax, eax
je 0x40cc89
mov esi, str.http:
push esi
call fcn.0040b34f
pop ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x28]
call fcn.0040cf40
test eax, eax
je 0x40cc89
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push str.http:___s
push eax
call fcn.0040efef
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.004052c7
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.00409095
mov cl, byte [0x49e0ae]
test cl, cl
je 0x40ccb0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
movzx eax, cl
push str.Opening_developer_page:_url_S
push eax
call fcn.00410bbc
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00409095
call fcn.00449057
ret

Function at 0x40ccdd
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.00439b1d
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0x74]
call esi
push 1
push dword [edi + 0x78]
call esi
push 1
push dword [edi + 0x7c]
call esi
push 0
push 0
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
ret

Function at 0x40e2bb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e2d5
test al, 0x10
je 0x40e2d5
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40e9d2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044d7a0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb al, al
xor ecx, ebp
inc al
call fcn.00449031
mov esp, ebp
pop ebp
ret

Function at 0x4103f5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
cmp ecx, dword [ebp + 0xc]
je 0x410427
push esi
movsx edx, byte [ecx]
mov esi, edi
mov eax, edi
shl esi, 6
shr eax, 2
add edx, 0x9e3779b9
add esi, eax
add edx, esi
xor edi, edx
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [ebp + 0xc]
jne 0x410404
pop esi
mov eax, edi
pop edi
pop ebp
ret

Function at 0x4110ed
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x46ed55
call fcn.004490ad
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4111ed
cmp byte [ebx + 0x3d], 0
je 0x4111ed
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x411127
xor al, al
jmp 0x4111ef
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00411d88
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x411185
sub eax, 1
je 0x411189
dec eax
sub eax, 1
je 0x4111db
xor bl, bl
jmp 0x4111dd
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x4111c1
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00453c18
add esp, 0x10
cmp esi, eax
jne 0x411181
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x4111db
test esi, esi
jne 0x41114b
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00411cd7
jmp 0x411145
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409040
mov al, bl
jmp 0x4111ef
mov al, 1
call fcn.00449057
ret
Function at 0x412a8b
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x4704ef
call fcn.004490ad
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x412ab7
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x412c18
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x412ae5
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x412ae5
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x412c18
cmp dword [esi + 0x4c], 0
je 0x412c16
mov ecx, esi
call fcn.00411be8
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x412b15
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.00410012
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x412c16
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x14], 0xf
call fcn.00411d88
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x412c0a
cmp eax, 1
jg 0x412bef
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x412bc0
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00453c18
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x412c0a
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x412bea
test edx, edx
jne 0x412b40
cmp dword [ebp - 0x18], 0x20
jae 0x412c0a
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.00411cd7
jmp 0x412b3d
mov ebx, dword [ebp + 8]
jmp 0x412c0a
cmp eax, 3
jne 0x412c0a
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.00410012
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409040
mov eax, ebx
call fcn.00449057
ret 4
Function at 0x413bdb
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x46d2e4
call fcn.004490ad
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test edi, edi
jne 0x413c13
push str.Attempt_to_delete_a_null_key
lea ecx, [ebp - 0x1c]
call fcn.0040487f
push 0x4939d8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.std::runtime_error.0
push eax
call fcn.0044b5d4
push edi
lea ecx, [ebp - 0x28]
call fcn.00403e9d
push 0
push 1
lea ecx, [ebp - 0x28]
mov esi, dword [eax + 0x10]
call fcn.00409095
test esi, esi
jne 0x413c36
push str.Attempt_to_delete_an_empty_key
jmp 0x413bf6
cmp byte [0x4f1ae2], 0
push edi
push ebx
je 0x413c8f
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x413cd5
cmp byte [0x49e0ae], 0
je 0x413cd5
push 0
push ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.004139d7
push dword [eax]
movzx eax, byte [0x49e0ae]
and dword [ebp - 4], 0
push edi
push str.Failed_to_delete_key__S__S
push eax
call fcn.00410bbc
mov ecx, dword [ebp - 0x2c]
add esp, 0x1c
jmp 0x413ccd
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jns 0x413cd5
cmp byte [0x49e0ae], 0
je 0x413cd5
lea eax, [ebp - 0x30]
push eax
call fcn.00413de3
push dword [eax]
movzx eax, byte [0x49e0ae]
push edi
push str.Failed_to_delete_key__S__S
push eax
mov dword [ebp - 4], 1
call fcn.00410bbc
mov ecx, dword [ebp - 0x30]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.0040e40e
call fcn.00449057
ret
Function at 0x41485a
Capabilities:
Delete registry value

Disassembly:
push 0x40
mov eax, 0x46d513
call fcn.004490ad
mov bl, byte [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], eax
mov al, byte [0x49e0ae]
test al, al
je 0x41489c
push str.deleteCurVersionKeys
movzx eax, al
push 0x4754d0
push eax
call fcn.00410c97
add esp, 0xc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00414fed
pop ecx
pop ecx
cmp byte [0x4f1ad0], 0
mov byte [ebp - 4], 1
jne 0x4148cb
mov esi, 0x478bb8
push esi
call fcn.0040b34f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00409685
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x20006
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x4c]
push eax
xor eax, eax
test bl, bl
sete al
add eax, 0x80000001
push eax
call fcn.004077a3
test eax, eax
jne 0x414966
mov al, byte [0x49e0ae]
test al, al
je 0x414914
push str.deleteCurVersionKeys___key_Opened
movzx eax, al
push 0x4754d0
push eax
call fcn.00410c97
add esp, 0xc
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00414289
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x414928
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
push dword [ebp - 0x4c]
call esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00409095
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0041420a
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x414954
mov eax, dword [eax]
push eax
push dword [ebp - 0x4c]
call esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00409095
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409095
lea ecx, [ebp - 0x4c]
call fcn.00405d7f
call fcn.00449057
ret

Function at 0x414980
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x46d548
call fcn.004490ad
mov al, byte [0x49e0ae]
mov edi, str.deleteDesktopShortcut____S
mov esi, dword [ebp + 8]
test al, al
je 0x4149ab
push esi
movzx eax, al
push edi
push eax
call fcn.00410bbc
add esp, 0xc
xor ebx, ebx
lea eax, [ebp - 0x28]
push ebx
push ebx
push ebx
push 6
push eax
call fcn.0040e562
add esp, 0x14
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x414a32
call fcn.004073d3
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040de0c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push str._s_s.lnk
push eax
call fcn.00413d15
mov esi, dword [ebp - 0x2c]
push esi
call fcn.0040e289
add esp, 0x14
test al, al
je 0x414a2a
mov al, byte [0x49e0ae]
test al, al
je 0x414a1a
push esi
movzx eax, al
push edi
push eax
call fcn.00410bbc
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
lea ecx, [esi - 0x10]
call fcn.0040e40e
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409095
mov al, bl
call fcn.00449057
ret
Function at 0x414a46
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x46d548
call fcn.004490ad
mov al, byte [0x49e0ae]
mov bl, byte [ebp + 8]
mov esi, dword [ebp + 0xc]
test al, al
je 0x414a73
push esi
movzx eax, al
push str.deleteProgramsShortcut____S
push eax
call fcn.00410bbc
add esp, 0xc
xor eax, eax
xor edi, edi
push 1
test bl, bl
push edi
sete al
add eax, 3
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e562
add esp, 0x14
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], edi
je 0x414aff
call fcn.004073d3
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040de0c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push str._s_s.lnk
push eax
call fcn.00413d15
mov esi, dword [ebp - 0x2c]
push esi
call fcn.0040e289
add esp, 0x14
test al, al
je 0x414af7
mov al, byte [0x49e0ae]
test al, al
je 0x414af0
push esi
movzx eax, al
push str.deleteProgramsShortcut____S
push eax
call fcn.00410bbc
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.0040e40e
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00409095
call fcn.00449057
ret
Function at 0x41c1f7
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41c227
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
add eax, 4
push eax
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x41c227
cmp dword [ebp + 0xc], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x41c229
xor al, al
pop esi
pop ebp
ret 8
Function at 0x41d647
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044d7a0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41d6a1
cmp dword [ebp - 0x114], 6
jne 0x41d6a1
cmp dword [ebp - 0x110], 1
jne 0x41d6a1
mov al, 1
jmp 0x41d6a3
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449031
mov esp, ebp
pop ebp
ret

Function at 0x41d6b1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044d7a0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41d70b
cmp dword [ebp - 0x108], 2
jne 0x41d70b
cmp dword [ebp - 0x114], 5
jne 0x41d70b
mov al, 1
jmp 0x41d70d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449031
mov esp, ebp
pop ebp
ret

Function at 0x41d71b
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e876
mov eax, dword fs:[0]
push eax
mov eax, 0x28a0
call fcn.004491a0
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28ac]
mov dword [ebp - 0x28ac], 0x2880
push eax
lea eax, [ebp - 0x2890]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
lea esi, [ebp - 0x2890]
cmp dword [esi + 0x1a0], 6
jne 0x41d81d
movzx eax, byte [esi + 0x19b]
push eax
movzx eax, byte [esi + 0x19a]
push eax
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x28a8]
push str._02x__02x__02x__02x__02x__02x__02x__02x
push eax
call fcn.0040efce
add esp, 0x28
mov dl, byte [0x49e0ae]
and dword [ebp - 4], 0
test dl, dl
je 0x41d80a
cmp dword [ebp - 0x2894], 0x10
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp - 0x28a8]
movzx eax, dl
cmovae ecx, dword [ebp - 0x28a8]
push ecx
push str.MAC:__s_Name:__s
push eax
call fcn.00410bbc
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28a8]
push 0
push 1
call fcn.00409040
mov esi, dword [esi]
test esi, esi
jne 0x41d76e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449031
mov esp, ebp
pop ebp
ret
Function at 0x41e956
Capabilities:
Get geographical location

Disassembly:
push 0x364
mov eax, 0x46eb77
call fcn.004490ad
mov edi, ecx
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
mov ebx, 0x100
cmp esi, 0xffffffff
je 0x41e98e
push 0
push ebx
lea eax, [ebp - 0x310]
push eax
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
push ebx
lea eax, [ebp - 0x310]
push eax
push ebx
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.00454963
add esp, 0x14
lea ecx, [ebp - 0x370]
call fcn.0043754e
push dword [0x4f2078]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x370]
call fcn.0043795b
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x370]
call fcn.00437589
xor ebx, ebx
lea eax, [ebp - 0x110]
inc ebx
mov ecx, 0x473948
cmp esi, 0xffffffff
mov byte [ebp - 4], bl
cmove eax, ecx
lea ecx, [ebp - 0x328]
push eax
call fcn.00403e21
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 2
push eax
call fcn.0043e28c
pop ecx
xor esi, esi
mov byte [ebp - 4], bl
push esi
push ebx
lea ecx, [ebp - 0x328]
call fcn.00409040
lea eax, [ebp - 0x340]
push eax
call fcn.0043e248
mov eax, dword [edi]
pop ecx
lea ecx, [ebp - 0x358]
push ecx
mov ecx, edi
call dword [eax + 0x90]
push eax
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 3
push eax
call fcn.0040ee93
push eax
mov byte [ebp - 4], 4
call fcn.0043e2d0
add esp, 0xc
lea ecx, [ebp - 0x328]
push esi
push ebx
call fcn.00409040
push esi
push ebx
lea ecx, [ebp - 0x358]
call fcn.00409095
push esi
push ebx
lea ecx, [ebp - 0x340]
call fcn.00409040
lea ecx, [ebp - 0x370]
call fcn.00437584
call fcn.00449057
ret
Function at 0x41ead2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ebaa
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.004491a0
mov eax, dword [0x49e5f4]
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 eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x102c], eax
mov al, byte [0x49e0ae]
test al, al
je 0x41eb2f
push ebx
push edi
movzx eax, al
push str.Bootstrapper::CreateProcess_module___S__args___S
push eax
call fcn.00410bbc
add esp, 0x10
push 0x40
lea eax, [ebp - 0x106c]
push 0
push eax
call fcn.0044d7a0
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1070], 0x44
push 0
push eax
call fcn.0044d7a0
add esp, 0x18
lea eax, [ebp - 0x1010]
cmp word [edi], 0x22
mov esi, 0x800
je 0x41eba1
push 0x4799a4
push esi
push eax
call fcn.00454573
push edi
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004544fe
push 0x4799a4
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004544fe
add esp, 0x24
jmp 0x41ebac
push edi
push esi
push eax
call fcn.00454573
add esp, 0xc
push 0x475640
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004544fe
push ebx
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004544fe
push edi
lea eax, [ebp - 0x1028]
push str.CreateProcess__S_failed
push eax
call fcn.0040efce
add esp, 0x24
push eax
push dword [ebp - 0x102c]
xor ebx, ebx
lea eax, [ebp - 0x1070]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1010]
mov dword [ebp - 4], ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push eax
call fcn.004158b7
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1028]
call fcn.00409040
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.00449031
mov esp, ebp
pop ebp
ret 0xc
Function at 0x420bf3
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49e5f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x1c]
push edi
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x60]
cmp dword [eax + 0x14], 8
jb 0x420c1a
mov eax, dword [eax]
xor edi, edi
lea ecx, [ebp - 0x24]
push edi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push edi
push 1
lea ecx, [ebp - 0x1c]
call fcn.00409095
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.004494e0
movsd xmm1, qword [0x47d9a0]
comisd xmm1, xmm0
ja 0x420c5d
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449031
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14c]
push edi
push str.There_is_not_enough_room_on_your_disk_to_install_Roblox._Please_free_up_some_space_and_try_again.
mov eax, dword [ecx]
call dword [eax + 0x1c]
push str.InstallerError
lea ecx, [ebp - 0x14]
call fcn.0040487f
push 0x497b98
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], vtable.installer_error_exception.0
push eax
mov dword [ebp - 8], 5
call fcn.0044b5d4
int3

Function at 0x421589
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x471d26
call fcn.004490ad
mov esi, dword [ebp + 8]
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4215da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4215da
push esi
lea eax, [ebp - 0x28]
push str.CreateDirectory__S_failed
push eax
call fcn.0040efce
push eax
push edi
mov dword [ebp - 4], edi
call fcn.004158b7
add esp, 0x14
lea ecx, [ebp - 0x28]
push edi
push 1
call fcn.00409040
call fcn.00449057
ret