joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40daa0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x493350]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.00450ab0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
setae al
xor ecx, esp
call fcn.0044cced
add esp, 0x118
ret
Function at 0x40e070
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x467618
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
mov eax, dword [0x493350]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
push 0x40
lea eax, [esp + 0x20]
push esi
push eax
mov dword [esp + 0x70], esi
call fcn.00450ab0
mov eax, dword [esp + 0x78]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push esi
push 0x20
push esi
push esi
push esi
push eax
push esi
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40e0e0
call fcn.0040b4f0
mov eax, dword [esp + 0xc]
cmp eax, esi
jne 0x40e0ee
cmp dword [esp + 8], esi
je 0x40e0fe
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x60
ret
Function at 0x40fbc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40fbd7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40fc08
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x40fc04
cmp esi, eax
jae 0x40fc08
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x40fbf4
cmp esi, eax
jb 0x40fc0e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x40fc20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fc8e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x40fc5f
cmp eax, 2
jne 0x40fc7a
mov eax, dword [esp]
test esi, esi
je 0x40fc88
test eax, eax
je 0x40fc83
test al, 1
jne 0x40fc7a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x40fc88
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x4132a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46754b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x493350]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0044ba30
push 4
mov dword [esp + 0x20], 0
call fcn.0044d0eb
mov edi, eax
add esp, 4
test edi, edi
je 0x41331e
call fcn.0044bdab
mov dword [edi], eax
call fcn.0044bbd9
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0044bf06
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x413313
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0044bf2e
jmp 0x413320
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x418180
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
mov eax, dword [esi + 0x48]
push 0
push eax
mov byte [esi + 0x30], 1
call edi
mov ecx, dword [esi + 0x40]
push 0
push ecx
call edi
mov edx, dword [esi + 0x44]
push 0
push edx
call edi
mov eax, dword [esi + 0x58]
push 0x444435
push 0x12c
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 0x74]
push 1
push ecx
call edi
mov edx, dword [esi + 0x78]
push 1
push edx
call edi
mov eax, dword [esi + 0x7c]
push 1
push eax
call edi
mov ecx, dword [esi + 0x58]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
ret

Function at 0x418220
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x493350]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
mov eax, dword [0x493350]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x80], ebx
je 0x41839f
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x10]
push edx
call eax
mov ebp, 0x10
mov dword [esp + 0x70], ebx
cmp dword [eax + 0x18], ebp
jb 0x418283
mov eax, dword [eax + 4]
jmp 0x418286
add eax, 4
push str._develop
push eax
push str._S_s
lea esi, [esp + 0x54]
call fcn.00431a4a
add esp, 0xc
mov byte [esp + 0x70], 2
cmp dword [esp + 0x28], ebp
jb 0x4182b5
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044cce2
add esp, 4
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
push 0x477b68
mov ebx, 4
xor eax, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x2c], 0xf
call fcn.004183f0
lea ebp, [ebx + 4]
test eax, eax
je 0x418342
push str.http:
lea ebx, [ebp - 3]
xor eax, eax
lea edx, [esp + 0x4c]
call fcn.004183f0
test eax, eax
je 0x418342
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x60], ebp
jae 0x418306
lea eax, [esp + 0x4c]
push eax
push str.http:___s
lea esi, [esp + 0x34]
call fcn.00431a4a
add esp, 8
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 3
call fcn.00407540
mov byte [esp + 0x70], 2
cmp dword [esp + 0x44], ebp
jb 0x418342
mov edx, dword [esp + 0x30]
push edx
call fcn.0044cce2
add esp, 4
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x60], ebp
jae 0x418350
lea eax, [esp + 0x4c]
mov esi, dword [edi + 0x80]
push eax
push str.Opening_developer_page:_url_S
add esi, 0x1ac
call fcn.00406fa0
mov eax, dword [esp + 0x54]
add esp, 8
cmp dword [esp + 0x60], ebp
jae 0x418378
lea eax, [esp + 0x4c]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x60], ebp
jb 0x41839f
mov eax, dword [esp + 0x4c]
push eax
call fcn.0044cce2
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0044cced
add esp, 0x64
ret
Function at 0x419bf9
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x4c
mov eax, 0x46d11e
call fcn.004511dd
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x30]
push ecx
push 4
push eax
push 0x444f9c
xor esi, esi
push esi
push esi
call fcn.0044fe32
add esp, 0x18
cmp eax, esi
je 0x419c4d
mov ecx, dword [edi]
xor edx, edx
add ecx, 4
inc edx
lock xadd dword [ecx], edx
mov ecx, dword [edi]
push eax
lea esi, [ecx + 8]
call fcn.0041996b
mov edi, dword [edi]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.004512b5
ret
push str.boost::thread_resource_error
push 0xb
lea eax, [ebp - 0x58]
call fcn.00401970
mov dword [ebp - 0x58], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], esi
call fcn.00409110
int3

