joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5047a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x3706
mov dword [ebp + 8], esi
lea eax, [edi + 0x105a4]
lea edx, [edi + 0x101a0]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x10da0], ebx
jbe 0x50482c
nop dword [eax]
lea eax, [ebx + 0x40]
xor esi, esi
mov ebx, dword [ebp + 8]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
lea ecx, [ebx + eax]
and edx, 0x7f
movzx ecx, word [edi + ecx*2]
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x101307f0]
add esi, ecx
cmp eax, 1
jne 0x5047eb
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ebx*4], esi
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [edi + 0x10da0]
jb 0x5047e3
mov esi, dword [ebp + 8]
mov ecx, 0xe
cmp dword [edi + 0x10da0], ecx
jbe 0x50484f
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [edx + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x10da0]
jb 0x504839
mov ecx, dword [ebp - 0xc]
add esi, 0x40
mov eax, dword [edx]
mov dword [ebp + 8], esi
mov dword [ecx - 4], eax
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0xc]
add edx, 0x100
mov dword [ecx + 8], eax
add ecx, 0x200
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
cmp esi, 0x3806
jb 0x5047d3
mov ebx, 4
lea eax, [edi + 0x107b0]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
nop word [eax + eax]
cmp ebx, 0x2000
jae 0x5048b4
movzx esi, byte [ebx + 0x10130870]
jmp 0x5048da
mov eax, ebx
cmp ebx, 0x2000000
jae 0x5048cd
shr eax, 0xc
movzx esi, byte [eax + 0x10130870]
add esi, 0x18
jmp 0x5048da
shr eax, 0x18
movzx esi, byte [eax + 0x10130870]
add esi, 0x30
mov eax, esi
mov edx, esi
shr eax, 1
and edx, 1
dec eax
or edx, 2
mov ecx, eax
mov dword [ebp - 0xc], eax
shl edx, cl
mov eax, ebx
mov ecx, 1
mov dword [ebp - 0x10], edx
sub eax, edx
mov dword [ebp + 8], ecx
xor ebx, ebx
nop dword [eax]
mov edx, eax
sub ecx, esi
add ecx, dword [ebp - 0x10]
and edx, 1
shr eax, 1
mov dword [ebp - 0x14], eax
mov eax, edx
neg eax
movzx ecx, word [edi + ecx*2 + 0x700a]
shr eax, 4
shr ecx, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x101307f0]
mov ecx, dword [ebp + 8]
add ebx, eax
sub dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x14]
lea ecx, [edx + ecx*2]
mov dword [ebp + 8], ecx
jne 0x504903
mov ecx, dword [ebp - 4]
mov eax, dword [edi + esi*4 + 0x101a0]
add eax, ebx
mov dword [ecx - 0x200], eax
mov eax, dword [edi + esi*4 + 0x102a0]
add eax, ebx
mov dword [ecx], eax
mov eax, dword [edi + esi*4 + 0x103a0]
add eax, ebx
mov dword [ecx + 0x200], eax
mov eax, dword [edi + esi*4 + 0x104a0]
add eax, ebx
mov ebx, dword [ebp - 8]
inc ebx
mov dword [ecx + 0x400], eax
add ecx, 4
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
cmp ebx, 0x80
jb 0x5048a3
mov dword [edi + 0x10da4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x504a53
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, 8
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [edi + 0xaa4]
sub ecx, edx
mov eax, dword [edi + 0xaa8]
and eax, dword [ebp + 0xc]
shr esi, cl
mov ecx, edx
shl eax, cl
add esi, eax
imul eax, esi, 0x600
add eax, 0xaac
add eax, edi
mov dword [ebp + 8], eax
cmp byte [ebp + 0x14], bl
jne 0x504aa7
push dword [ebp + 0x1c]
push 8
push eax
call fcn.00505d63
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [ebp + 0x1c]
mov esi, 0x100
mov edi, dword [ebp + 0x18]
add edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x101307f0]
mov ecx, edi
xor ecx, edx
add ebx, eax
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x504ab4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x505d63
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
add ecx, eax
mov eax, dword [ebp + 8]
nop dword [eax]
mov esi, ecx
shr ecx, 1
and esi, 1
neg esi
shr esi, 4
movzx edx, word [eax + ecx*2]
and esi, 0x7f
shr edx, 4
xor edx, esi
movzx edx, byte [edx + 0x101307f0]
add edi, edx
cmp ecx, 1
jne 0x505d83
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x506f83
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x506f8f
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00506fa3
Function at 0x50cc83
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050cc93

