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

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x5388d6
mov edx, 0xf0f0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x5388b1
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff0f0f
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x2020]
mov ebp, eax
and ebp, 0xffff0f0f
add ebp, ecx
mov ecx, edi
and ecx, 0xffff0f0f
add ebp, ecx
mov ecx, esi
and ecx, 0xffff0f0f
shr ebx, 2
lea ecx, [ecx + ebp + 0x202]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff0f0f
lea eax, [eax + esi + 0x2020]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x5387f5
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x5387cc
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x5388df
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x538a15
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x5389f0
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0x1c
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 8]
mov ecx, eax
and ecx, 0xffff00e3
mov ebx, ebp
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00e3
shr edx, 2
lea ecx, [ecx + ebx + 0x42]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xe3
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0x1c
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x53893e
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x53891a
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x538ab9
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1050]
push edi
mov edi, dword [edx + 0x105c]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x538bfd
push ebx
push esi
mov esi, 0xff1c
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1058]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x538bd7
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xe3
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 0x42]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x208]
shr eax, 2
and edx, 0xffff00e3
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x538b22
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1050]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1050]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x538af9
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x538d26
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1050]
push edi
mov edi, dword [edx + 0x105c]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x538e6a
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1058]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x538e44
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x538d8f
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1050]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1050]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x538d66
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x538e72
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x538fa8
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x538f83
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x538ed1
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x538ead
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret

Function at 0x545630
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x54565d
push esi
call fcn.0054ca6b
cmp byte [esi + 0x40], 0
pop ecx
je 0x545656
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x5456cc
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x5456c1
mov eax, dword [esi + 8]
test eax, eax
je 0x54567e
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x5456bd
cmp eax, 2
je 0x5456c1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x545673
cmp eax, 3
je 0x5456a2
cmp eax, 1
jne 0x545673
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x545673
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x545673
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x5456ea
cmp eax, 0xcc
je 0x5456ea
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.00545503
pop esi
ret
Function at 0x54ed2d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x54ed3b
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x54ee0f
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6e30c0]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6e30c0]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6e30c0]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6e30c0]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6e30c0]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6e30c0]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x6e30c0]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x6e30c0]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x54ed58
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x54ee2f
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x6e30c0]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x54ee15
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x562836
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6c7df8
call fcn.00692bd4
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x6e42a8
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], eax
jmp 0x562875
push dword [eax + 0x10]
mov ecx, esi
call fcn.005621a9
lea ecx, [ebp - 0x10]
call fcn.00656a1e
mov eax, dword [ebp - 0x10]
cmp eax, edi
jne 0x562860
mov edi, dword [0x6d0458]
push ebx
call edi
mov ebx, eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.0056263c
push 0x64
call dword [0x6d0338]
call edi
sub eax, ebx
cmp eax, 0x1388
jae 0x5628a6
cmp dword [esi + 0x44], 0
jne 0x562884
mov ecx, esi
call fcn.00562283
push 0x7d0
push esi
call fcn.005840e7
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
pop ebx
je 0x5628e4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5628d7
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00656a1e
cmp dword [ebp - 0x10], edi
jne 0x5628c7
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.00583a0e
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00562fad
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00583284
lea ecx, [esi + 8]
mov byte [ebp - 4], 0
call fcn.00583289
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x6e3ff8
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x562842
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6c7df8
call fcn.00692bd4
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x6e42a8
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], eax
jmp 0x562875
push dword [eax + 0x10]
mov ecx, esi
call fcn.005621a9
lea ecx, [ebp - 0x10]
call fcn.00656a1e
mov eax, dword [ebp - 0x10]
cmp eax, edi
jne 0x562860
mov edi, dword [0x6d0458]
push ebx
call edi
mov ebx, eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.0056263c
push 0x64
call dword [0x6d0338]
call edi
sub eax, ebx
cmp eax, 0x1388
jae 0x5628a6
cmp dword [esi + 0x44], 0
jne 0x562884
mov ecx, esi
call fcn.00562283
push 0x7d0
push esi
call fcn.005840e7
mov edi, dword [esi + 0x40]
mov eax, dword [edi]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
pop ebx
je 0x5628e4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5628d7
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00656a1e
cmp dword [ebp - 0x10], edi
jne 0x5628c7
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.00583a0e
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00562fad
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00583284
lea ecx, [esi + 8]
mov byte [ebp - 4], 0
call fcn.00583289
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x6e3ff8
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x567be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c807b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
mov dword [esp + 0xc], esi
jne 0x567c10
mov eax, dword [str.._Script_Game_Chemical.txt]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [0x6d024c]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x567c48
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push ebp
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call dword [0x6d0250]
mov ebp, eax
push ebp
call fcn.0069197a
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
push 0
lea ecx, [esp + 0x20]
push ecx
push ebp
push edi
push ebx
mov byte [esp + 0x4c], 1
call dword [0x6d0254]
test eax, eax
jne 0x567cbe
test edi, edi
je 0x567c9c
push edi
call fcn.00693d31
add esp, 4
test ebx, ebx
je 0x567ca7
push ebx
call dword [0x6d0258]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ebx, dword [edi]
add ebx, 8
mov edx, dword [ebx + edi - 4]
lea eax, [ebx + edi]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xef4c]
test eax, eax
mov dword [esp + 0x40], edx
je 0x567cef
push eax
call fcn.00693d31
add esp, 4
mov dword [esi + 0xef4c], 0
mov eax, 0xcccccccd
mul dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov esi, edx
shr esi, 3
lea ecx, [esi + esi*4]
shl ecx, 1
push ecx
mov dword [eax + 0xef48], esi
call fcn.0069197a
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x38], 2
je 0x567d36
push fcn.00577be0
push esi
push 0xa
push eax
call fcn.00401000
mov eax, dword [esp + 0x20]
jmp 0x567d38
xor eax, eax
test eax, eax
mov esi, dword [esp + 0x10]
mov byte [esp + 0x38], 1
mov dword [esi + 0xef4c], eax
jne 0x567d7a
push edi
call fcn.00693d31
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x567d63
push eax
call dword [0x6d0258]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [esp + 0x2c]
sub ebp, ebx
push ebp
push eax
call fcn.00578370
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0xef4c]
add esp, 0x10
push 2
push 0
push ecx
mov ecx, dword [0x732630]
push edx
call fcn.005782a0
push edi
call fcn.00693d31
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x567dc3
push eax
call dword [0x6d0258]
mov ecx, dword [esp + 0x30]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x572d80
Capabilities:
Check for software breakpoints
Encode data using xor

