joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412600
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
mov eax, dword [0x49b7f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x40
lea eax, [ebp - 0x5c]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00454000
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push esi
push 0
mov dword [ebp - 0x60], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41267a
call fcn.0040fc50
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x412686
cmp dword [ebp - 0x1c], eax
je 0x412694
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push dword [ebp - 0x1c]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4143e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4143f9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x414434
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x414430
lea ebx, [ebx]
cmp esi, edx
jae 0x414434
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x414420
cmp esi, edx
jb 0x41443b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x414450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4144c1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41448f
cmp eax, 2
jne 0x4144ab
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4144bb
test ecx, ecx
je 0x4144b6
test cl, 1
jne 0x4144ab
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4144bb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x418990
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
push 0
push dword [edi + 0x48]
mov byte [edi + 0x30], 1
call esi
push 0
push dword [edi + 0x40]
call esi
push 0
push dword [edi + 0x44]
call esi
push 0x441f42
push 0x12c
push 1
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_SetTimer]
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 0x4189f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d510
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x49b7f8]
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 ecx, dword [esi + 0x80]
test ecx, ecx
je 0x418b34
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
call dword [eax]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x418a40
mov eax, dword [eax]
push str._develop
push eax
lea eax, [ebp - 0x28]
push str._S_s
push eax
call fcn.0042fbea
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x10
jb 0x418a6c
push dword [ebp - 0x40]
call fcn.0044f82f
add esp, 4
push 4
push 0
push 0x47fc18
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00418ba0
test eax, eax
je 0x418adf
push 5
push 0
push str.http:
lea ecx, [ebp - 0x28]
call fcn.00418ba0
test eax, eax
je 0x418adf
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.0042fbea
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.00408650
cmp dword [ebp - 0x44], 8
jb 0x418adf
push dword [ebp - 0x58]
call fcn.0044f82f
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [esi + 0x80]
add eax, 0x160
push str.Opening_developer_page:_url_S
push eax
call fcn.004087a0
add esp, 0xc
cmp dword [ebp - 0x14], 8
push 1
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x14], 8
jb 0x418b34
push dword [ebp - 0x28]
call fcn.0044f82f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f834
mov esp, ebp
pop ebp
ret
Function at 0x41a8bf
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x34
mov eax, 0x46edb1
call fcn.00454b83
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x442a19
push 0
push 0
call fcn.0045301b
add esp, 0x18
test eax, eax
je 0x41a913
mov ecx, dword [esi]
xor edx, edx
add ecx, 4
inc edx
lock xadd dword [ecx], edx
mov ecx, dword [esi]
push eax
add ecx, 8
call fcn.0041a671
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.00454b32
ret
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x3c]
call fcn.00401f70
mov dword [ebp - 0x3c], vtable.boost::thread_resource_error.0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040b0d0
int3

Function at 0x41b217
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e56e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x106c
call fcn.00461c20
mov eax, dword [0x49b7f8]
xor eax, esp
mov dword [esp + 0x1068], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f8]
xor eax, esp
push eax
lea eax, [esp + 0x1080]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
push edi
mov dword [esp + 0x18], eax
lea eax, [ecx + 0x160]
push str.Bootstrapper::CreateProcess_module___S__args___S
push eax
call fcn.004087a0
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00454000
add esp, 0x1c
xor eax, eax
push 0xffe
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
mov dword [esp + 0x20], 0x44
call fcn.00454000
add esp, 0xc
cmp word [edi], 0x22
mov esi, 0x800
lea eax, [esp + 0x74]
je 0x41b2ee
push 0x4807dc
push esi
push eax
call fcn.00450e20
add esp, 0xc
lea eax, [esp + 0x74]
push edi
push esi
push eax
call fcn.0045198d
add esp, 0xc
lea eax, [esp + 0x74]
push 0x4807dc
push esi
push eax
call fcn.0045198d
jmp 0x41b2f6
push edi
push esi
push eax
call fcn.00450e20
add esp, 0xc
lea eax, [esp + 0x74]
push 0x47c760
push esi
push eax
call fcn.0045198d
add esp, 0xc
lea eax, [esp + 0x74]
push ebx
push esi
push eax
call fcn.0045198d
add esp, 0xc
lea eax, [esp + 0x5c]
push edi
push str.CreateProcess__S_failed
push eax
call fcn.0042fa5d
add esp, 0xc
mov esi, eax
push dword [esp + 0x10]
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push 0x20
push ecx
push ecx
push ecx
lea eax, [esp + 0x94]
push eax
push ecx
mov dword [esp + 0x10b0], ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41b363
mov ecx, esi
call fcn.0042d9c1
lea ecx, [esp + 0x5c]
call fcn.00404060
mov ecx, dword [esp + 0x1080]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1068]
xor ecx, esp
call fcn.0044f834
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b889
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49b7f8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00454000
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41b8e3
cmp dword [ebp - 0x108], 2
jne 0x41b8e3
cmp dword [ebp - 0x114], 5
jne 0x41b8e3
mov al, 1
jmp 0x41b8e5
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f834
leave
ret