Function at 0x5254cd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052534c
Function at 0x5edb7b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x5edc50
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x5edc50
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x5edc50
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x5edbd6
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x5edc50
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5edc1b
test dl, dl
je 0x5edc17
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5edc1b
add ecx, 2
add eax, 2
test dl, dl
jne 0x5edbfb
xor eax, eax
jmp 0x5edc20
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5edc32
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x5edc3d
inc esi
cmp esi, ebp
jae 0x5edc50
mov edx, dword [esp + 0x10]
jmp 0x5edbf1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x5edeb4
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x5edebf
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x5eded3
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x5eded7
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x5edf10
cmp dword [edi + ecx], 0x4550
jne 0x5edf10
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x5edf10
test byte [edi + ecx + 0x16], 2
je 0x5edf10
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x5edf15
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x5edf51
xor eax, eax
jmp 0x5edf34
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x5edf5a
inc edx
movzx eax, dx
cmp eax, edi
jl 0x5edf34
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x5edf60
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x5edf98
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x5edfa6
add edx, 0x20
cmp eax, edx
jne 0x5edfb7
test bx, bx
je 0x5edfec
add esi, 2
add edi, 2
jmp 0x5edf88
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x5edfc5
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x5edfd3
add edx, 0x20
sub ecx, edx
je 0x5edfec
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x5edf81
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x5ee005
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x5ee0de
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x5ee0de
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x5ee0de
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x5ee064
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x5ee0de
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5ee0a9
test dl, dl
je 0x5ee0a5
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5ee0a9
add ecx, 2
add eax, 2
test dl, dl
jne 0x5ee089
xor eax, eax
jmp 0x5ee0ae
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5ee0c0
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x5ee0cb
inc esi
cmp esi, ebp
jae 0x5ee0de
mov edx, dword [esp + 0x10]
jmp 0x5ee07f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x5ee0fa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x5ee222
xor eax, eax
mov word [esp + 0x54], ax
mov byte [esp + 0x38], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x65006b
mov dword [esp + 0x44], 0x6e0072
mov dword [esp + 0x48], 0x6c0065
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov dword [esp + 0x2c], 0x4d746547
mov dword [esp + 0x30], 0x6c75646f
mov dword [esp + 0x34], 0x6e614865
mov dword [esp + 0x38], 0x41656c64
mov dword [esp + 0x14], 0x65657246
mov dword [esp + 0x18], 0x7262694c
mov dword [esp + 0x1c], 0x797261
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x466c6175
mov dword [esp + 0x28], 0x656572
call fcn.005ee35c
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.005ee22e
mov ebp, eax
test ebp, ebp
je 0x5ee222
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.005ee22e
mov edi, eax
test edi, edi
je 0x5ee222
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.005ee22e
mov ebx, eax
test ebx, ebx
je 0x5ee222
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x5ee1fe
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x5ee1fe
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.005ee30f
add esp, 0xc
push 0x8000
push 0
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret 4

Function at 0x5ee22e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x5ee303
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x5ee303
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x5ee303
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x5ee289
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x5ee303
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5ee2ce
test dl, dl
je 0x5ee2ca
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5ee2ce
add ecx, 2
add eax, 2
test dl, dl
jne 0x5ee2ae
xor eax, eax
jmp 0x5ee2d3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5ee2e5
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x5ee2f0
inc esi
cmp esi, ebp
jae 0x5ee303
mov edx, dword [esp + 0x10]
jmp 0x5ee2a4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x5ee35c
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x5ee394
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x5ee3a2
add edx, 0x20
cmp eax, edx
jne 0x5ee3b3
test bx, bx
je 0x5ee3e8
add esi, 2
add edi, 2
jmp 0x5ee384
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x5ee3c1
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x5ee3cf
add edx, 0x20
sub ecx, edx
je 0x5ee3e8
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x5ee37d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4041a7
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 0x4041eb
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 0x4041ba
jmp 0x4041eb
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4041db
pop esi
pop ebp
ret

Function at 0x40424b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.TestCountZeroes.exe_gMozillaPoisonSize]
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 0x404283
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x1c]
jb 0x4042ad
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x1c]
jb 0x4042ad
test edi, edi
je 0x40427a
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40427a
test edi, edi
je 0x4042b5
mov eax, edi
jmp 0x40427c
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40427c
int3