Disassembly:
mov eax, 0x1008
call fcn.00693490
push ebx
push esi
mov esi, dword [esp + 0x1014]
cmp dword [esi], 0xffffffff
je 0x572f05
mov eax, dword [esi + 0x1034]
test eax, eax
je 0x572dc7
mov ecx, dword [esp + 0x1018]
cmp byte [ecx], 0x21
je 0x572dc7
mov ecx, dword [esi + 0x1038]
cmp ecx, eax
ja 0x572f05
inc ecx
mov dword [esi + 0x1038], ecx
lea ebx, [esi + 4]
push ebx
mov dword [esp + 0xc], ebx
call dword [0x6d0154]
mov eax, dword [esp + 0x1018]
lea edx, [esp + 0x101c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00694882
add esp, 0xc
lea edx, [esi + 0x101c]
push edx
call dword [0x6d02a4]
mov eax, fcn.006935d4
cmp byte [eax], 0xcc
je 0x572efe
mov ecx, dword [0x6d0190]
cmp byte [ecx], 0xcc
je 0x572efe
xor eax, eax
push ebp
mov ax, word [esi + 0x102a]
lea edx, [esp + 0x14]
push edi
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1028]
xor edx, edx
mov dx, word [esi + 0x1026]
xor eax, eax
mov ax, word [esi + 0x1024]
push ecx
push edx
push eax
push 0x71a1d8
lea ebp, [esi + 0x1c]
call fcn.00586540
add esp, 4
push eax
push ebp
call fcn.006935d4
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1030]
not ecx
dec ecx
test eax, eax
je 0x572eae
test ecx, ecx
jle 0x572ed8
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, 2
mov ebx, dword [esi + 0x1030]
add ebx, edx
mov dword [esi + 0x1030], ebx
add bl, 0x43
xor byte [eax], bl
inc eax
lea ebx, [edi + eax]
cmp ebx, ecx
jl 0x572e8d
mov ebx, dword [esp + 0x10]
jmp 0x572ed8
test ecx, ecx
jle 0x572ed8
mov edi, 0xffffffe4
mov eax, ebp
sub edi, esi
mov edx, dword [esi + 0x102c]
lea edx, [edx + edx*2 + 1]
mov dword [esi + 0x102c], edx
add dl, 0x65
xor byte [eax], dl
inc eax
lea edx, [eax + edi]
cmp edx, ecx
jl 0x572ebb
lea eax, [esp + 0x14]
push 0
push eax
push ecx
mov ecx, dword [esi]
push ebp
push ecx
call dword [0x6d0190]
push ebx
call dword [0x6d0148]
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x1008
ret
push ebx
call dword [0x6d0148]
pop esi
xor al, al
pop ebx
add esp, 0x1008
ret

