joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d95e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4586dc
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x47d084]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x47d084]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push dword [0x47e1ec]
lea eax, [esp + 0x30]
mov esi, ecx
call fcn.00405268
and dword [esp + 0x58], 0
fld qword [0x4779e0]
fstp qword [esp + 0x1c]
mov ecx, esi
fld qword [0x4779d8]
fstp qword [esp + 0x24]
fld qword [0x4779b0]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x4779d0]
fsubp st(1)
fadd qword [esp + 0x14]
fld qword [esp + 0x1c]
fld qword [0x4779c8]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 0x24]
fsub qword [0x4779c0]
fstp qword [esp + 0x14]
fld qword [esp + 0x24]
fld qword [esp + 0x1c]
fdivrp st(2)
fsubrp st(1)
fsub qword [esp + 0x14]
mov eax, dword [esi]
fstp qword [esp + 0x14]
call dword [eax + 4]
mov ebx, eax
push ebx
call fcn.00413950
pop ecx
mov edi, eax
push ebx
lea eax, [esp + 0x30]
call fcn.00404b3a
fld qword [0x477a20]
fst qword [esp + 0x1c]
fld qword [0x477a18]
fstp qword [esp + 0x14]
fld1
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
fstp st(0)
fld qword [esp + 0x1c]
fstp st(0)
fld qword [esp + 0x14]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
jne 0x44daba
fld qword [esp + 0x14]
fsub qword [0x477a10]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [0x477a08]
fld qword [esp + 0x14]
fmul qword [esp + 0x1c]
fmul qword [0x477a00]
fsubp st(1)
fsub qword [esp + 0x14]
fld qword [esp + 0x24]
fmul qword [0x4779f8]
faddp st(1)
fsubrp st(1)
fsub qword [esp + 0x1c]
fsub qword [0x4779f0]
fsub qword [esp + 0x14]
fstp qword [esp + 0x24]
jmp 0x44dabc
fstp st(0)
fld qword [esp + 0x1c]
fsub qword [0x4779e8]
fsub qword [esp + 0x1c]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fsub qword [esp + 0x24]
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
fstp qword [esp + 0x1c]
jae 0x44dae9
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0xc]
call fcn.0044d8ad
pop ecx
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x30]
call fcn.00405846
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041176d
mov esp, ebp
pop ebp
ret
Function at 0x403acd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x48e190]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov esi, ecx
cmp byte [esi + 0x340], 0
je 0x403b39
push pe_nt_image_headers32
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044b280
add esp, 0xc
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
jne 0x403b2a
mov ecx, esi
call fcn.0040378d
jmp 0x403b3b
cmp dword [esp + 0xc], 6
jb 0x403b39
push esi
call fcn.00402db0
jmp 0x403b3b
xor eax, eax
mov ecx, dword [esp + 0x124]
pop esi
xor ecx, esp
call fcn.0044763d
mov esp, ebp
pop ebp
ret
Function at 0x409928
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x4623b2
call fcn.0044bb02
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x38], ebx
je 0x409a3d
cmp byte [ebx + 0x41], 0
je 0x409a3d
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x409960
xor al, al
jmp 0x409a3f
push 0
push 8
pop edi
lea esi, [ebp - 0x30]
call fcn.00409260
and dword [ebp - 4], 0
lea eax, [ebx + 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.00408188
mov esi, eax
call fcn.00408599
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.00408188
mov esi, eax
call fcn.00408599
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
mov esi, dword [ebp - 0x40]
add edi, esi
push edi
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x4099d5
dec eax
je 0x4099d9
dec eax
dec eax
je 0x409a39
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00409477
mov al, bl
jmp 0x409a3f
mov byte [ebx + 0x41], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.00408188
mov esi, eax
call fcn.00408599
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x409a17
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.00408188
mov esi, eax
call fcn.00408599
push dword [ebx + 0x4c]
push edi
push 1
push eax
call fcn.0044826c
add esp, 0x10
cmp edi, eax
jne 0x4099c3
cmp byte [ebx + 0x41], 0
je 0x409a39
test edi, edi
jne 0x409977
push edi
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.004092c4
mov ebx, dword [ebp - 0x38]
jmp 0x409977
mov bl, 1
jmp 0x4099c5
mov al, 1
call fcn.0044bb85
ret

Function at 0x40c97a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c9de
cmp dword [ebp + 0xc], 1
je 0x40c9b6
cmp dword [ebp + 0xc], 2
je 0x40c9b6
push 0xd
pop eax
jmp 0x40c9de
mov eax, dword [ebp - 4]
test edi, edi
je 0x40c9d8
test eax, eax
je 0x40c9d3
test al, 1
jne 0x40c9b1
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40c9d8
jmp 0x40c9b1
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x40dd99
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0043fe32
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 0x64]
call edi
push 1
push dword [esi + 0x68]
call edi
push 0
push 0
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
ret
Function at 0x4133d8
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x4c
mov eax, 0x466dd2
call fcn.0044ba99
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x30]
push ecx
push 4
push eax
push 0x440b68
xor esi, esi
push esi
push esi
call fcn.0044a600
add esp, 0x18
cmp eax, esi
je 0x41342c
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.00413131
mov edi, dword [edi]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.0044bb71
ret
lea eax, [ebp - 0x58]
call fcn.00401a71
push eax
mov dword [ebp - 4], esi
call fcn.0040b175
int3