Function at 0x41bb04
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e747
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x49b7f8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, vtable.ATL::CAccessToken.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0xa8], 1
call fcn.0041ba6c
mov byte [esp + 0xa8], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [esp + 0x10]
push ecx
push 1
mov edi, 0x2000a
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x41bbbe
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x41bbd9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x10]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x41bba9
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x41bc00
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
jmp 0x41bc04
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x41bc21
cmp dword [esp + 0x10], 0
setne bl
lea ecx, [esp + 0x34]
call fcn.0041b9ed
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.0041bac3
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.0041bac3
mov al, bl
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0044f834
mov esp, ebp
pop ebp
ret
Function at 0x41c119
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ea66
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x49b7f8]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f8]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov edi, ecx
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
xor ebx, ebx
mov ecx, pe_nt_image_headers32
cmp esi, 0xffffffff
je 0x41c189
push ebx
push ecx
lea eax, [esp + 0x194]
push eax
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov ecx, pe_nt_image_headers32
push ecx
lea eax, [esp + 0x190]
push eax
push ecx
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00451d27
add esp, 0x14
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 0x4e40000
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3a0], ebx
push dword [0x4a4da4]
lea ecx, [esp + 0x18]
call fcn.0042d099
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
call fcn.0042d2bc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a0], 1
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x50]
push eax
mov ecx, 0x4a616c
call fcn.00407e40
lea ecx, [esp + 0x2c]
call fcn.00404060
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov byte [0x4a5fc6], al
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x98]
mov byte [0x4a5fc5], al
mov ecx, 0x47c2d4
lea eax, [esp + 0x8c]
cmp esi, 0xffffffff
cmove eax, ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00407d70
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x44]
mov byte [esp + 0x3a0], 2
call fcn.0044519d
push eax
mov ecx, 0x49ceb4
call fcn.00407e40
lea ecx, [esp + 0x44]
call fcn.00404060
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a0], 1
call fcn.00404060
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x44]
call fcn.0044519d
push eax
mov ecx, 0x49ce9c
call fcn.00407e40
lea ecx, [esp + 0x44]
call fcn.00404060
mov eax, dword [edi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call dword [eax + 0xe0]
mov byte [esp + 0x3a0], 3
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.0042f811
mov edx, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3a0], 4
call fcn.0044519d
push eax
mov ecx, 0x49ce84
call fcn.00407e40
lea ecx, [esp + 0x44]
call fcn.00404060
lea ecx, [esp + 0x2c]
call fcn.00404060
lea ecx, [esp + 0x74]
call fcn.00408690
call fcn.004500f4
cdq
mov ecx, 0x2710
idiv ecx
lea ecx, [esp + 0x5c]
mov dword [0x49ce10], edx
call fcn.00404060
lea ecx, [esp + 0x14]
call fcn.0042d070
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.0044f834
mov esp, ebp
pop ebp
ret
Function at 0x41cda3
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e780
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x28a8
call fcn.00461c20
mov eax, dword [0x49b7f8]
xor eax, esp
mov dword [esp + 0x28a4], eax
push esi
push edi
mov eax, dword [0x49b7f8]
xor eax, esp
push eax
lea eax, [esp + 0x28b8]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x18], 0x2880
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea esi, [esp + 0x2c]
cmp dword [esi + 0x1a0], 6
jne 0x41cea4
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, [esp + 0x34]
push str._02x__02x__02x__02x__02x__02x__02x__02x
push eax
call fcn.0042fa5d
and dword [esp + 0x28e8], 0
cmp dword [esp + 0x50], 0x10
lea eax, [esi + 0x10c]
push eax
lea ecx, [esp + 0x40]
cmovae ecx, dword [esp + 0x40]
push ecx
lea eax, [edi + 0x160]
push str.MAC:__s_Name:__s
push eax
call fcn.004087a0
or dword [esp + 0x28f8], 0xffffffff
add esp, 0x38
lea ecx, [esp + 0x14]
call fcn.00404060
mov esi, dword [esi]
test esi, esi
jne 0x41ce05
mov ecx, dword [esp + 0x28b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28a4]
xor ecx, esp
call fcn.0044f834
mov esp, ebp
pop ebp
ret
Function at 0x41fe46
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46eede
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x49b7f8]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f8]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x160]
push str.deploySelf
push edi
call fcn.004087a0
pop ecx
pop ecx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0041fde6
and dword [esp + 0x290], 0
push 8
pop ebx
cmp dword [esp + 0x28], ebx
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
push str.Bootstrapper::deploySelf___Final_file_path_S
push edi
call fcn.004087a0
add esp, 0xc
cmp dword [esp + 0x28], ebx
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ffcf
push str._PathFileExists
push edi
call fcn.004087a0
pop ecx
pop ecx
push str.Error_when_getting_bootstrapper_filename_for_selfDeploy
lea ecx, [esp + 0x60]
call fcn.00407d70
push 0x104
lea eax, [esp + 0x78]
push eax
push 0
mov byte [esp + 0x29c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x41ff2c
lea ecx, [esp + 0x5c]
call fcn.0042d9c1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], 0
call fcn.00404060
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
call fcn.00408580
mov byte [esp + 0x290], 2
cmp dword [esp + 0x40], ebx
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
push str.GetModuleFileName:__S
push edi
call fcn.004087a0
add esp, 0xc
cmp dword [esp + 0x28], ebx
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
cmp dword [esp + 0x40], ebx
lea edx, [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
push eax
mov ecx, edi
call fcn.0042dd06
cmp dword [esp + 0x2c], ebx
pop ecx
lea ecx, [esp + 0x14]
cmovae ecx, dword [esp + 0x14]
cmp dword [esp + 0x40], ebx
push ecx
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
push str.Copy:_from___S_to__S
push edi
call fcn.004087a0
add esp, 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x290], 0
call fcn.00408690
jmp 0x41ffdc
push str.PathFileExists
push edi
call fcn.004087a0
pop ecx
pop ecx
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0xa4]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xe0]
mov byte [esp + 0x290], 4
cmp dword [esp + 0x58], ebx
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
cmp dword [eax + 0x14], ebx
jb 0x42001e
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.0041ea3f
lea ecx, [esp + 0x5c]
call fcn.00408690
lea ecx, [esp + 0x44]
call fcn.00408690
lea ecx, [esp + 0x14]
call fcn.00408690
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0044f834
mov esp, ebp
pop ebp
ret 4
Function at 0x420068
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x46ed84
call fcn.00454b83
mov esi, ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4200b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4200b5
push esi
lea eax, [ebp - 0x28]
push str.CreateDirectory__S_failed
push eax
call fcn.0042fa5d
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0042d9c1
lea ecx, [ebp - 0x28]
call fcn.00404060
call fcn.00454b32
ret
Function at 0x422504
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x49b7f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0xa4]
cmp dword [eax + 0x14], 8
jb 0x42252e
mov eax, dword [eax]
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x1c]
call fcn.00408690
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
movsd xmm0, qword [0x489ad8]
mov dword [ebp - 0x28], eax
mov eax, ecx
and ecx, 0x7fffffff
mov dword [ebp - 0x24], ecx
fild qword [ebp - 0x28]
and eax, 0x80000000
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
fild qword [ebp - 0x28]
fchs
faddp st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fstp qword [ebp - 0x30]
comisd xmm0, xmmword [ebp - 0x30]
ja 0x422594
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f834
leave
ret
mov ecx, dword [esi + 0x134]
push edi
mov eax, dword [ecx]
push str.There_is_not_enough_room_on_your_disk_to_install_Roblox._Please_free_up_some_space_and_try_again.
call dword [eax + 0x1c]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x24], str.InstallerError
call fcn.0044f8e7
push 0x48ee34
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], vtable.installer_error_exception.0
mov dword [ebp - 0x3c], 5
call fcn.00454ac3
int3
Function at 0x424ec8
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ef34
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49b7f8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edx, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.0042dce7
and dword [esp + 0x88], 0
cmp dword [eax + 0x14], 0x10
jb 0x424f26
mov eax, dword [eax]
push eax
lea eax, [esi + 0x160]
push str.ERROR:__s
push eax
call fcn.004087a0
or dword [esp + 0x94], 0xffffffff
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00404060
lea ebx, [esi + 0x70]
push 0x18
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
pop edi
cdq
idiv edi
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x42500b
cmp byte [esi + 0x4b], al
je 0x42500b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xcc]
push eax
lea ecx, [esp + 0x34]
call fcn.00408580
lea edx, [esp + 0x30]
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], 1
call fcn.0042f811
push eax
mov edx, str.An_error_occurred_while_starting
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 2
call fcn.0040bf20
pop ecx
lea ecx, [esp + 0x48]
call fcn.00404060
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 5
call fcn.00408690
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 0x134]
cmp dword [esp + 0x2c], 0x10
mov eax, dword [ecx]
mov esi, dword [ebx]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
call dword [eax + 4]
push eax
push edi
mov ecx, ebx
call dword [esi + 0x1c]
or dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00404060
mov ebx, dword [esp + 0x14]
push 0x18
pop edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x60]
call fcn.0042dce7
mov esi, eax
mov dword [esp + 0x88], 6
mov ecx, dword [ebx + 4]
cmp esi, ecx
jae 0x425054
cmp dword [ebx], esi
ja 0x425054
sub esi, dword [ebx]
mov eax, esi
cdq
idiv edi
mov esi, eax
cmp ecx, dword [ebx + 8]
jne 0x425046
push ecx
mov ecx, ebx
call fcn.0042750a
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x42506e
imul esi, esi, 0x18
add esi, dword [ebx]
jmp 0x425068
cmp ecx, dword [ebx + 8]
jne 0x425061
push ecx
mov ecx, ebx
call fcn.0042750a
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x42506e
push esi
call fcn.00407dd0
add dword [ebx + 4], edi
lea ecx, [esp + 0x60]
call fcn.00404060
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0044f834
mov esp, ebp
pop ebp
ret 4
Function at 0x425218
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x46f3f2
call fcn.00454b50
mov esi, ecx
push 0x800
xor edi, edi
push edi
push edi
push 0xf001f
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x42527f
lea ecx, [ebp - 0x10]
call fcn.0042d9e8
mov dword [ebp - 4], edi
push dword [eax]
lea eax, [esi + 0x160]
push str.Could_not_map_view_of_file:__S
push eax
call fcn.004087a0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00410c00
cmp dword [esi + 0x34], edi
je 0x42527b
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x34], edi
mov al, 1
jmp 0x425294
mov esi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call sub.KERNEL32.dll_GetCurrentProcessId
xor ecx, ecx
cmp esi, eax
sete al
call fcn.00454b1e
ret