joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431e00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x431e32
cmp dword [edx + 8], 0xffffff65
jne 0x431e32
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x431e78
sub eax, 0x14
je 0x431e3b
sub eax, 2
je 0x431e78
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431e32
mov ecx, esi
call fcn.00430f50
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x434100
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x83b274]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x83ee98], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x434180
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040c750
push 0x4010
push 0x160
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.00449bdc
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044999d
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x83ee90]
test eax, eax
je 0x4341a7
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0044999d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4341c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x83b274]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x45a6a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044999d
mov esp, ebp
pop ebp
ret 4
Function at 0x434d30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459805
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x83b274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x434f11
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00434c50
cmp dword [ebp - 0x1c], 0
jne 0x434f02
cmp dword [ebx + 8], 0x15555555
je 0x434f25
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.00449b95
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x45c4d0]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x45c4d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x434ea5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.0044dd80
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0044a400
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x434e7e
cmp eax, 0x200
jae 0x434e7c
shl eax, 3
cmp eax, ecx
jae 0x434e7e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004403e0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00434c50
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x434ea8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov edi, dword [ebp - 0x28]
mov dword [ebx + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x434ee4
mov dword [ecx + eax*8], esi
jmp 0x434ef7
cmp dword [ecx + eax*8], edx
jne 0x434eee
mov dword [ecx + eax*8], esi
jmp 0x434efb
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x434efb
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 4
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x434d70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0044ab49
int3
Function at 0x4403e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x440533
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004402e0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x440506
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x44047e
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4404f9
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x4404ba
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x4404b2
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x4404f9
mov edi, eax
cmp ebx, eax
je 0x4404d6
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x44050f
cmp ebx, eax
jne 0x4404c0
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x440442
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x4404f9
push str.invalid_hash_bucket_count
call fcn.0044ab49
int3
Function at 0x450773
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45e72c
push 0x45e724
push str.FlsAlloc
push 0x1e
call fcn.00450651
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4507a7
push dword [ebp + 8]
mov ecx, esi
call dword [0x45a308]
call esi
jmp 0x4507ad
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4507f1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45e73c
push 0x45e734
push str.FlsGetValue
push 0x20
call fcn.00450651
mov esi, eax
add esp, 0x10
test esi, esi
je 0x450828
push dword [ebp + 8]
mov ecx, esi
call dword [0x45a308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4520bb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x452158
push ebx
push esi
call fcn.00452084
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00450424
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x452105
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x452157
push edi
push eax
call fcn.00450111
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x452125
call fcn.004500d7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x452156
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00450424
add esp, 0x20
test eax, eax
jne 0x452144
push edi
call fcn.004500d7
jmp 0x45214c
push ebx
call fcn.004500d7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4214e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
or ebp, 0xffffffff
jmp 0x421502
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4214f8
mov eax, 1
add ebx, ebx
jne 0x42151b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421510
jne 0x42152c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421510
xor ecx, ecx
sub eax, 3
jb 0x421540
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4215b2
mov ebp, eax
add ebx, ebx
jne 0x42154b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421558
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42157c
inc ecx
add ebx, ebx
jne 0x421568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42155d
jne 0x421579
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42155d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42159c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42158d
jmp 0x4214fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42159c
add edi, ecx
jmp 0x4214fe
pop esi
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4215fb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x211dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2122c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4215b9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21234]
or eax, eax
je 0x4215f5
mov dword [ebx], eax
add ebx, 4
jmp 0x4215d6
call dword [esi + 0x21230]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42162c
cmp al, 0xef
ja 0x42161f
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x421601
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42160e
mov ebp, dword [esi + 0x21238]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x421660
sub esp, 0xffffff80
jmp 0x411339
Function at 0x84dd60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x42a000]
push edi
or ebp, 0xffffffff
jmp 0x84dd82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x84dd89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84dd78
mov eax, 1
add ebx, ebx
jne 0x84dd9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x84ddac
jne 0x84ddcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84ddcb
dec eax
add ebx, ebx
jne 0x84ddb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x84dd90
add ebx, ebx
jne 0x84ddc7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x84de1d
xor ecx, ecx
sub eax, 3
jb 0x84dde3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x84de52
sar eax, 1
mov ebp, eax
jmp 0x84ddee
add ebx, ebx
jne 0x84ddee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84ddbc
inc ecx
add ebx, ebx
jne 0x84ddfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84ddbc
add ebx, ebx
jne 0x84de09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x84ddfe
jne 0x84de1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x84ddfe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x84de3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x84de2e
jmp 0x84dd7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x84de3c
add edi, ecx
jmp 0x84dd7e
pop esi
mov edi, esi
mov ecx, 0xc45
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x84de5a
cmp byte [edi], 6
jne 0x84de5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x84de5f
lea edi, [esi + 0x44b000]
mov eax, dword [edi]
or eax, eax
je 0x84dece
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x450034]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x450094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x84de8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x45009c]
or eax, eax
je 0x84dec8
mov dword [ebx], eax
add ebx, 4
jmp 0x84dea9
call dword [esi + 0x450098]
mov ebp, dword [esi + 0x4500a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x84df02
sub esp, 0xffffff80
jmp 0x40ae00
Function at 0x4f59a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xaa000]
push edi
or ebp, 0xffffffff
jmp 0x4f59c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f59c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f59b8
mov eax, 1
add ebx, ebx
jne 0x4f59db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f59ec
jne 0x4f5a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f5a0b
dec eax
add ebx, ebx
jne 0x4f59f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f59d0
add ebx, ebx
jne 0x4f5a07
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f5a5d
xor ecx, ecx
sub eax, 3
jb 0x4f5a23
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f5a92
sar eax, 1
mov ebp, eax
jmp 0x4f5a2e
add ebx, ebx
jne 0x4f5a2e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f59fc
inc ecx
add ebx, ebx
jne 0x4f5a3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f59fc
add ebx, ebx
jne 0x4f5a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f5a3e
jne 0x4f5a5a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f5a3e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f5a7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f5a6e
jmp 0x4f59be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f5a7c
add edi, ecx
jmp 0x4f59be
pop esi
mov edi, esi
mov ecx, 0x1ce5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f5a9a
cmp byte [edi], 0x12
jne 0x4f5a9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f5a9f
lea edi, [esi + 0xef000]
mov eax, dword [edi]
or eax, eax
je 0x4f5b17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13d23c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13d2f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f5acc
mov ecx, edi
jns 0x4f5afb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13d2fc]
or eax, eax
je 0x4f5b11
mov dword [ebx], eax
add ebx, 4
jmp 0x4f5ae9
call dword [esi + 0x13d2f8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4f5b48
cmp al, 0xef
ja 0x4f5b3b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4f5b1d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4f5b2a
mov ebp, dword [esi + 0x13d300]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4f5b7c
sub esp, 0xffffff80
jmp 0x45faa5
Function at 0x40ac13
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 0x40ac57
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 0x40ac26
jmp 0x40ac57
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40ac47
pop esi
pop ebp
ret

Function at 0x40b9af
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 0x40b9e4
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 0x40ba0e
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40ba0e
test edi, edi
je 0x40b9db
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40b9db
test edi, edi
je 0x40ba16
mov eax, edi
jmp 0x40b9dd
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40b9dd
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.0040e718
add esp, 0xc
int3
Function at 0x40e74c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestQuickReturn.exe_gMozillaPoisonSize], eax
call fcn.0040b9af
pop ecx
mov ecx, dword [sym.TestQuickReturn.exe_gMozillaPoisonSize]
mov dword [sym.TestQuickReturn.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40e784
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestQuickReturn.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x1000ed10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1000ed1f
pop dword [ebp - 0x48]
mov eax, 0x1000ed1f
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xba665f19
sub dword [ebp - 0x58], 0x6c1419ce
mov dword [ebp - 0x54], 0x6f7b2774
sub dword [ebp - 0x54], 0x3d47db2f
mov dword [ebp - 0x50], 0x503c74e1
add dword [ebp - 0x50], 0xfc0fcf4d
mov dword [ebp - 0x4c], 0x39996e1e
sub dword [ebp - 0x4c], 0x39996e1e
lea eax, [ebp - 0x58]
push eax
mov eax, 0xe991f5c8
add eax, 0x266fba48
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x368ce45
add dword [ebp - 0x58], 0x71099b11
mov dword [ebp - 0x54], 0x30e423a5
sub dword [ebp - 0x54], 0xef77c230
mov dword [ebp - 0x50], 0x878698ec
sub dword [ebp - 0x50], 0x24172c80
mov dword [ebp - 0x4c], 0xa2ea2345
add dword [ebp - 0x4c], 0x5d15dcbb
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xc86a2a89
add eax, 0x4797858b
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3bf1b
push 0
call eax
mov ecx, 0x3e50
mov esi, eax
mov edi, 0xaf0f34a7
add edi, 0x60f37b59
add edi, dword [ebp - 0x48]
mov edx, 0xb9850ab8
mov ebx, dword [edi]
xor dword [ebp - 0x20], edx
xor ebx, edx
mov dword [esi], ebx
add dword [ebp - 0x30], edi
add esi, 0xcd0d4115
add esi, 0x32f2beef
add edi, 0x6309a814
add edi, 0x9cf657f0
loop 0x1000ee30
add eax, 0xec13
mov ebx, eax
add eax, 0x91ae9ce9
add eax, 0x6e51631c
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret