joyce8/EMBER2024-capa huggingface dataset:
Function at 0x646dc8
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x646eed
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x646ecd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x646ebc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040485c
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x646e9b
dec esi
jne 0x646e38
lea eax, [ebp - 8]
push eax
push 7
mov eax, dword [0x660138]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
jmp 0x646e4e
lea eax, [ebp - 8]
push eax
push 0x18
mov eax, dword [0x660138]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, ebx
mov edx, 0x104
call fcn.00404e98
mov eax, dword [ebx]
call fcn.00404d0c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
jne 0x646e85
mov ecx, 0x646f04
mov dl, 1
mov eax, dword [0x408404]
call fcn.0040ce0c
call fcn.00404238
mov eax, dword [ebx]
call fcn.00404d0c
push eax
call sub.KERNEL32.DLL_lstrlenA
mov edx, eax
mov eax, ebx
call fcn.00404e98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x646ec3
cmp dword [ebp - 8], 0
je 0x646ebb
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
Function at 0x649cd8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.0040485c
xor eax, eax
push ebp
push 0x649d20
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x15]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
mov edx, ebx
lea eax, [ebp - 0x15]
call fcn.0040a024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x649d2a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x649d34
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040485c
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 4]
call fcn.0040a038
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x649d9e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x649d88
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0040a024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x649da5
mov eax, dword [ebp - 8]
call fcn.0040a084
ret

Function at 0x64aba4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cfc
xor eax, eax
push ebp
push 0x64ac18
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x64abf8
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d0c
push eax
push 0x64ac28
push ebx
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64ac02
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64ac1f
lea eax, [ebp - 4]
call fcn.0040485c
ret
Function at 0x403b01
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 0x403b6d
push 0x110
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044b6b0
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 0x403b5e
mov ecx, esi
call fcn.004037c1
jmp 0x403b6f
cmp dword [esp + 0xc], 6
jb 0x403b6d
push esi
call fcn.00402df1
jmp 0x403b6f
xor eax, eax
mov ecx, dword [esp + 0x124]
pop esi
xor ecx, esp
call fcn.00447a6d
mov esp, ebp
pop ebp
ret
Function at 0x40993f
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x46283f
call fcn.0044bf32
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x38], ebx
je 0x409a54
cmp byte [ebx + 0x41], 0
je 0x409a54
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x409977
xor al, al
jmp 0x409a56
push 0
push 8
pop edi
lea esi, [ebp - 0x30]
call fcn.00409277
and dword [ebp - 4], 0
lea eax, [ebx + 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.004287a0
mov esi, eax
call fcn.004085b3
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.004287a0
mov esi, eax
call fcn.004085b3
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 0x4099ec
dec eax
je 0x4099f0
dec eax
dec eax
je 0x409a50
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040948e
mov al, bl
jmp 0x409a56
mov byte [ebx + 0x41], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.004287a0
mov esi, eax
call fcn.004085b3
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x409a2e
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.004287a0
mov esi, eax
call fcn.004085b3
push dword [ebx + 0x4c]
push edi
push 1
push eax
call fcn.0044869c
add esp, 0x10
cmp edi, eax
jne 0x4099da
cmp byte [ebx + 0x41], 0
je 0x409a50
test edi, edi
jne 0x40998e
push edi
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.004092db
mov ebx, dword [ebp - 0x38]
jmp 0x40998e
mov bl, 1
jmp 0x4099dc
mov al, 1
call fcn.0044bfb5
ret

Function at 0x40c9c5
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 0x40ca29
cmp dword [ebp + 0xc], 1
je 0x40ca01
cmp dword [ebp + 0xc], 2
je 0x40ca01
push 0xd
pop eax
jmp 0x40ca29
mov eax, dword [ebp - 4]
test edi, edi
je 0x40ca23
test eax, eax
je 0x40ca1e
test al, 1
jne 0x40c9fc
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40ca23
jmp 0x40c9fc
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x40ddd3
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0043ff83
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 0x4134c7
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x4c
mov eax, 0x466e6c
call fcn.0044bec9
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x30]
push ecx
push 4
push eax
push 0x440f9f
xor esi, esi
push esi
push esi
call fcn.0044aa32
add esp, 0x18
cmp eax, esi
je 0x41351b
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.00413220
mov edi, dword [edi]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.0044bfa1
ret
lea eax, [ebp - 0x58]
call fcn.00401a70
push eax
mov dword [ebp - 4], esi
call fcn.0040b1b8
int3

