joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f2f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov edi, dword [0x4f62d0]
mov eax, dword [edi]
xor eax, ebp
mov dword [esp + 0x158], eax
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [esp + 0x3c], 0x11c
lea ebx, [esp + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x50
call fcn.004c3980
add esp, 4
mov esi, eax
mov al, byte [0x517840]
test al, al
je 0x43f395
mov ecx, esi
push dword [esp + 0xc]
push 0x518814
push ebx
call fcn.0043f520
mov eax, dword [esp + 0x158]
xor eax, ebp
mov ecx, dword [edi]
cmp ecx, eax
jne 0x43f3f9
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x517840
call fcn.004c3610
add esp, 4
test eax, eax
je 0x43f36b
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x30]
mov dword [0x518834], eax
movaps xmm0, xmmword [esp + 0x10]
movaps xmm1, xmmword [esp + 0x20]
movups xmmword [0x518824], xmm1
movups xmmword [0x518814], xmm0
push 0x517840
call fcn.004c3768
add esp, 4
jmp 0x43f36b
call fcn.00468008
int3
Function at 0x44a020
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 0xbc
mov ebx, ecx
mov al, byte [ebp + 8]
mov esi, dword [0x4f62d0]
mov ecx, dword [esi]
xor ecx, ebp
mov dword [esp + 0xb8], ecx
test al, al
je 0x44a07f
mov ecx, ebx
push 0
push 0x460f60
push 1
push 0x4fb3e2
push 0x4fb3ce
call fcn.00449510
mov ecx, ebx
push 1
push 0x461100
push 1
push 0x4fb3f5
push 0x4fb3ce
call fcn.00449510
jmp 0x44a089
cmp dword [ebx + 0xc], 0
je 0x44a1ff
mov eax, dword [ebx]
mov edi, dword [eax]
sub esp, 0x14
movaps xmm0, xmmword [0x4fb330]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [esp], eax
mov esi, dword [ebx + 0xc]
shl esi, 6
lea eax, [esi + 0x50]
mov dword [esp + 4], eax
push eax
call fcn.00449330
add esp, 4
mov dword [esp + 8], ebx
mov ebx, eax
and eax, 0xfffff000
add eax, dword [esp]
and ebx, 0xfff
add esi, 0x104f
and esi, 0xfffff000
push 0x40
push 0x1000
push esi
push eax
mov dword [esp + 0x10], edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test eax, eax
jne 0x44a119
lea esi, [esp + 0x14]
mov ecx, esi
push str.thunk_base
push 0x188
push str._var_tmp_build_firefox_71aaf16cd119_security_sandbox_chromium_sandbox_win_src_interception.cc
call fcn.00413d10
mov ecx, esi
call fcn.00413f30
add edi, ebx
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x10
xorps xmm0, xmm0
movups xmmword [0x518bd0], xmm0
movups xmmword [0x518be0], xmm0
movups xmmword [0x518bf0], xmm0
movups xmmword [0x518c00], xmm0
movups xmmword [0x518c10], xmm0
movups xmmword [0x518c20], xmm0
movups xmmword [0x518c30], xmm0
movups xmmword [0x518c40], xmm0
movups xmmword [0x518c50], xmm0
movups xmmword [0x518c60], xmm0
mov dword [0x518c74], 0
mov dword [0x518c70], 0
lea ebx, [esp + 0x14]
mov ecx, dword [esp + 8]
push ebx
push eax
push edi
call fcn.0044a490
test eax, eax
mov esi, dword [0x4f62d0]
jne 0x44a201
lea eax, [esp + 0x10]
push eax
push 0x10
push ebx
push edi
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, eax
mov eax, 0x2a
test ecx, ecx
je 0x44a201
cmp dword [esp + 0x10], 0x10
jne 0x44a201
lea eax, [esp + 0xc]
push eax
push 0x20
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push 0xa8
push 0x518bd0
push str.g_originals
call fcn.00461840
jmp 0x44a201
xor eax, eax
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
mov edx, dword [esi]
cmp edx, ecx
jne 0x44a21a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00468008
int3
Function at 0x44bdd0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 8
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 8]
mov edi, dword [0x4f62d0]
mov ecx, dword [edi]
xor ecx, ebp
mov dword [esp + 4], ecx
mov dword [edx], 0xffffffff
cmp eax, 3
jne 0x44be14
mov esi, dword [ebp + 0x10]
test byte [esi], 1
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
je 0x44be27
mov esi, dword [esi + 8]
jmp 0x44be2a
mov eax, dword [esp + 4]
xor eax, ebp
mov ecx, dword [edi]
cmp ecx, eax
jne 0x44be97
mov eax, 5
jmp 0x44be8f
add esi, 2
mov ebx, dword [ebx]
push 0
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
je 0x44be6c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, esp
push 3
push 0
push 0
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
cmp eax, 1
sbb ecx, ecx
or ecx, dword [esp]
jmp 0x44be71
mov ecx, 0xffffffff
mov eax, dword [ebp + 0x2c]
mov dword [eax], ecx
xor eax, eax
cmp ecx, 0xffffffff
sete cl
mov edx, dword [esp + 4]
xor edx, ebp
mov esi, dword [edi]
cmp esi, edx
jne 0x44be97
mov al, cl
lea eax, [eax + eax*4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00468008
int3
Function at 0x44d4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edi, dword [0x4f62d0]
mov eax, dword [edi]
xor eax, ebp
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp byte [ecx + 0xc], 0
jne 0x44d65a
mov dword [esp], ecx
mov edi, dword [ebp + 0x10]
movzx eax, word [ebp + 0xc]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
movzx eax, ax
mov dword [esp + 4], eax
xor esi, esi
jmp 0x44d558
movzx eax, word [edi]
movzx eax, ax
lea ecx, [esp + 8]
push eax
call fcn.00470ef0
mov ebx, 1
add edi, 2
movzx eax, word [edi]
cmp ax, 0x2e
jle 0x44d5c0
cmp ax, 0x2f
je 0x44d600
cmp ax, 0x3f
jne 0x44d543
cmp ebx, 6
je 0x44d63f
mov ecx, dword [esp]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
push dword [esp + 0x14]
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0044d380
test al, al
je 0x44d63f
add dword [esp + 0x14], 1
mov esi, 2
mov ebx, 0xa
add edi, 2
jmp 0x44d558
cmp ax, 0x2a
jne 0x44d613
test bl, 2
jne 0x44d63f
mov ecx, dword [esp]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
push dword [esp + 0x14]
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0044d380
test al, al
je 0x44d63f
mov esi, 1
mov ebx, 6
add edi, 2
jmp 0x44d558
cmp word [edi + 2], 0x3f
jne 0x44d540
add edi, 2
jmp 0x44d540
test ax, ax
jne 0x44d543
mov ecx, dword [esp]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x18]
push eax
push 1
push esi
push dword [esp + 0x14]
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0044d380
mov ebx, eax
jmp 0x44d641
xor ebx, ebx
test byte [esp + 8], 1
mov edi, dword [0x4f62d0]
je 0x44d65a
push dword [esp + 0x10]
call fcn.004c3b20
add esp, 4
mov eax, dword [esp + 0x18]
xor eax, ebp
mov ecx, dword [edi]
cmp ecx, eax
jne 0x44d672
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
call fcn.00468008
int3
Function at 0x455990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 0x50
mov edx, dword [ebp + 8]
mov ecx, dword [0x4f62d0]
mov eax, dword [ecx]
xor eax, ebp
mov dword [esp + 0x4c], eax
lea eax, [edx - 5]
mov edi, 5
cmp eax, 1
ja 0x455afe
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
movups xmmword [esp + 0x3c], xmm0
movups xmmword [esp + 0x2c], xmm0
movups xmmword [esp + 0x1c], xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], 0x44
test byte [eax], 1
je 0x4559ed
mov eax, dword [eax + 8]
jmp 0x4559f0
add eax, 2
mov esi, dword [ebp + 0x10]
push eax
call dword [sym.imp.mozglue.dll__wcsdup]
add esp, 4
movzx edx, byte [edi]
test dl, 1
je 0x455a0d
mov edx, dword [edi + 4]
mov edi, dword [edi + 8]
jmp 0x455a12
add edi, 2
shr edx, 1
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x1c]
test edx, edx
cmove edi, edx
test byte [esi], 1
je 0x455a27
mov esi, dword [esi + 8]
jmp 0x455a2a
add esi, 2
mov ecx, dword [ecx]
mov dword [esp], ecx
sub esp, 0x28
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edi
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, 5
test eax, eax
je 0x455ae7
mov ebx, dword [ebp + 8]
cmp ebx, 6
mov eax, 0x1fffff
mov esi, 0x101c01
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push esi
mov ecx, dword [ebp + 0x1c]
push ecx
push dword [esp + 0x10]
push dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x455adb
cmp ebx, 6
mov esi, 0x100c43
mov eax, 0x1fffff
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp + 0x1c]
lea ecx, [edx + 4]
push 1
push 0
push esi
push ecx
push dword [esp + 0x10]
push dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea edi, [ecx + ecx*4]
jmp 0x455ae7
mov eax, dword [ebp + 0x1c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
test eax, eax
je 0x455af8
push eax
call sub.mozglue.dll_free
add esp, 4
mov ecx, dword [0x4f62d0]
mov eax, dword [esp + 0x4c]
xor eax, ebp
mov ecx, dword [ecx]
cmp ecx, eax
jne 0x455b14
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00468008
int3
Function at 0x455b20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp + 8]
movups xmm0, xmmword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov dword [ebx], 0
mov ecx, dword [edi]
sub esp, 0x1c
mov dword [esp + 0x18], eax
movups xmmword [esp + 8], xmm0
mov dword [esp], ecx
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x455b84
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push 0
push 0
push ebx
push dword [edi]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ecx + ecx*4]
jmp 0x455b8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x457c10
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 0x50
mov esi, dword [0x4f62d0]
mov eax, dword [esi]
xor eax, ebp
mov dword [esp + 0x4c], eax
cmp byte [ecx + 0x38], 0
je 0x457c74
mov ebx, ecx
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 2
push dword [ecx + 0x30]
call fcn.00464450
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 8]
test edi, edi
je 0x457c7e
mov dword [esp + 8], 0
test eax, eax
je 0x457d4c
push eax
call fcn.004c3b50
add esp, 4
jmp 0x457d4c
mov edi, 0x3f0
jmp 0x457d4c
xor edi, edi
test eax, eax
je 0x457d4c
mov dword [esp + 4], ebx
cmp dword [eax], 0
je 0x457d3b
add dword [esp + 4], 0x18
xor edi, edi
mov dword [esp], eax
jmp 0x457cd6
lea esi, [esp + 8]
mov ecx, esi
mov eax, dword [esp]
push dword [eax + edi*8 + 4]
call fcn.0045eaa0
mov ecx, dword [esp + 4]
push esi
call fcn.00457d70
add edi, 1
mov eax, dword [esp]
cmp edi, dword [eax]
jae 0x457d3b
test dword [eax + edi*8 + 8], 0xc0000020
jne 0x457ccc
cmp dword [ebp + 8], 0
je 0x457cb0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [eax + 4], ecx
je 0x457cb0
xor esi, esi
xor ebx, ebx
nop word cs:[eax + eax]
nop
add ecx, esi
call fcn.0045f120
mov ecx, dword [esp]
push dword [ecx + edi*8 + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x457ccc
add ebx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xf0f0f0f1
add esi, 0x44
cmp ebx, eax
jb 0x457d00
jmp 0x457cb0
push eax
call fcn.004c3b50
add esp, 4
mov esi, dword [0x4f62d0]
xor edi, edi
mov eax, dword [esp + 0x4c]
xor eax, ebp
mov ecx, dword [esi]
cmp ecx, eax
jne 0x457d64
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00468008
int3
Function at 0x4612a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
push eax
mov esi, ecx
call fcn.0043eee0
test al, al
je 0x4612c9
push 0x32
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], 0
test edi, edi
je 0x4612e7
mov ecx, edi
call fcn.0045e2a0
push edi
call fcn.004c3b20
add esp, 4
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4612fa
mov dword [esi + 0x34], eax
push eax
call fcn.004c3b20
add esp, 4
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x2c], 0
test eax, eax
je 0x461311
push eax
call sub.mozglue.dll_free
add esp, 4
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], 0
test edi, edi
je 0x46132f
mov ecx, edi
call fcn.0045e2a0
push edi
call fcn.004c3b20
add esp, 4
mov edi, dword [esi + 0x18]
lea eax, [edi + 1]
cmp eax, 2
jb 0x461367
lea ebx, [esi + 0x18]
mov eax, dword [ebp + 4]
mov dword [esp], eax
call fcn.00419db0
push eax
push dword [esp + 4]
push ebx
push edi
call fcn.0043dce0
add esp, 0x10
push dword [ebx]
call fcn.0043dc90
add esp, 4
mov dword [ebx], 0
mov edi, dword [esi + 0x14]
lea eax, [edi + 1]
cmp eax, 2
jb 0x46139f
lea ebx, [esi + 0x14]
mov eax, dword [ebp + 4]
mov dword [esp], eax
call fcn.00419db0
push eax
push dword [esp + 4]
push ebx
push edi
call fcn.0043dce0
add esp, 0x10
push dword [ebx]
call fcn.0043dc90
add esp, 4
mov dword [ebx], 0
mov edi, dword [esi + 0x10]
lea eax, [edi + 1]
cmp eax, 2
jb 0x4613d7
lea ebx, [esi + 0x10]
mov eax, dword [ebp + 4]
mov dword [esp], eax
call fcn.00419db0
push eax
push dword [esp + 4]
push ebx
push edi
call fcn.0043dce0
add esp, 0x10
push dword [ebx]
call fcn.0043dc90
add esp, 4
mov dword [ebx], 0
mov ecx, esi
call fcn.0043edd0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4642e0
Capabilities:
Patch process command line

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [0x4f62d0]
mov eax, dword [edi]
xor eax, ebp
mov dword [esp + 0x48], eax
cmp dword [0x51873c], 0
je 0x4643e9
cmp dword [0x51873c], 0
je 0x46442b
push 0x4fcfa0
push dword [0x51873c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x464431
mov ecx, eax
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
lea eax, [esp + 0x30]
push 0
push 0x18
push eax
push 0
push ebx
call ecx
xor esi, esi
test eax, eax
jne 0x464434
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0
lea ecx, [esp + 0xc]
lea eax, [esp + 0x10]
push ecx
push 0x14
push eax
push dword [esp + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xor esi, esi
test eax, eax
je 0x464434
cmp dword [esp + 0xc], 0x14
jne 0x464434
mov esi, dword [esp + 0x18]
mov word [esp + 0xa], 0
lea eax, [esp + 0xa]
lea ecx, [esp + 0xc]
push ecx
push 2
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov cl, byte [esp + 0xa]
mov dl, byte [esp + 0xb]
xor cl, 0x4d
xor dl, 0x5a
xor ebx, ebx
or dl, cl
cmovne esi, ebx
cmp dword [esp + 0xc], 2
cmovne esi, ebx
test eax, eax
cmove esi, eax
jmp 0x464434
push 0x4fcfba
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov eax, dword [0x4f8bc4]
add eax, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x30]
call fcn.0043d730
test al, al
jne 0x464414
int3
xor eax, eax
lock cmpxchg dword [0x51873c], esi
cmp dword [0x51873c], 0
jne 0x464314
int3
int3
mov eax, dword [esp + 0x48]
xor eax, ebp
mov ecx, dword [edi]
cmp ecx, eax
jne 0x46444a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00468008
int3
Function at 0x464c40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 0x24
mov esi, dword [0x4f62d0]
mov eax, dword [esi]
xor eax, ebp
mov dword [esp + 0x20], eax
push str.MOZ_ENABLE_HANDLE_VERIFIER
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
test eax, eax
je 0x464d41
movaps xmm0, xmmword [str.kernel32]
movups xmmword [esp + 4], xmm0
mov dword [esp + 0x14], 0x64002e
mov dword [esp + 0x18], 0x6c006c
mov word [esp + 0x1c], 0
cmp dword [0x5185cc], 0
jne 0x464cab
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5185cc], eax
mov dword [esp], 0
mov dword [esp + 4], 0x518598
mov dword [esp + 8], 0x5185a0
mov dword [esp + 0xc], 0x4fd23b
mov dword [esp + 0x10], 0x464d60
mov byte [esp + 0x14], 0
mov edi, esp
lea ebx, [esp + 4]
push edi
push ebx
push 0x464e00
push 0x51859c
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x464d41
cmp dword [esp], 0
je 0x464d41
mov dword [esp], 0
mov dword [esp + 4], 0x518618
mov dword [esp + 8], 0x5185a0
mov dword [esp + 0xc], 0x4fd247
mov dword [esp + 0x10], 0x464d90
mov byte [esp + 0x14], 0
push edi
push ebx
push 0x467a80
push 0x51861c
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x464d41
cmp dword [esp], 0
jne 0x464d46
call fcn.0043dd10
mov eax, dword [esp + 0x20]
xor eax, ebp
mov ecx, dword [esi]
cmp ecx, eax
jne 0x464d5a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00468008
int3
Function at 0x465880
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 0x28
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x4f62d0]
mov eax, dword [eax]
xor eax, ebp
mov dword [esp + 0x24], eax
mov edx, dword [ebp + 8]
mov al, byte [0x5178d8]
test al, al
je 0x46594a
mov edi, dword [0x518b48]
mov ecx, esp
push dword [ebp + 0x10]
push ebx
push edi
push edx
call fcn.004659e0
mov al, byte [0x517880]
test al, al
je 0x465989
push 0x518628
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x518640
mov eax, esp
push eax
call fcn.00465bd0
test eax, eax
je 0x465909
mov ebx, eax
mov ecx, eax
mov eax, esp
push eax
push edi
call fcn.004661b0
test eax, eax
je 0x465909
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov byte [esi + 8], 1
jmp 0x46591d
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push 0x518628
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x24]
xor eax, ebp
mov ecx, dword [0x4f62d0]
mov ecx, dword [ecx]
cmp ecx, eax
jne 0x4659cc
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push 0x5178d8
mov edi, edx
call fcn.004c3610
mov edx, edi
add esp, 4
test eax, eax
je 0x4658ae
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x1c]
mov dword [0x518b48], eax
push 0x5178d8
call fcn.004c3768
mov edx, edi
add esp, 4
jmp 0x4658ae
push 0x517880
call fcn.004c3610
add esp, 4
test eax, eax
je 0x4658ce
push 0x1000000
push 0xfa0
push 0x518628
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov byte [0x518a9c], 1
push 0x517880
call fcn.004c3768
add esp, 4
jmp 0x4658ce
call fcn.00468008
int3
Function at 0x4659e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 0x30
mov edi, dword [ebp + 0x10]
mov edx, dword [0x4f62d0]
mov eax, dword [edx]
xor eax, ebp
mov dword [esp + 0x2c], eax
test edi, edi
je 0x465a7b
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x465a7b
mov dword [esp], ecx
mov al, byte [0x5178d8]
test al, al
je 0x465b2b
mov ebx, edi
sub ebx, esi
cmp ebx, 0x100000
mov eax, 0x100000
cmovbe ebx, eax
cmp edi, esi
cmovb ebx, eax
mov eax, dword [0x518b48]
mov dword [esp + 4], eax
mov al, byte [0x5178e0]
test al, al
mov eax, esi
je 0x465b76
mov ecx, dword [0x518b4c]
lea esi, [edi + eax]
cmp ecx, esi
cmovb esi, ecx
add edi, eax
cmovb esi, ecx
sub esi, dword [ebp + 0xc]
jae 0x465aa3
mov eax, dword [esp]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
jmp 0x465b01
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 8], 0
mov eax, dword [esp + 0x2c]
xor eax, ebp
mov edx, dword [edx]
cmp edx, eax
jne 0x465b26
mov eax, ecx
jmp 0x465b0d
mov edx, ebx
neg edx
mov eax, dword [esp + 4]
lea ecx, [eax - 1]
and ecx, edx
add ecx, ebx
neg eax
and esi, eax
sub esi, ecx
mov eax, dword [esp]
jbe 0x465ae7
test ecx, ecx
setne dl
cmp esi, 0xffffffff
setne dh
mov edi, esi
or edi, ecx
je 0x465ad2
and dl, dh
je 0x465b17
test ecx, ecx
mov edx, 1
cmovne edx, ecx
mov dword [eax], esi
mov dword [eax + 4], edx
mov byte [eax + 8], 1
jmp 0x465afb
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov edx, dword [0x4f62d0]
mov esi, dword [esp + 0x2c]
xor esi, ebp
mov ecx, dword [edx]
cmp ecx, esi
jne 0x465b26
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [0], 0x321
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
call fcn.00468008
push 0x5178d8
mov ebx, esi
call fcn.004c3610
mov edx, dword [0x4f62d0]
add esp, 4
test eax, eax
je 0x465a18
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x24]
mov dword [0x518b48], eax
push 0x5178d8
call fcn.004c3768
mov esi, ebx
mov edx, dword [0x4f62d0]
add esp, 4
jmp 0x465a18
push 0x5178e0
mov esi, eax
call fcn.004c3610
mov edx, dword [0x4f62d0]
add esp, 4
test eax, eax
mov eax, esi
je 0x465a47
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
mov dword [0x518b4c], eax
push 0x5178e0
call fcn.004c3768
mov eax, esi
mov edx, dword [0x4f62d0]
add esp, 4
jmp 0x465a47
Function at 0x4661b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffffc
sub esp, 0x2c
mov esi, ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [0x4f62d0]
mov eax, dword [ecx]
xor eax, ebp
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x4661dd
cmp dword [esi], 0
je 0x4661e1
mov edi, dword [esi + 4]
jmp 0x46622f
xor edi, edi
jmp 0x46622f
mov al, byte [0x5178d8]
test al, al
je 0x46624c
mov ecx, dword [0x518b48]
xor edi, edi
mov eax, ebx
xor edx, edx
div ecx
sub ecx, edx
test edx, edx
cmove ecx, edx
add ecx, ebx
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, esp
lea ebx, [esp + 4]
mov ecx, esi
push dword [ebp + 0xc]
push edx
push ebx
push dword [esi + 4]
push eax
call fcn.00466290
mov dword [esi], eax
test eax, eax
je 0x466229
mov edi, dword [esi + 4]
mov ecx, dword [0x4f62d0]
mov eax, dword [esp + 0x28]
xor eax, ebp
mov ecx, dword [ecx]
cmp ecx, eax
jne 0x466247
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.00468008
push 0x5178d8
call fcn.004c3610
add esp, 4
test eax, eax
je 0x4661ea
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x20]
mov dword [0x518b48], eax
push 0x5178d8
call fcn.004c3768
add esp, 4
jmp 0x4661ea