Function at 0x573970
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0xf672f9]
test al, al
je 0x573983
xor eax, eax
mov esp, ebp
pop ebp
ret
mov al, byte [ecx + 0x1269]
mov dword [ebp - 4], 0
test al, al
je 0x5739ab
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov al, byte fs:[0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x578030
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
test eax, eax
jle 0x578098
movzx eax, word [esp + 0x10]
movzx ecx, byte [esp + 0x14]
push ebx
lea eax, [eax + eax*4]
shl eax, 1
add ecx, eax
push ebp
push edi
lea edi, [ecx + ecx*4]
movzx ecx, byte [esp + 0x24]
add ecx, eax
lea ebp, [ecx + ecx*4]
mov ecx, dword [esp + 0x14]
shl edi, 3
shl ebp, 3
xor edx, edx
mov eax, esi
mov ebx, 0x28
div ebx
mov bl, byte [ecx]
mov al, byte [edx + edi + 0x6e9a88]
xor bl, al
mov byte [ecx], bl
mov dl, byte [edx + ebp + 0x6e9a88]
mov al, bl
xor dl, al
mov eax, dword [esp + 0x18]
mov byte [ecx], dl
inc ecx
inc esi
cmp esi, eax
jl 0x578066
pop edi
pop ebp
pop ebx
pop esi
ret 0x14

Function at 0x578240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
jle 0x57829b
movzx eax, word [esp + 0x14]
movzx ecx, byte [esp + 0x18]
lea eax, [eax + eax*4]
push ebx
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x10]
push edi
lea edi, [eax + eax*4]
shl edi, 3
jmp 0x578270
xor edx, edx
mov eax, esi
mov ebx, 0x28
div ebx
mov al, byte [ecx]
mov dl, byte [edx + edi + 0x6e9a88]
xor dl, al
mov al, dl
sar al, 7
and al, 1
shl dl, 1
or al, dl
mov byte [ecx], al
inc ecx
inc esi
cmp esi, ebp
jl 0x578270
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x5782a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push edi
xor edi, edi
test eax, eax
jle 0x5782fb
movzx eax, word [esp + 0x10]
movzx ecx, byte [esp + 0x14]
push ebx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
push ebp
lea ebx, [eax + eax*4]
push esi
mov esi, dword [esp + 0x14]
shl ebx, 3
mov al, byte [esi]
mov cl, al
sar cl, 1
shl al, 7
and cl, 0x7f
or cl, al
xor edx, edx
mov eax, edi
mov ebp, 0x28
div ebp
mov eax, dword [esp + 0x18]
mov byte [esi], cl
mov dl, byte [edx + ebx + 0x6e9a88]
xor dl, cl
mov byte [esi], dl
inc esi
inc edi
cmp edi, eax
jl 0x5782c8
pop esi
pop ebp
pop ebx
pop edi
ret 0x10
Function at 0x57d953
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov eax, 0x1014
lea ebp, [esp - 0xf94]
call fcn.00693490
mov eax, dword [0x721bb0]
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x8000027
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 0xf9c]
mov dword [ebp + 0xf90], eax
mov eax, dword [ebp + 0xfa0]
or dword [eax], 0xffffffff
mov dword [ebp - 0x7c], esi
call dword [0x6d024c]
cmp eax, 0xffffffff
mov dword [ebp - 0x78], eax
jne 0x57d9b0
call dword [0x6d011c]
mov dword [ebp - 0x7c], eax
jmp 0x57da17
mov dword [ebp - 0x80], 0x71ae00
push esi
jmp 0x57d9f7
cmp dword [ebp - 0x74], 0
je 0x57da11
push esi
push edi
mov eax, dword [ebp + 0xfa0]
mov ecx, dword [eax]
mov edi, dword [ebp - 0x80]
lea esi, [ebp - 0x70]
mov ebx, dword [ebp - 0x74]
lea edx, [esi + ebx]
xor eax, eax
mov bl, byte [esi]
mov al, cl
inc esi
xor al, bl
shr ecx, 8
mov ebx, dword [edi + eax*4]
xor ecx, ebx
cmp edx, esi
jne 0x57d9d6
pop edi
pop esi
mov eax, dword [ebp + 0xfa0]
mov dword [eax], ecx
push 0
lea eax, [ebp - 0x74]
push eax
push 0x1000
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call dword [0x6d0254]
test eax, eax
jne 0x57d9ba
cmp dword [ebp - 0x78], 0
je 0x57da20
push dword [ebp - 0x78]
call dword [0x6d0258]
mov eax, dword [ebp + 0xfa0]
not dword [eax]
mov ecx, dword [ebp + 0xf90]
mov eax, dword [ebp - 0x7c]
call fcn.00692fc7
pop edi
pop esi
pop ebx
add ebp, 0xf94
leave
ret