Function at 0x41433e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466d8f
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.0045b300
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.00409015
add esp, 0xc
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x1080]
push ebx
push eax
call fcn.0044b6b0
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.0044b6b0
add esp, 0xc
cmp word [edi], 0x22
mov esi, 0x800
lea eax, [ebp - 0x1014]
je 0x414414
push 0x472d6c
push esi
push eax
call fcn.00449bb1
add esp, 0xc
push edi
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.00449c20
add esp, 0xc
push 0x472d6c
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.00449c20
jmp 0x41441c
push edi
push esi
push eax
call fcn.00449bb1
add esp, 0xc
push 0x472d70
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.00449c20
add esp, 0xc
push dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.00449c20
add esp, 0xc
push edi
push str.CreateProcess__S_failed
lea esi, [ebp - 0x1038]
call fcn.0042c7fe
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 0x41448f
mov eax, esi
call fcn.00429ccd
push ebx
push 1
lea ecx, [ebp - 0x1038]
call fcn.0040948e
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.00447a6d
leave
ret 4
Function at 0x414978
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 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0044b6b0
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 0x4149cb
cmp dword [ebp - 0x70], 2
jne 0x4149cb
cmp dword [ebp - 0x7c], 5
jne 0x4149cb
mov al, 1
jmp 0x4149cd
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00447a6d
add ebp, 0x98
leave
ret