Function at 0x41424d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4669f4
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.0045ae80
mov eax, dword [0x48e190]
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.00408ffd
add esp, 0xc
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x1080]
push ebx
push eax
call fcn.0044b280
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.0044b280
add esp, 0xc
cmp word [edi], 0x22
mov esi, 0x800
lea eax, [ebp - 0x1014]
je 0x414323
push 0x472d2c
push esi
push eax
call fcn.00449782
add esp, 0xc
push edi
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.004497f1
add esp, 0xc
push 0x472d2c
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.004497f1
jmp 0x41432b
push edi
push esi
push eax
call fcn.00449782
add esp, 0xc
push 0x472d30
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.004497f1
add esp, 0xc
push dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.004497f1
add esp, 0xc
push edi
push str.CreateProcess__S_failed
lea esi, [ebp - 0x1038]
call fcn.0042c7ab
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 0x41439e
mov eax, esi
call fcn.00429cc8
push ebx
push 1
lea ecx, [ebp - 0x1038]
call fcn.00409477
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.0044763d
leave
ret 4
Function at 0x41488c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x48e190]
xor eax, ebp
mov dword [ebp + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0044b280
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 0x4148df
cmp dword [ebp - 0x70], 2
jne 0x4148df
cmp dword [ebp - 0x7c], 5
jne 0x4148df
mov al, 1
jmp 0x4148e1
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044763d
add ebp, 0x98
leave
ret

Function at 0x4148f6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x48e190]
xor eax, ebp
mov dword [ebp + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0044b280
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 0x414947
cmp dword [ebp - 0x7c], 6
jne 0x414947
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x414949
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0044763d
add ebp, 0x98
leave
ret
Function at 0x414b46
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46429c
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x48e190]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x48e190]
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.00414ab8
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 0x414c02
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 0x414c15
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 0x414c3d
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 0x414c5c
cmp dword [esp + 0x10], ebx
setne bl
lea ecx, [esp + 0x34]
call fcn.00414a41
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.00414b08
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00414b08
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.0044763d
mov esp, ebp
pop ebp
ret
Function at 0x4150f8
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0x31c
lea ebp, [esp - 4]
mov eax, dword [0x48e190]
xor eax, ebp
mov dword [ebp + 0x31c], eax
push 0xec
mov eax, 0x464cfc
call fcn.0044ba99
mov esi, ecx
call fcn.004480e8
cdq
mov ecx, 0x2710
idiv ecx
mov eax, dword [esi]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, esi
mov dword [esi + 0x154], edx
call dword [eax + 0x5c]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x88]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov dword [ebp - 0x14], eax
xor ebx, ebx
lea ecx, [ebp - 0xc0]
inc ebx
mov byte [ebp - 4], bl
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x54]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x50]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xdc]
mov edx, eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.0042c57a
push dword [ebp - 0x1c]
mov byte [ebp - 4], 5
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push eax
call fcn.0042d19f
add esp, 0x14
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.00409477
push edi
push ebx
lea esi, [ebp - 0xf8]
call fcn.0040970f
push edi
push ebx
lea ecx, [ebp - 0xdc]
call fcn.00409477
push edi
push ebx
lea ecx, [ebp - 0xc0]
call fcn.00409477
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.00409477
or dword [ebp - 4], 0xffffffff
push edi
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00409477
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [ebp - 0x10], eax
mov esi, 0x100
cmp eax, 0xffffffff
je 0x415236
push edi
push esi
lea ecx, [ebp + 0x1c]
push ecx
push 8
push eax
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 - 0x20]
push eax
call fcn.00449b6a
add esp, 0x14
cmp dword [ebp - 0x10], 0xffffffff
lea eax, [ebp + 0x21c]
jne 0x415260
mov eax, 0x46e98d
push eax
lea ecx, [ebp - 0x50]
call fcn.00408140
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x48f9f8
mov dword [ebp - 4], 6
call fcn.00409308
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.00409477
lea eax, [ebp - 0x34]
call fcn.00427ec6
mov dword [ebp - 4], 7
push dword [0x497aa4]
mov ecx, eax
call fcn.00427f15
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp]
call fcn.00428158
mov byte [ebp - 4], 8
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x4152c3
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00408140
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x48fa14
mov byte [ebp - 4], 9
call fcn.00409308
push edi
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00409477
push edi
push ebx
lea ecx, [ebp]
call fcn.00409477
lea esi, [ebp - 0x34]
call fcn.00427ee8
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.0044763d
add ebp, 0x320
leave
ret
Function at 0x415fcf
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4669c1
mov eax, dword fs:[0]
push eax
mov eax, 0x28a4
call fcn.0045ae80
mov eax, dword [0x48e190]
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 0x4160bb
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.0042c7ab
add esp, 0x24
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x416090
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x10c]
push ecx
push eax
push str.MAC:__s_Name:__s
lea esi, [ebx + 0x1ac]
call fcn.00408ffd
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409477
mov edi, dword [edi]
test edi, edi
jne 0x416023
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.0044763d
leave
ret
Function at 0x41939e
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x25c
lea ebp, [esp - 4]
mov eax, dword [0x48e190]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push 0x1c
mov eax, 0x46785a
call fcn.0044ba99
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.00419336
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x4193de
lea eax, [ebp + 0x3c]
push eax
lea esi, [edi + 0x1ac]
push str.Bootstrapper::deploySelf___Final_file_path_S
call fcn.00408ffd
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
pop ecx
pop ecx
jae 0x4193fd
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4194d6
push str._PathFileExists
call fcn.00408ffd
lea ecx, [ebp - 0x28]
mov dword [esp], str.Error_when_getting_bootstrapper_filename_for_selfDeploy
call fcn.00408140
push 0x104
lea eax, [ebp + 0x54]
push eax
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
jne 0x419445
lea eax, [ebp - 0x28]
call fcn.00429cc8
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00409477
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x1c]
call fcn.004081ea
mov byte [ebp - 4], 2
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x41946f
lea eax, [ebp + 0x20]
push eax
push str.GetModuleFileName:__S
call fcn.00408ffd
cmp dword [ebp + 0x50], 8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
jae 0x419488
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x419494
lea eax, [ebp + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.0042a076
cmp dword [ebp + 0x50], 8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
jae 0x4194ab
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4194b7
lea eax, [ebp + 0x20]
push ecx
push eax
push str.Copy:_from___S_to__S
call fcn.00408ffd
add esp, 0xc
push ebx
push 1
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], bl
call fcn.0040970f
jmp 0x4194e1
push str.PathFileExists
call fcn.00408ffd
pop ecx
mov eax, dword [edi]
lea ecx, [ebp]
push ecx
mov ecx, edi
call dword [eax + 0xa0]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xdc]
mov byte [ebp - 4], 4
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x419511
lea ecx, [ebp + 4]
cmp dword [eax + 0x18], 8
jb 0x41951c
mov eax, dword [eax + 4]
jmp 0x41951f
add eax, 4
push ecx
push eax
mov ecx, edi
call fcn.00417e8d
push ebx
push 1
lea esi, [ebp - 0x28]
call fcn.0040970f
push ebx
push 1
lea esi, [ebp]
call fcn.0040970f
push ebx
push 1
lea esi, [ebp + 0x38]
call fcn.0040970f
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.0044763d
add ebp, 0x260
leave
ret
Function at 0x41956c
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x4654a0
call fcn.0044ba99
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4195ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4195ba
push dword [ebp + 8]
lea esi, [ebp - 0x28]
push str.CreateDirectory__S_failed
call fcn.0042c7ab
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.00429cc8
push 0
push 1
mov ecx, esi
call fcn.00409477
call fcn.0044bb71
ret
Function at 0x41bbbe
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 + 0xa0]
cmp dword [eax + 0x18], 8
jb 0x41bbdd
mov eax, dword [eax + 4]
jmp 0x41bbe0
add eax, 4
push esi
push edi
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.0040970f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
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]
mov dword [ebp - 8], edi
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x47c8e0]
fnstsw ax
test ah, 5
jp 0x41bc59
mov ecx, dword [ebx + 0x160]
mov eax, dword [ecx]
push edi
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.00427d89
push 0x481698
mov eax, esi
push eax
call fcn.0044bba3
pop edi
pop esi
leave
ret
Function at 0x41ebd1
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x466401
call fcn.0044ba99
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 0x41ec39
lea eax, [ebp - 0x10]
push eax
call fcn.00429cf6
and dword [ebp - 4], 0
push dword [eax]
lea esi, [edi + 0x1ac]
push str.Could_not_map_view_of_file:__S
call fcn.00408ffd
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.0040eb78
mov eax, dword [edi + 0x40]
test eax, eax
je 0x41ec35
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x40], 0
mov al, 1
jmp 0x41ec50
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.0044bb71
ret