joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e0690
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c908
mov eax, dword fs:[0]
push eax
sub esp, 0x3b4
mov eax, dword [0x5857cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c0], esi
call fcn.004ef430
mov eax, dword [ebp + 8]
mov dword [esi], vtable.audio::AudioInputImpl.0
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [esi + 0x14], eax
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.004f3080
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 5
call fcn.004f3080
mov eax, dword [esi + 0xc]
mov byte [ebp - 4], 6
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], bl
cmp eax, 1
jl 0x4e0864
cmp eax, 2
jg 0x4e0864
mov eax, dword [esi + 0x10]
cmp eax, 8
je 0x4e0793
cmp eax, 0x10
je 0x4e0793
push str.Unsupported_bits_per_sample_while_creating_AudioInput
lea ecx, [ebp - 0x2c]
call fcn.00401d20
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 9
call fcn.004ef560
push eax
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xa
call fcn.004f2f50
push 0x56d668
lea edx, [ebp - 0x20c]
push edx
mov dword [ebp - method.lang::Exception.virtual_0], vtable.lang::Exception.0
call fcn.00521446
mov eax, dword [esi + 0x14]
cmp eax, 0x1f40
je 0x4e0845
cmp eax, 0x2b11
je 0x4e0845
cmp eax, 0x3e80
je 0x4e0845
cmp eax, 0x5622
je 0x4e0845
cmp eax, 0x7d00
je 0x4e0845
cmp eax, 0xac44
je 0x4e0845
cmp eax, 0xbb80
je 0x4e0845
cmp eax, 0x15888
je 0x4e0845
cmp eax, 0x17700
je 0x4e0845
cmp eax, 0x2ee0
je 0x4e0845
cmp eax, 0x5dc0
je 0x4e0845
cmp eax, 0xfa00
je 0x4e0845
push str.Unsupported_samples_per_second_while_creating_AudioInput
lea ecx, [ebp - 0x2c]
call fcn.00401d20
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 0xb
call fcn.004ef560
push eax
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0xc
call fcn.004f2f50
push 0x56d668
lea ecx, [ebp - 0x20c]
push ecx
mov dword [ebp - method.lang::Exception.virtual_0], vtable.lang::Exception.0
call fcn.00521446
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00521458
mov esp, ebp
pop ebp
ret 4
push 0x37
push str.Unsupported_count_of_channels_while_creating_AudioInput
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00401bf0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 7
call fcn.004ef560
push eax
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 8
call fcn.004f2f50
push 0x56d668
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - method.lang::Exception.virtual_0], vtable.lang::Exception.0
call fcn.00521446
int3
Function at 0x503040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ff39
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5857cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004ef430
lea edi, [esi + 0xc]
mov dword [edi], vtable.rcs::analytics::EventQueueListener.0
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.rcs::analytics::EventDispatcher.1.0
mov dword [edi], vtable.rcs::analytics::EventDispatcher.0
call fcn.004f3080
push ebx
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0052c5d0
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x20]
mov byte [esi + 0x24], bl
push edi
mov byte [ebp - 4], 3
mov byte [esi + 0x25], bl
mov byte [esi + 0x26], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
call fcn.00504bf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x50bf50
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
ret

Function at 0x50d620
Capabilities:
Hash data using sha1

