joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10071670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10070756
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
push dword [eax]
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10070788
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1007073d
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10070778
movsd dword es:[edi], dword [esi]
aad 0x18
mov edx, 0x10468
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x40388f
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4038b8
cmp al, 0x22
je 0x4038b0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4038a4
cmp byte [esi], 0x22
jne 0x4038c2
inc esi
jmp 0x4038c2
cmp al, 0x20
jle 0x4038c2
inc esi
cmp byte [esi], 0x20
jg 0x4038bc
mov al, byte [esi]
test al, al
je 0x4038cc
cmp al, 0x20
jle 0x4038b5
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040393a
push 0x405004
push section..data
jmp section..htext
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401443
pop dword [ebp - 0x28]
mov eax, 0x51dec29b
add eax, 0xae6151a8
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xc78e68ab
sub dword [ebp - 0x38], 0x793c2360
mov dword [ebp - 0x34], 0xcd963e94
add dword [ebp - 0x34], 0x649d0db1
mov dword [ebp - 0x30], 0xcc2fb199
add dword [ebp - 0x30], 0x801c9295
mov dword [ebp - 0x2c], 0x21ab9d5d
sub dword [ebp - 0x2c], 0x21ab9d5d
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x7b9acec3
add dword [ebp - 0x38], 0xf8d79a93
mov dword [ebp - 0x34], 0x847433a5
sub dword [ebp - 0x34], 0x4307d230
mov dword [ebp - 0x30], 0xe06ed158
sub dword [ebp - 0x30], 0x7cff64ec
mov dword [ebp - 0x2c], 0x813259a4
sub dword [ebp - 0x2c], 0x813259a4
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x34836
push 0
call eax
mov ecx, 0x9b30cf64
sub ecx, 0x9b309680
mov ebx, eax
mov esi, 0x46e400
add esi, dword [ebp - 0x28]
mov edx, 0x4672b1f4
sub edx, 0x13c0cb25
add dword [ebp - 0x10], 0xc9c7d00a
mov edi, dword [esi]
xor dword [ebp - 4], 0x693f0d20
xor edi, edx
add dword [ebp - 8], 0x4d541c5e
mov dword [ebx], edi
add dword [ebp - 0x1c], ecx
add ebx, 4
add esi, 0xa2bd9704
sub esi, 0xa2bd9700
loop 0x401555
add eax, 0x7e74c294
add eax, 0x818c13cf
mov ebx, eax
add eax, 0x6160d2d9
add eax, 0x9e9f2d2c
mov ecx, 0xb90ea865
add ecx, 0x4731579b
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x65e1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0065e140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0065e140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0065e140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0065e140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x65ebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x65ec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x67087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x65ec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x65ec52
xor eax, eax
pop esi
leave
ret 4

Function at 0xde2364
Capabilities:
Encode data using xor

Disassembly:
jmp 0xde236e
pushal
call 0xde2374
pop ebp
sub ebp, 0x10
sub ebp, 0x9e2364
jmp 0xde238a
mov eax, 0x9e2364
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b8
mov edx, 0x139653a1
xor byte [eax], dl
inc eax
dec ecx
jne 0xde23a1
jmp 0xde23b4
sub ch, byte [edx + ebp + 0x28]
popfd
mov eax, dword [0x6020a1a1]
pop ecx
mov eax, dword [0x6ca2a1a1]
sbb dword [ebp + 0x1ba1a1a1], esp
mov dword [ecx + 0x4356a1a1], esp
mov byte [0xad202a69], al
mov eax, dword [0x64a2a1a1]
int1
sub al, 0xc5
test dword [ebp + 0x28], ebx
movsd dword es:[edi], dword [esi]
test ecx, ecx
jne 0xde23b9
mov esi, 0xc31c9a1
fbld tbyte [ecx - 0x367a7260]
cmp edi, dword [edi - 0x11]
test dword [ecx - 0x5c], 0x48a1a1a1
xchg ecx, eax
mov eax, dword [0x2cf4a1a1]
int 0x85
mov eax, dword [0xa1a9242a]
mov eax, dword [0xad342aa1]
mov eax, dword [0x2c2aa1a1]
mov cl, 0xa1
mov eax, dword [0xa34860a1]
nop
mov dword [0xe8a56322], eax
scasb al, byte es:[edi]
and al, 0x55
pop esi
pop esi
pop esi
sub cl, byte [ebp - 0x7a3ad37b]
movsd dword es:[edi], dword [esi]
arpl word [ebp - 0x7ad2d55f], bp
movsd dword es:[edi], dword [esi]
mov eax, dword [0x75c9a1a1]
aam 0xbe
mov eax, dword [0xdf0c31c9]
mov eax, dword [0x2c858da0]
lds eax, [ebp - 0x7a52d7a3]
dec ecx
movsb byte es:[edi], byte [esi]
mov eax, dword [0x9448a1a1]
mov dword [0x2cf4a1a1], eax
int 0x85
mov eax, dword [0x5eadd45e]
aam 0xa9
dec ecx
invalid
Function at 0x40125c
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x20], edi
jne 0x40132b
cmp dword [esi + 0x24], edi
jne 0x40132b
push ebx
mov ebx, 0x800
push ebx
push edi
push str.Shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4012ad
push str.GetDpiForMonitor
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetProcessDpiAwareness
push dword [esi + 0x20]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x4012b2
mov dword [esi + 4], edi
mov eax, edi
push ebx
push edi
push str.user32.dll
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi + 0x24], eax
pop ebx
test eax, eax
je 0x40131f
push str.SetProcessDpiAwarenessContext
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetDialogControlDpiChangeBehavior
push dword [esi + 0x24]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetDpiForWindow
push dword [esi + 0x24]
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SystemParametersInfoForDpi
push dword [esi + 0x24]
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnableNonClientDpiScaling
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
jmp 0x40132b
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
pop edi
pop esi
ret