Function at 0x4149e2
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 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0044b6b0
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 0x414a33
cmp dword [ebp - 0x7c], 6
jne 0x414a33
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x414a35
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00447a6d
add ebp, 0x98
leave
ret
Function at 0x414c32
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464660
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.00414ba4
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 0x414cee
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 0x414d01
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 0x414d29
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 0x414d48
cmp dword [esp + 0x10], ebx
setne bl
lea ecx, [esp + 0x34]
call fcn.00414b2d
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.00414bf4
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00414bf4
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.00447a6d
mov esp, ebp
pop ebp
ret
Function at 0x4151e6
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, 0x4650e2
call fcn.0044bec9
mov esi, ecx
call fcn.00448518
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.0042c5cd
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.0042d1ed
add esp, 0x14
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.0040948e
push edi
push ebx
lea esi, [ebp - 0xf8]
call fcn.00409726
push edi
push ebx
lea ecx, [ebp - 0xdc]
call fcn.0040948e
push edi
push ebx
lea ecx, [ebp - 0xc0]
call fcn.0040948e
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.0040948e
or dword [ebp - 4], 0xffffffff
push edi
push ebx
lea ecx, [ebp - 0xa4]
call fcn.0040948e
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [ebp - 0x10], eax
mov esi, 0x100
cmp eax, 0xffffffff
je 0x415324
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.00449f99
add esp, 0x14
cmp dword [ebp - 0x10], 0xffffffff
lea eax, [ebp + 0x21c]
jne 0x41534e
mov eax, 0x46e98d
push eax
lea ecx, [ebp - 0x50]
call fcn.00408177
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x48f9f8
mov dword [ebp - 4], 6
call fcn.0040931f
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.0040948e
lea eax, [ebp - 0x34]
call fcn.00427e46
mov dword [ebp - 4], 7
push dword [0x497ac4]
mov ecx, eax
call fcn.00427e95
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp]
call fcn.004280d8
mov byte [ebp - 4], 8
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x4153b1
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00408177
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x48fa14
mov byte [ebp - 4], 9
call fcn.0040931f
push edi
push ebx
lea ecx, [ebp - 0x6c]
call fcn.0040948e
push edi
push ebx
lea ecx, [ebp]
call fcn.0040948e
lea esi, [ebp - 0x34]
call fcn.00427e68
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.00447a6d
add ebp, 0x320
leave
ret
Function at 0x4160bd
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466d5c
mov eax, dword fs:[0]
push eax
mov eax, 0x28a4
call fcn.0045b300
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 0x4161a9
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.0042c7fe
add esp, 0x24
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41617e
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x10c]
push ecx
push eax
push str.MAC:__s_Name:__s
lea esi, [ebx + 0x1ac]
call fcn.00409015
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040948e
mov edi, dword [edi]
test edi, edi
jne 0x416111
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.00447a6d
leave
ret
Function at 0x41948e
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, 0x467bc4
call fcn.0044bec9
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.00419426
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x4194ce
lea eax, [ebp + 0x3c]
push eax
lea esi, [edi + 0x1ac]
push str.Bootstrapper::deploySelf___Final_file_path_S
call fcn.00409015
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
pop ecx
pop ecx
jae 0x4194ed
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4195c6
push str._PathFileExists
call fcn.00409015
lea ecx, [ebp - 0x28]
mov dword [esp], str.Error_when_getting_bootstrapper_filename_for_selfDeploy
call fcn.00408177
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 0x419535
lea eax, [ebp - 0x28]
call fcn.00429ccd
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040948e
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x1c]
call fcn.00408201
mov byte [ebp - 4], 2
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x41955f
lea eax, [ebp + 0x20]
push eax
push str.GetModuleFileName:__S
call fcn.00409015
cmp dword [ebp + 0x50], 8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
jae 0x419578
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x419584
lea eax, [ebp + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.0042a07d
cmp dword [ebp + 0x50], 8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
jae 0x41959b
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x4195a7
lea eax, [ebp + 0x20]
push ecx
push eax
push str.Copy:_from___S_to__S
call fcn.00409015
add esp, 0xc
push ebx
push 1
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], bl
call fcn.00409726
jmp 0x4195d1
push str.PathFileExists
call fcn.00409015
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 0x419601
lea ecx, [ebp + 4]
cmp dword [eax + 0x18], 8
jb 0x41960c
mov eax, dword [eax + 4]
jmp 0x41960f
add eax, 4
push ecx
push eax
mov ecx, edi
call fcn.00417f7d
push ebx
push 1
lea esi, [ebp - 0x28]
call fcn.00409726
push ebx
push 1
lea esi, [ebp]
call fcn.00409726
push ebx
push 1
lea esi, [ebp + 0x38]
call fcn.00409726
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.00447a6d
add ebp, 0x260
leave
ret
Function at 0x41965c
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x465886
call fcn.0044bec9
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4196aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4196aa
push dword [ebp + 8]
lea esi, [ebp - 0x28]
push str.CreateDirectory__S_failed
call fcn.0042c7fe
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.00429ccd
push 0
push 1
mov ecx, esi
call fcn.0040948e
call fcn.0044bfa1
ret
Function at 0x41bcae
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 0x41bccd
mov eax, dword [eax + 4]
jmp 0x41bcd0
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.00409726
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 [0x47ca30]
fnstsw ax
test ah, 5
jp 0x41bd49
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.00427ced
push 0x481828
mov eax, esi
push eax
call fcn.0044bfd3
pop edi
pop esi
leave
ret
Function at 0x41ecc1
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x46679c
call fcn.0044bec9
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 0x41ed29
lea eax, [ebp - 0x10]
push eax
call fcn.00429cfb
and dword [ebp - 4], 0
push dword [eax]
lea esi, [edi + 0x1ac]
push str.Could_not_map_view_of_file:__S
call fcn.00409015
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.0040ebb7
mov eax, dword [edi + 0x40]
test eax, eax
je 0x41ed25
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x40], 0
mov al, 1
jmp 0x41ed40
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.0044bfa1
ret