Function at 0x41aa99
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d06a
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.00460740
mov eax, dword [0x493350]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push ecx
push edi
push str.Bootstrapper::CreateProcess_module___S__args___S
lea esi, [eax + 0x1ac]
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 0x1018], edx
call fcn.00406fa0
add esp, 0xc
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x1080]
push ebx
push eax
call fcn.00450ab0
add esp, 0xc
xor eax, eax
push 0xffe
mov word [ebp - 0x1014], ax
lea eax, [ebp - 0x1012]
push ebx
push eax
mov dword [ebp - 0x1084], 0x44
call fcn.00450ab0
add esp, 0xc
cmp word [edi], 0x22
mov esi, 0x800
lea eax, [ebp - 0x1014]
je 0x41ab6f
push 0x477f7c
push esi
push eax
call fcn.0044dca8
add esp, 0xc
push edi
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044ebe5
add esp, 0xc
push 0x477f7c
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044ebe5
jmp 0x41ab77
push edi
push esi
push eax
call fcn.0044dca8
add esp, 0xc
push 0x474860
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044ebe5
add esp, 0xc
push dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044ebe5
add esp, 0xc
push edi
push str.CreateProcess__S_failed
lea esi, [ebp - 0x1038]
call fcn.004318ef
pop ecx
pop ecx
mov esi, eax
push dword [ebp - 0x1018]
lea eax, [ebp - 0x1084]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1014]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41abea
mov eax, esi
call fcn.0042f9de
lea ecx, [ebp - 0x1038]
call fcn.00406d50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044cced
leave
ret 4
Function at 0x41b0c8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x493350]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00450ab0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41b11b
cmp dword [ebp - 0x70], 2
jne 0x41b11b
cmp dword [ebp - 0x7c], 5
jne 0x41b11b
mov al, 1
jmp 0x41b11d
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044cced
add ebp, 0x98
leave
ret