Function at 0x401d97
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401ded
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401ded
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x401ddf
cmp esi, ecx
jae 0x401ded
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x401dcd
cmp esi, ecx
jae 0x401ded
cmp word [esi], 0
je 0x401ded
mov eax, esi
jmp 0x401def
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402748
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x42d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [edi], eax
cmp dword [esi + 0x10], eax
jne 0x402776
push 4
call fcn.00402871
xor eax, eax
jmp 0x4027ad
push eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x402792
push 0xd
mov ecx, esi
jmp 0x40276d
push edi
push 0x1000
push ebx
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4027aa
push 0xe
jmp 0x40278e
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004084d2
leave
ret 0xc

Function at 0x402e72
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
cmp dword [ebx], 0
jne 0x402e9d
xor eax, eax
jmp 0x402f20
push esi
push edi
lea ecx, [ebp - 0xc]
xor esi, esi
push ecx
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], esi
push ecx
push esi
push eax
push dword [ebx]
xor edi, edi
inc edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x402f1c
cmp dword [ebp - 8], edi
je 0x402ed5
cmp dword [ebp - 8], 7
je 0x402ed5
cmp dword [ebp - 8], 2
jne 0x402f1c
xor eax, eax
add ecx, 2
setb al
neg eax
or eax, ecx
push eax
push edi
call fcn.0040c4a1
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x402f1c
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402f15
mov ecx, dword [ebp - 0x14]
push edi
call fcn.004016bf
xor esi, esi
inc esi
push edi
call fcn.0040c3c0
pop ecx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004084d2
leave
ret 0xc
Function at 0x406930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x421b58
call fcn.00420ccc
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], esi
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
call fcn.0040a490
add esp, 0xc
mov dword [ebp - 0x424], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x4069b9
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x4069b9
call fcn.004051ed
mov esi, eax
jmp 0x406abc
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4069dc
call fcn.004051ed
jmp 0x406aaf
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x4069d2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x406a0f
mov esi, 0x8007000e
jmp 0x406ab1
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x406adf
jb 0x406a2a
cmp eax, 0xffffffff
ja 0x406adf
cmp eax, 0x400
jbe 0x406a3f
push eax
lea ecx, [ebp - 0x424]
call fcn.004051c8
jmp 0x406a61
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x406a61
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
je 0x406a05
push ebx
push dword [ebp - 0x424]
push ebx
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4069d2
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.004067e9
mov esi, eax
test edi, edi
je 0x406abc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x406ad5
lea ecx, [ebp - 0x424]
call fcn.004051b3
mov eax, esi
call fcn.00420c19
ret 0x10
push 0x80070216
call fcn.004015bf
int3

Function at 0x407181
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa4], 0
jne 0x4071df
push edi
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
bt eax, 0x10
jb 0x4071de
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
bt eax, 0x10
jb 0x4071de
push 4
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
bt eax, 0x10
jb 0x4071de
call dword [sym.imp.USER32.dll_GetFocus]
jmp 0x4071cf
cmp eax, dword [esi + 4]
je 0x4071d5
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4071c3
jmp 0x4071de
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
ret
Function at 0x407de1
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x421d45
call fcn.00420c5e
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
test edi, edi
jne 0x407e0c
call fcn.00407cc6
imul edi, eax, 0x3e8
push ecx
push 0x20006
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402e31
test eax, eax
je 0x407e7f
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push 4
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x407e7f
call fcn.00407d68
test eax, eax
je 0x407e81
push ecx
push 0x20106
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402e31
test eax, eax
je 0x407e83
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push 4
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x407e83
jmp 0x407e85
mov ebx, esi
mov esi, ebx
mov ebx, esi
lea ecx, [ebp - 0x14]
call fcn.00402e5d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004013a9
mov eax, ebx
call fcn.00420c08
ret

Function at 0x416d96
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x416dab
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x416db3
cmp edx, ebx
jne 0x416f01
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x416d82
add eax, dword [eax + 4]
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
Function at 0x416fa4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi + 0x25fffffc], edi
lea eax, [ebp - 0x354]
push eax
call fcn.00416722
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004166d7
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00416722
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004166d7
add esp, 0xc
mov dword [ebp - 0x538], eax
invalid
movsd dword es:[edi], dword [esi]

Function at 0x416fe8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi + 0x25fffffc], edi
lea eax, [ebp - 0x354]
push eax
call fcn.00416722
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004166d7
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00416722
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004166d7
add esp, 0xc
mov dword [ebp - 0x538], eax
invalid
movsd dword es:[edi], dword [esi]
Function at 0x40a317
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40a35b
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40a32a
jmp 0x40a35b
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40a34b
pop esi
pop ebp
ret

Function at 0x40b0f5
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40b12a
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40b154
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40b154
test edi, edi
je 0x40b121
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40b121
test edi, edi
je 0x40b15c
mov eax, edi
jmp 0x40b123
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40b123
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040e580
add esp, 0xc
int3