Function at 0x4042e4
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]
mov dword [sym.TestCountZeroes.exe_gMozillaPoisonSize], eax
call fcn.0040424b
mov ecx, dword [sym.TestCountZeroes.exe_gMozillaPoisonSize]
mov dword [sym.TestCountZeroes.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40431a
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestCountZeroes.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x405160
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x405184
push esi
call fcn.00405430
test eax, eax
jne 0x405184
push str.Cant_open_clipboard_for_writing.
call fcn.00405260
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4051bd
cmp dword [esi + 0x18], ebx
je 0x4051af
cmp dword [esi + 8], ebx
je 0x4051a4
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4afe04
call fcn.00405260
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp eax, ebx
je 0x4051f6
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x40521d
cmp word [ecx], bx
push eax
sete byte [esp + 0x13]
call edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
cmp byte [esp + 0xf], bl
je 0x40521d
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], ebx
je 0x405213
cmp dword [esi + 8], ebx
je 0x405208
mov ecx, dword [esi]
push ecx
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov edx, dword [esi + 4]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x405232
mov dword [esi + 4], ebx
jmp 0x4051f6
cmp dword [esi + 0x18], ebx
je 0x40524f
cmp dword [esi + 8], ebx
je 0x405244
mov eax, dword [esi]
push eax
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4afe24
call fcn.00405260
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x405330
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x405340
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x40540f
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea edx, [esp + 4]
push 0x4afe48
push edx
call fcn.0049a3aa
add esp, 0xc
test eax, eax
je 0x405406
lea eax, [esp]
push 0x4afe60
push eax
call fcn.00499c29
add esp, 8
test eax, eax
je 0x405406
lea ecx, [esp]
push 0x4afe78
push ecx
call fcn.00499c29
add esp, 8
test eax, eax
je 0x405406
lea edx, [esp]
push 0x4afe8c
push edx
call fcn.00499c29
add esp, 8
test eax, eax
je 0x405406
lea eax, [esp]
push 0x4afe9c
push eax
call fcn.00499c29
add esp, 8
test eax, eax
je 0x405406
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.00499c29
add esp, 8
test eax, eax
je 0x4053fc
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.00499c29
add esp, 8
test eax, eax
jne 0x405415
test esi, esi
je 0x405406
mov dword [esi], 1
xor eax, eax
add esp, 0x20c
ret
xor eax, eax
mov word [esp], ax
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x20c
ret
Function at 0x4a1856
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d4b20]
jne 0x4a1860
repz ret
jmp fcn.004a7ae3

Function at 0x4a5040
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d4b20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0049ddb2
and dword [ebp - 0x14], 0
cmp dword [0x4d7e5c], 0
mov dword [ebp - 0x18], eax
jne 0x4a50f3
push 0x4af0ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a519b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4af0e0
push ebx
call edi
test eax, eax
je 0x4a519b
mov esi, dword [fcn.00499940]
push eax
call esi
push 0x4af0d0
push ebx
mov dword [0x4d7e5c], eax
call edi
push eax
call esi
push 0x4af0bc
push ebx
mov dword [0x4d7e60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d7e64], eax
call edi
push eax
call esi
mov dword [0x4d7e6c], eax
test eax, eax
je 0x4a50f3
push 0x4af088
push ebx
call edi
push eax
call esi
mov dword [0x4d7e68], eax
mov eax, dword [0x4d7e68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00499944]
cmp eax, ecx
je 0x4a514c
cmp dword [0x4d7e6c], ecx
je 0x4a514c
push eax
call esi
push dword [0x4d7e6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a514c
test ebx, ebx
je 0x4a514c
call edi
test eax, eax
je 0x4a5143
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a5143
test byte [ebp - 8], 1
jne 0x4a514c
or dword [ebp + 0x10], 0x200000
jmp 0x4a517f
mov eax, dword [0x4d7e60]
cmp eax, dword [ebp - 0x18]
je 0x4a517f
push eax
call esi
test eax, eax
je 0x4a517f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a517f
mov eax, dword [0x4d7e64]
cmp eax, dword [ebp - 0x18]
je 0x4a517f
push eax
call esi
test eax, eax
je 0x4a517f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d7e5c]
call esi
test eax, eax
je 0x4a519b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a519d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1856
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7899672f
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x530b065a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219