Disassembly:
mov eax, ecx
lea ecx, [eax + 0x80]
mov dword [eax + 0xc0], ecx
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x50d660
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 0x148]
push 0x40
push 0
push eax
call fcn.0052143a
push 0x40
lea eax, [ebx + 0xc4]
push 0x36
push eax
call fcn.0052143a
push 0x40
lea eax, [ebx + 0x104]
push 0x5c
push eax
call fcn.0052143a
mov esi, dword [ebp + 0x14]
add esp, 0x24
cmp esi, 0x40
jle 0x50d6cd
mov ecx, ebx
call fcn.0050bf50
mov ecx, dword [ebp + 0x10]
push esi
push ecx
mov ecx, ebx
call fcn.0050d420
mov ecx, ebx
call fcn.0050d4e0
mov edx, dword [ebx + 0x148]
push edx
mov ecx, ebx
call fcn.0050d5f0
jmp 0x50d6e1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x148]
push esi
push eax
push ecx
call fcn.00521434
add esp, 0xc
mov esi, 0xffffff3b
lea eax, [ebx + 0xc5]
sub esi, ebx
mov edi, edi
mov edx, dword [ebx + 0x148]
lea edi, [esi + eax]
movzx ecx, byte [edi + edx]
xor byte [eax - 1], cl
mov edx, dword [ebx + 0x148]
movzx ecx, byte [edi + edx + 1]
xor byte [eax], cl
mov edx, dword [ebx + 0x148]
movzx ecx, byte [edi + edx + 2]
xor byte [eax + 1], cl
mov edx, dword [ebx + 0x148]
movzx ecx, byte [edi + edx + 3]
xor byte [eax + 2], cl
add eax, 4
lea edx, [esi + eax]
cmp edx, 0x40
jb 0x50d6f0
mov edi, dword [ebx + 0x14c]
mov eax, dword [ebp + 8]
mov ecx, 0x10
lea esi, [ebx + 0xc4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x14c]
push esi
push eax
add ecx, 0x40
push ecx
call fcn.00521434
add esp, 0xc
mov ecx, ebx
call fcn.0050bf50
mov edx, dword [ebx + 0x14c]
add esi, 0x40
push esi
push edx
mov ecx, ebx
call fcn.0050d420
mov ecx, ebx
call fcn.0050d4e0
mov eax, dword [ebx + 0x144]
push eax
mov ecx, ebx
call fcn.0050d5f0
mov edi, 0xfffffefb
lea eax, [ebx + 0x105]
sub edi, ebx
lea esp, [esp]
mov ecx, dword [ebx + 0x148]
lea esi, [edi + eax]
movzx edx, byte [esi + ecx]
xor byte [eax - 1], dl
mov ecx, dword [ebx + 0x148]
movzx edx, byte [esi + ecx + 1]
xor byte [eax], dl
mov ecx, dword [ebx + 0x148]
movzx edx, byte [esi + ecx + 2]
xor byte [eax + 1], dl
mov ecx, dword [ebx + 0x148]
movzx edx, byte [esi + ecx + 3]
xor byte [eax + 2], dl
add eax, 4
lea ecx, [edi + eax]
cmp ecx, 0x40
jb 0x50d7a0
mov edi, dword [ebx + 0x150]
mov ecx, 0x10
lea esi, [ebx + 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x144]
mov edx, dword [ecx]
mov eax, dword [ebx + 0x150]
mov dword [eax + 0x40], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x44], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x48], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x4c], edx
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0x50], ecx
mov ecx, ebx
call fcn.0050bf50
mov edx, dword [ebx + 0x150]
push 0x54
push edx
mov ecx, ebx
call fcn.0050d420
mov ecx, ebx
call fcn.0050d4e0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, ebx
call fcn.0050d5f0
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x5157e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
push edi
mov edi, ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 4], eax
cmp ecx, eax
je 0x5158da
mov edx, dword [eax + 0x78]
test edx, edx
je 0x51583f
cmp dword [edx], ecx
jne 0x515835
mov eax, dword [edx + 4]
mov esi, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [ebp + 8], eax
cmp esi, ebx
jne 0x515824
cmp eax, dword [ebp + 0xc]
je 0x5158da
cmp esi, dword [ebp + 0xc]
jne 0x515832
cmp dword [ebp + 8], ebx
je 0x5158da
mov eax, dword [ebp - 4]
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x515807
mov esi, dword [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.00511930
test al, al
je 0x5158da
mov ecx, dword [edi + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
push ebx
call eax
test al, al
je 0x5158da
mov ecx, dword [edi + 0x4c]
push ecx
push esi
push ebx
call fcn.00517a00
mov edx, dword [eax + 0x30]
mov ecx, dword [edx + 0x18]
mov edx, dword [eax + 0x34]
mov edx, dword [edx + 0x18]
mov dword [eax + 8], 0
mov esi, dword [edi + 0x3c]
mov dword [eax + 0xc], esi
mov esi, dword [edi + 0x3c]
add esp, 0xc
test esi, esi
je 0x515890
mov dword [esi + 8], eax
mov dword [edi + 0x3c], eax
lea esi, [eax + 0x10]
mov dword [eax + 0x14], eax
mov dword [esi], edx
mov dword [eax + 0x18], 0
mov ebx, dword [ecx + 0x78]
mov dword [eax + 0x1c], ebx
mov ebx, dword [ecx + 0x78]
test ebx, ebx
je 0x5158b2
mov dword [ebx + 8], esi
mov dword [ecx + 0x78], esi
lea esi, [eax + 0x20]
mov dword [eax + 0x24], eax
mov dword [esi], ecx
mov dword [eax + 0x28], 0
mov ecx, dword [edx + 0x78]
mov dword [eax + 0x2c], ecx
mov eax, dword [edx + 0x78]
test eax, eax
je 0x5158d4
mov dword [eax + 8], esi
mov dword [edx + 0x78], esi
inc dword [edi + 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x521458
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5857cc]
jne 0x521462
repz ret
jmp fcn.00521e0e
Function at 0x527790
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x5277a0
pop edi
pop ebx
ret

Function at 0x5277d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov edx, pe_nt_image_headers32
xor eax, eax
push edi
or ecx, edx
add esi, esi
mov edi, edx
and edi, esi
add edi, edx
mov ebx, ecx
shr ebx, 8
add ebx, edi
mov edi, dword [ebp + 8]
movzx edi, word [edi + ebx*2]
mov ebx, ecx
shr ebx, 7
and ebx, 1
neg ebx
shr edi, 4
sar ebx, 4
and ebx, 0x7f
xor edi, ebx
mov ebx, dword [ebp + 0xc]
add eax, dword [ebx + edi*4]
add ecx, ecx
mov edi, ecx
xor edi, esi
not edi
and edx, edi
cmp ecx, 0x10000
jb 0x5277e1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x527a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [ebp - 0xc], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
mov dword [ebp - 0x10], edx
push edi
mov dword [ebp - 0x14], ecx
xor edx, edx
jmp 0x527ae0
cmp edx, dword [ebp + 0x10]
jae 0x527c00
mov eax, edx
xor edi, edi
or eax, 8
mov dword [ebp - 4], edi
cmp eax, 1
je 0x527b29
mov edi, dword [ebp + 0xc]
mov ecx, eax
and eax, 1
shr ecx, 1
lea edi, [ecx + edi*8]
movzx edi, word [ebx + edi*2 + 4]
neg eax
sar eax, 4
shr edi, 4
and eax, 0x7f
xor edi, eax
mov eax, edi
mov edi, dword [ebp - 4]
add edi, dword [esi + eax*4]
mov eax, ecx
mov dword [ebp - 4], edi
cmp eax, 1
jne 0x527af8
add edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4], edi
inc edx
cmp edx, 8
jb 0x527ae0
cmp edx, 0x10
jae 0x527baa
lea eax, [edx - 8]
mov dword [ebp - 8], eax
cmp edx, dword [ebp + 0x10]
jae 0x527c00
xor edi, edi
or eax, 8
mov dword [ebp - 4], edi
cmp eax, 1
je 0x527b94
lea esp, [esp]
mov edi, dword [ebp + 0xc]
mov ecx, eax
and eax, 1
shr ecx, 1
lea edi, [ecx + edi*8]
movzx edi, word [ebx + edi*2 + 0x104]
neg eax
sar eax, 4
shr edi, 4
and eax, 0x7f
xor edi, eax
mov eax, edi
mov edi, dword [ebp - 4]
add edi, dword [esi + eax*4]
mov eax, ecx
mov dword [ebp - 4], edi
cmp eax, 1
jne 0x527b60
add edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [ebp - 8], eax
cmp edx, 0x10
jb 0x527b43
cmp edx, dword [ebp + 0x10]
jae 0x527c00
lea eax, [edx - 0x10]
mov dword [ebp - 8], eax
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x527bea
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebx, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
shr ebx, 4
and eax, 0x7f
xor ebx, eax
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp + 8]
mov eax, ecx
cmp eax, 1
jne 0x527bc1
add edi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [ebp - 8], eax
cmp edx, dword [ebp + 0x10]
jb 0x527bb5
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x529720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [edi + 0x32350]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
lea ebx, [ebx]
xor edx, edx
lea ecx, [edx + 1]
mov dword [ebp - 4], 4
lea esp, [esp]
movzx ebx, word [edi + ecx*2 + 0x329f4]
mov eax, esi
and eax, 1
mov edi, eax
neg edi
sar edi, 4
and edi, 0x7f
shr ebx, 4
xor ebx, edi
mov edi, dword [ebp + 8]
add edx, dword [edi + ebx*4 + 0x30ca0]
add ecx, ecx
shr esi, 1
or ecx, eax
dec dword [ebp - 4]
jne 0x529750
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp esi, 0x10
jb 0x529740
mov dword [edi + 0x32390], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5297b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5857cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 4
mov dword [ebp - 0x208], edi
movzx ebx, byte [edx + edi + 0x304a0]
mov ecx, ebx
mov esi, ebx
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x210], 1
sub edi, esi
mov dword [ebp - 0x214], ecx
test ecx, ecx
je 0x529863
jmp 0x529816
mov ebx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
sub ecx, ebx
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x3290e]
mov eax, edi
and eax, 1
mov ebx, eax
neg ebx
shr ecx, 4
sar ebx, 4
and ebx, 0x7f
xor ecx, ebx
mov ecx, dword [edx + ecx*4 + 0x30ca0]
add dword [ebp - 0x20c], ecx
mov ecx, dword [ebp - 0x210]
add ecx, ecx
or ecx, eax
shr edi, 1
dec dword [ebp - 0x214]
mov dword [ebp - 0x210], ecx
jne 0x529810
mov edi, dword [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
mov dword [ebp + edi*4 - 0x204], eax
inc edi
mov dword [ebp - 0x208], edi
cmp edi, 0x80
jb 0x5297d1
lea esi, [ebp - 0x204]
sub esi, edx
lea ecx, [edx + 0x32710]
lea ebx, [edx + 0x31b58]
sub esi, 0x31b50
lea edi, [edx + 0x31750]
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x218], 4
jmp 0x5298d0
xor ecx, ecx
mov dword [ebp - 0x214], ecx
cmp dword [edx + 0x32394], ecx
jbe 0x529940
mov eax, ecx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x529928
lea esp, [esp]
mov ebx, dword [ebp - 0x208]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebx, word [ebx + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebx, 4
xor ebx, eax
add esi, dword [edx + ebx*4 + 0x30ca0]
mov eax, ecx
cmp eax, 1
jne 0x5298f0
mov ebx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x214]
mov dword [edi + ecx*4], esi
inc ecx
mov dword [ebp - 0x214], ecx
cmp ecx, dword [edx + 0x32394]
jb 0x5298e0
mov esi, dword [ebp - 0x210]
mov eax, 0xe
cmp dword [edx + 0x32394], eax
jbe 0x529966
lea ecx, [ecx]
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x32394]
jb 0x529950
mov eax, dword [edi]
mov dword [ebx - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebx - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebx], eax
mov ecx, dword [edi + 0xc]
mov dword [ebx + 4], ecx
mov eax, 4
lea ecx, [ebx + 8]
jmp 0x529990
movzx ebx, byte [edx + eax + 0x304a0]
mov ebx, dword [edi + ebx*4]
add ebx, dword [esi + ecx]
inc eax
mov dword [ecx], ebx
add ecx, 4
cmp eax, 0x80
jb 0x529990
mov ebx, dword [ebp - 0x20c]
sub dword [ebp - 0x208], 0xffffff80
add ebx, 0x200
sub esi, 0x200
add edi, 0x100
dec dword [ebp - 0x218]
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
jne 0x5298d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [edx + 0x3baf8], 0
pop ebx
call fcn.00521458
mov esp, ebp
pop ebp
ret
Function at 0x52ab80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], edx
lea esi, [eax + 0x70]
lea ecx, [ecx]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x52abb0
pop esi
pop ebp
ret