Function at 0x41b132
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x493350]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00450ab0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41b183
cmp dword [ebp - 0x7c], 6
jne 0x41b183
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x41b185
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044cced
add ebp, 0x98
leave
ret
Function at 0x41b382
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a455
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x493350]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x493350]
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 eax, [esp + 0x34]
mov byte [esp + 0xa8], 1
call fcn.0041b2f4
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
jne 0x41b43e
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
je 0x41b451
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 2
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x41b479
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x41b498
cmp dword [esp + 0x10], ebx
setne bl
lea ecx, [esp + 0x34]
call fcn.0041b27d
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.0041b344
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.0041b344
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.0044cced
mov esp, ebp
pop ebp
ret
Function at 0x41b952
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0x31c
lea ebp, [esp - 4]
mov eax, dword [0x493350]
xor eax, ebp
mov dword [ebp + 0x31c], eax
push 0xe8
mov eax, 0x46b1cd
call fcn.004511dd
mov esi, ecx
call fcn.0044d4cc
cdq
mov ecx, 0x2710
idiv ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, esi
mov dword [esi + 0x154], edx
call dword [eax + 0x58]
mov ebx, eax
and dword [ebp - 4], 0
mov eax, dword [esi]
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, esi
call dword [eax + 0x54]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x50]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x4c]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xd8]
mov ecx, eax
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.004316b9
push ebx
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push eax
call fcn.00431c70
add esp, 0x14
mov ecx, edi
call fcn.00406d50
lea esi, [ebp - 0xbc]
call fcn.00406e40
lea ecx, [ebp - 0xf4]
call fcn.00406d50
lea ecx, [ebp - 0xa0]
call fcn.00406d50
lea ecx, [ebp - 0xd8]
call fcn.00406d50
or ebx, 0xffffffff
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], ebx
call fcn.00406d50
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov edi, eax
mov esi, 0x100
cmp edi, ebx
je 0x41ba7e
push 0
push esi
lea eax, [ebp + 0x1c]
push eax
push 8
push edi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
push esi
lea eax, [ebp + 0x1c]
push eax
push esi
lea eax, [ebp + 0x21c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044ef5e
add esp, 0x14
lea eax, [ebp + 0x21c]
cmp edi, ebx
jne 0x41baa6
mov eax, 0x476151
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406ce0
push ebx
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x494850
mov dword [ebp - 4], 6
call fcn.00407320
lea ecx, [ebp - 0x4c]
call fcn.00406d50
lea eax, [ebp - 0x30]
call fcn.0042e970
mov dword [ebp - 4], 7
push dword [0x49cb24]
mov ecx, eax
call fcn.0042e9bf
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.0042ec73
mov byte [ebp - 4], 8
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x41bb07
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x68]
call fcn.00406ce0
push ebx
push 0
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x49486c
mov byte [ebp - 4], 9
call fcn.00407320
lea ecx, [ebp - 0x68]
call fcn.00406d50
lea ecx, [ebp]
call fcn.00406d50
lea esi, [ebp - 0x30]
call fcn.0042e992
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x31c]
xor ecx, ebp
call fcn.0044cced
add ebp, 0x320
leave
ret
Function at 0x41c7a1
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d037
mov eax, dword fs:[0]
push eax
mov eax, 0x28a4
call fcn.00460740
mov eax, dword [0x493350]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28b0]
push eax
lea eax, [ebp - 0x28ac]
push eax
mov dword [ebp - 0x28b0], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
lea edi, [ebp - 0x28ac]
cmp dword [edi + 0x1a0], 6
jne 0x41c889
movzx eax, byte [edi + 0x19b]
push eax
movzx eax, byte [edi + 0x19a]
push eax
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x__02x__02x
lea esi, [ebp - 0x2c]
call fcn.004318ef
add esp, 0x24
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41c862
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x10c]
push ecx
push eax
push str.MAC:__s_Name:__s
lea esi, [ebx + 0x1ac]
call fcn.00406fa0
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00406d50
mov edi, dword [edi]
test edi, edi
jne 0x41c7f5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044cced
leave
ret
Function at 0x41fa9a
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x25c
lea ebp, [esp - 4]
mov eax, dword [0x493350]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push 0x1c
mov eax, 0x46e218
call fcn.004511dd
lea ecx, [ebp + 0x38]
mov edx, edi
call fcn.0041fa3f
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x3c]
push 8
pop ebx
cmp dword [ebp + 0x50], ebx
jae 0x41fada
lea eax, [ebp + 0x3c]
push eax
lea esi, [edi + 0x1ac]
push str.Bootstrapper::deploySelf___Final_file_path_S
call fcn.00406fa0
mov eax, dword [ebp + 0x3c]
pop ecx
pop ecx
cmp dword [ebp + 0x50], ebx
jae 0x41faf8
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fbc8
push str._PathFileExists
call fcn.00406fa0
lea ecx, [ebp - 0x28]
mov dword [esp], str.Error_when_getting_bootstrapper_filename_for_selfDeploy
call fcn.00406ce0
push 0x104
lea eax, [ebp + 0x54]
push eax
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x41fb41
lea eax, [ebp - 0x28]
call fcn.0042f9de
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00406d50
lea eax, [ebp + 0x54]
lea ecx, [ebp + 0x1c]
call fcn.00406dd0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], ebx
jae 0x41fb67
lea eax, [ebp + 0x20]
push eax
push str.GetModuleFileName:__S
call fcn.00406fa0
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], ebx
jae 0x41fb7f
lea ecx, [ebp + 0x3c]
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], ebx
jae 0x41fb8a
lea eax, [ebp + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.0042fcfb
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], ebx
jae 0x41fba0
lea ecx, [ebp + 0x3c]
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], ebx
jae 0x41fbab
lea eax, [ebp + 0x20]
push ecx
push eax
push str.Copy:_from___S_to__S
call fcn.00406fa0
add esp, 0xc
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.00406e40
jmp 0x41fbd3
push str.PathFileExists
call fcn.00406fa0
pop ecx
mov eax, dword [edi]
lea ecx, [ebp]
push ecx
mov ecx, edi
call dword [eax + 0x9c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xd8]
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 4]
cmp dword [ebp + 0x18], ebx
jae 0x41fc02
lea ecx, [ebp + 4]
cmp dword [eax + 0x18], ebx
jb 0x41fc0c
mov eax, dword [eax + 4]
jmp 0x41fc0f
add eax, 4
push ecx
push eax
push edi
call fcn.0041e553
lea esi, [ebp - 0x28]
call fcn.00406e40
lea esi, [ebp]
call fcn.00406e40
lea esi, [ebp + 0x38]
call fcn.00406e40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x25c]
xor ecx, ebp
call fcn.0044cced
add ebp, 0x260
leave
ret
Function at 0x41fc52
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x46b858
call fcn.004511dd
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41fc9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41fc9c
push dword [ebp + 8]
lea esi, [ebp - 0x28]
push str.CreateDirectory__S_failed
call fcn.004318ef
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.0042f9de
mov ecx, esi
call fcn.00406d50
call fcn.004512b5
ret
Function at 0x4221a3
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx]
sub esp, 0x2c
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x9c]
cmp dword [eax + 0x18], 8
jb 0x4221c2
mov eax, dword [eax + 4]
jmp 0x4221c5
add eax, 4
push esi
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea esi, [ebp - 0x2c]
call fcn.00406e40
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
fild qword [ebp - 0x18]
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x481848]
fnstsw ax
test ah, 5
jp 0x42223c
mov ecx, dword [ebx + 0x160]
mov eax, dword [ecx]
push 0
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]
push 5
lea esi, [ebp - 0x20]
call fcn.0042e833
push 0x486754
mov eax, esi
push eax
call fcn.00450dab
pop esi
leave
ret
Function at 0x425031
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x46c929
call fcn.004511dd
mov eax, dword [edi + 0x40]
push 0x800
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x425099
lea eax, [ebp - 0x10]
push eax
call fcn.0042fa0c
and dword [ebp - 4], 0
push dword [eax]
lea esi, [edi + 0x1ac]
push str.Could_not_map_view_of_file:__S
call fcn.00406fa0
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.0040c440
mov eax, dword [edi + 0x40]
test eax, eax
je 0x425095
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x40], 0
mov al, 1
jmp 0x4250b0
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 cl
mov al, cl
call fcn.004512b5
ret
Function at 0x42545e
Capabilities:
Delete file