Function at 0x52e420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541df1
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5857cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.google::protobuf::io::GzipInputStream.0
mov dword [esi + 8], ecx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], ebx
cmp eax, 0xffffffff
jne 0x52e495
mov dword [esi + 0x50], 0x10000
jmp 0x52e498
mov dword [esi + 0x50], eax
mov edx, dword [esi + 0x50]
push edx
call fcn.00521440
add esp, 4
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x52e4df
push 0x42
push str.........externalFusionexternalprotobuf_srcgoogleprotobufiogzip_stream.cc
push 3
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x39], bl
call fcn.0052f910
push str.CHECK_failed:_output_buffer____NULL:
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 1
call fcn.0052fc40
push eax
lea ecx, [ebp - 0x39]
call fcn.0052fe90
test byte [ebp - 0x40], 1
mov dword [ebp - 4], ebx
je 0x52e4f0
lea ecx, [ebp - 0x38]
call fcn.004033e0
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x18], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x1c], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00521458
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402a7a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x4467d0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402b0e
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402acb
cmp dword [ebp + 0x10], ebx
jne 0x402b02
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a7a
test eax, eax
jne 0x402add
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ab2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004061fc
cmp eax, ebx
je 0x402b15
push ebx
push dword [0x4467d0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402b0e
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 [0x4467d0], ebx
jne 0x402b0b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402b0b
jmp 0x402b0e
Function at 0x402f5c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x402f87
mov ecx, dword [0x446778]
push esi
add eax, ecx
push esi
push eax
mov dword [0x41f4dc], eax
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403064
cmp eax, esi
jl 0x40305e
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40901c]
call fcn.00405b4e
test eax, eax
je 0x40304e
push dword [ebp + 8]
add dword [0x41f4dc], 4
call fcn.00403064
mov ebx, eax
cmp ebx, esi
jl 0x40305c
cmp dword [ebp + 0x10], esi
jne 0x40302a
cmp dword [ebp + 8], esi
jle 0x40305c
mov esi, 0x41b4d8
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x402fec
mov eax, 0x4000
push eax
push esi
push dword [0x40901c]
mov dword [ebp - 4], eax
call fcn.00405b4e
test eax, eax
je 0x40304e
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00405b7d
test eax, eax
je 0x403026
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x41f4dc], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x402fdb
jmp 0x40305c
push 0xfffffffffffffffe
jmp 0x403050
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403035
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403053
push 0xfffffffffffffffd
pop eax
jmp 0x40305e
mov ebx, dword [ebp - 4]
add dword [0x41f4dc], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10