Disassembly:
push 0x7c
mov eax, 0x46c8f9
call fcn.00451246
mov edi, ecx
lea ebx, [edi + 0x1ac]
push str.Bootstrapper::forceMFCStudioCleanup___deleteCurVersionKeys
mov esi, ebx
call fcn.00406fa0
pop ecx
lea eax, [ebp - 0x84]
push eax
call fcn.00430518
pop ecx
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x42549b
mov eax, dword [eax + 4]
jmp 0x42549e
add eax, 4
mov cl, byte [edi + 0x59]
push eax
mov byte [ebp - 0x68], cl
push dword [ebp - 0x68]
push ebx
call fcn.0043027c
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea esi, [ebp - 0x84]
call fcn.00406e40
call fcn.004255bc
mov al, byte [edi + 0x59]
mov byte [ebp - 0x68], al
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
call fcn.004204d7
mov eax, str.RobloxStudioLauncher.exe
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.00406dd0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00409530
pop ecx
pop ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x425511
lea eax, [ebp - 0x28]
push eax
push str.Bootstrapper::forceMFCStudioCleanup___deleting_studio_stub:__S
mov esi, ebx
call fcn.00406fa0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x42552c
lea eax, [ebp - 0x28]
push eax
call fcn.00432dfe
pop ecx
test al, al
je 0x42554a
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x425543
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x2c]
call fcn.00406e40
lea esi, [ebp - 0x48]
call fcn.00406e40
lea esi, [ebp - 0x64]
call fcn.00406e40
call fcn.004512c9
ret