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

Disassembly:
mov al, byte [0x222afb0]
sub esp, 0x40c
test al, 1
push ebx
push edi
jne 0x574a74
mov bl, al
push 0x222af30
or bl, 1
mov byte [0x222afb0], bl
call dword [0x6a8314]
push 0x574c10
call fcn.005ba464
add esp, 4
mov edi, dword [esp + 0x418]
test edi, edi
jne 0x574a8a
pop edi
xor eax, eax
pop ebx
add esp, 0x40c
ret
push ebp
push esi
push 0x222af30
call dword [0x6a82ec]
cmp byte [edi], 1
jne 0x574aec
movsx eax, byte [edi + 1]
mov dl, byte [edi + 2]
mov bl, byte [edi + 3]
lea eax, [eax + eax*2]
xor esi, esi
mov cl, al
add cl, 0x65
lea eax, [eax + eax*2 + 3]
xor dl, cl
xor ecx, ecx
mov byte [edi + 2], dl
mov ch, byte [edi + 2]
mov dl, al
add dl, 0x65
xor bl, dl
inc eax
mov cl, bl
mov byte [edi + 3], bl
mov ebp, ecx
test ebp, ebp
jle 0x574ae8
mov cl, byte [esi + edi + 4]
lea eax, [eax + eax*2]
mov dl, al
add dl, 0x65
xor cl, dl
inc eax
mov byte [esi + edi], cl
inc esi
cmp esi, ebp
jl 0x574ad1
mov byte [edi + ebp], 0
xor ebx, ebx
call dword [0x6a8180]
mov edx, 1
mov ecx, 0x222af4c
cmp dword [ecx], eax
je 0x574b10
add ecx, 4
inc edx
cmp ecx, 0x222af70
jl 0x574afe
jmp 0x574b16
test edx, edx
mov ebx, edx
jne 0x574b31
mov ecx, dword [0x222b3b8]
cmp ecx, 9
jae 0x574b31
inc ecx
mov dword [0x222b3b8], ecx
mov ebx, ecx
mov dword [ecx*4 + 0x222af48], eax
mov esi, dword [ebx*4 + 0x222af70]
mov dword [ebx*4 + 0x222af70], edi
test esi, esi
je 0x574beb
cmp esi, edi
je 0x574beb
cmp byte [edi], 1
je 0x574beb
cmp byte [esi], 1
je 0x574beb
lea edx, [esp + 0x1c]
push esi
push edx
call dword [0x6a83c8]
lea eax, [esp + 0x1c]
push eax
call dword [0x6a83cc]
test eax, eax
mov dword [esp + 0x18], eax
je 0x574beb
lea ecx, [esp + 0x1c]
mov byte [esi], 1
and ecx, 0xff
mov ebp, 4
mov byte [esi + 1], cl
lea edx, [ecx + ecx*2 + 0x65]
lea ecx, [ecx + ecx*2 + 1]
mov dword [esp + 0x14], edx
xor edx, edx
lea ecx, [ecx + ecx*2]
lea ebx, [ecx + 0x65]
inc ecx
test eax, eax
mov dword [esp + 0x10], ebx
jle 0x574bd1
mov bl, byte [esp + edx + 0x1c]
lea ecx, [ecx + ecx*2]
mov al, cl
add al, 0x65
xor bl, al
mov eax, dword [esp + 0x18]
mov byte [esi + ebp], bl
inc ebp
inc ecx
inc edx
cmp edx, eax
jl 0x574bb2
mov ebx, dword [esp + 0x10]
mov dl, byte [esp + 0x14]
lea eax, [ebp - 4]
mov ecx, eax
mov byte [esi + ebp], 0
sar ecx, 8
xor cl, dl
xor bl, al
mov byte [esi + 2], cl
mov byte [esi + 3], bl
push 0x222af30
call dword [0x6a82e4]
pop esi
mov eax, edi
pop ebp
pop edi
pop ebx
add esp, 0x40c
ret

Function at 0x574ea0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov eax, ecx
push edi
xor esi, esi
mov edi, eax
mov edx, esi
mov ebx, 8
test dl, 1
je 0x574ebf
shr edx, 1
xor edx, 0xedb88320
jmp 0x574ec1
shr edx, 1
dec ebx
jne 0x574eb0
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x574ea9
pop edi
pop esi
pop ebx
ret
Function at 0x574ee0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1004
call fcn.005ba830
mov eax, dword [esp + 0x1008]
push ebp
push esi
mov esi, dword [esp + 0x1014]
test eax, eax
push edi
mov ebp, ecx
mov dword [esi], 0xffffffff
je 0x574fe5
cmp byte [eax], 0
je 0x574fe5
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [0x6a83bc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x574f4c
pop edi
mov dword [ebp + 0x400], 2
pop esi
xor al, al
pop ebp
add esp, 0x1004
ret 8
push ebx
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 0x1000
push ecx
push edi
call dword [0x6a81c0]
test eax, eax
je 0x574fbf
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x574fbb
lea ecx, [esp + ecx + 0x14]
lea edx, [esp + 0x14]
cmp edx, ecx
lea eax, [esp + 0x14]
jae 0x574f9d
xor edx, edx
xor ebx, ebx
mov dl, byte [esi]
mov bl, byte [eax]
xor edx, ebx
mov ebx, dword [esi]
shr ebx, 8
mov edx, dword [ebp + edx*4]
xor edx, ebx
inc eax
cmp eax, ecx
mov dword [esi], edx
jb 0x574f81
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 0x1000
push ecx
push edi
call dword [0x6a81c0]
test eax, eax
jne 0x574f69
jmp 0x574fbf
test eax, eax
jne 0x574fc9
mov dword [ebp + 0x400], 3
push edi
call dword [0x6a83c0]
mov edx, dword [esi]
pop ebx
not edx
mov dword [esi], edx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x1004
ret 8
pop edi
mov dword [ebp + 0x400], 1
pop esi
xor al, al
pop ebp
add esp, 0x1004
ret 8
Function at 0x58dbd0
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x808
push esi
mov esi, dword [esp + 0x814]
push 5
push esi
push str.data_
call fcn.005bd856
add esp, 0xc
test eax, eax
je 0x58dc10
push 5
push esi
push 0x6a9514
call fcn.005bd856
add esp, 0xc
test eax, eax
je 0x58dc10
xor al, al
pop esi
add esp, 0x808
ret
push edi
mov edi, dword [0x2237900]
test edi, edi
jne 0x58dc26
pop edi
xor al, al
pop esi
add esp, 0x808
ret
lea eax, [esi + 5]
lea edx, [esp + 0x10]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x58dc30
push ebx
xor ebx, ebx
xor ecx, ecx
mov esi, edi
xor eax, eax
mov dl, byte [esp + ebx + 0x14]
cmp dl, 0x2f
je 0x58dc59
cmp dl, 0x5c
je 0x58dc59
test dl, dl
je 0x58dca6
inc ebx
inc eax
jmp 0x58dc43
test eax, eax
lea edx, [esp + ecx + 0x14]
mov ecx, 0x1505
je 0x58dc81
mov edi, eax
movsx eax, byte [edx]
inc edx
cmp eax, 0x40
jle 0x58dc79
cmp eax, 0x5b
jge 0x58dc79
add eax, 0x20
imul ecx, ecx, 0x21
add ecx, eax
dec edi
jne 0x58dc68
mov dword [esp + 0xc], ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x2c]
call fcn.0054e1d0
mov eax, dword [eax]
cmp eax, dword [esi + 0x30]
je 0x58dd06
mov esi, dword [eax + 0x10]
inc ebx
mov ecx, ebx
jmp 0x58dc41
test eax, eax
je 0x58dd06
push eax
lea edx, [esp + ecx + 0x18]
push edx
call fcn.0040ba80
add esp, 8
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x20]
call fcn.0054e1d0
mov eax, dword [eax]
cmp eax, dword [esi + 0x24]
je 0x58dd06
mov esi, dword [eax + 0x10]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x818]
push 0
push edx
mov edx, dword [ecx]
push eax
push edx
call fcn.005bb832
add esp, 0x10
pop ebx
pop edi
mov dword [0x22378fc], esi
mov al, 1
pop esi
add esp, 0x808
ret
pop ebx
pop edi
xor al, al
pop esi
add esp, 0x808
ret
Function at 0x590540
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x808
push esi
mov esi, eax
push 5
push esi
push str.data_
call fcn.005bd856
add esp, 0xc
test eax, eax
je 0x59057b
push 5
push esi
push 0x6a9514
call fcn.005bd856
add esp, 0xc
test eax, eax
je 0x59057b
xor al, al
pop esi
add esp, 0x808
ret
push edi
mov edi, dword [0x2237910]
test edi, edi
jne 0x590591
pop edi
xor al, al
pop esi
add esp, 0x808
ret
lea eax, [esi + 5]
lea edx, [esp + 0x10]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5905a0
push ebx
xor ebx, ebx
xor ecx, ecx
mov esi, edi
xor eax, eax
mov dl, byte [esp + ebx + 0x14]
cmp dl, 0x2f
je 0x5905c9
cmp dl, 0x5c
je 0x5905c9
test dl, dl
je 0x590616
inc ebx
inc eax
jmp 0x5905b3
test eax, eax
lea edx, [esp + ecx + 0x14]
mov ecx, 0x1505
je 0x5905f1
mov edi, eax
movsx eax, byte [edx]
inc edx
cmp eax, 0x40
jle 0x5905e9
cmp eax, 0x5b
jge 0x5905e9
add eax, 0x20
imul ecx, ecx, 0x21
add ecx, eax
dec edi
jne 0x5905d8
mov dword [esp + 0xc], ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x2c]
call fcn.0054e1d0
mov eax, dword [eax]
cmp eax, dword [esi + 0x30]
je 0x590672
mov esi, dword [eax + 0x10]
inc ebx
mov ecx, ebx
jmp 0x5905b1
push eax
lea edx, [esp + ecx + 0x18]
push edx
call fcn.0040ba80
add esp, 8
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x20]
call fcn.0054e1d0
mov eax, dword [eax]
cmp eax, dword [esi + 0x24]
je 0x590672
mov esi, dword [eax + 0x10]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x818]
push 0
push edx
mov edx, dword [ecx]
push eax
push edx
call fcn.005bb832
add esp, 0x10
pop ebx
pop edi
mov dword [0x2237914], esi
mov al, 1
pop esi
add esp, 0x808
ret
pop ebx
pop edi
xor al, al
pop esi
add esp, 0x808
ret

Function at 0x592b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6a1518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.0059e710
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x38]
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 0x1c], ecx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x20], 0x43480000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xbf800000
mov dword [esp + 0x30], 0
call fcn.005925e0
test al, al
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
je 0x592b9d
call fcn.00697fa0
fld dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 8
call fcn.00697fa0
fld dword [0x6a867c]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x592bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6a1518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.0059e710
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xbf800000
mov dword [esp + 0x30], 0
call fcn.005925e0
test al, al
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
je 0x592c5d
call fcn.00697fa0
fld dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
call fcn.00697fa0
fld dword [0x6a867c]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc

Function at 0x599ed0
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x808
push esi
mov esi, eax
push 5
push esi
push str.data_
call fcn.005bd856
add esp, 0xc
test eax, eax
je 0x599f0b
push 5
push esi
push 0x6a9514
call fcn.005bd856
add esp, 0xc
test eax, eax
je 0x599f0b
xor al, al
pop esi
add esp, 0x808
ret
push edi
mov edi, dword [0x2237940]
test edi, edi
jne 0x599f21
pop edi
xor al, al
pop esi
add esp, 0x808
ret
lea eax, [esi + 5]
lea edx, [esp + 0x10]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x599f30
push ebx
xor ebx, ebx
xor ecx, ecx
mov esi, edi
xor eax, eax
mov dl, byte [esp + ebx + 0x14]
cmp dl, 0x2f
je 0x599f59
cmp dl, 0x5c
je 0x599f59
test dl, dl
je 0x599fa6
inc ebx
inc eax
jmp 0x599f43
test eax, eax
lea edx, [esp + ecx + 0x14]
mov ecx, 0x1505
je 0x599f81
mov edi, eax
movsx eax, byte [edx]
inc edx
cmp eax, 0x40
jle 0x599f79
cmp eax, 0x5b
jge 0x599f79
add eax, 0x20
imul ecx, ecx, 0x21
add ecx, eax
dec edi
jne 0x599f68
mov dword [esp + 0xc], ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x2c]
call fcn.0054e1d0
mov eax, dword [eax]
cmp eax, dword [esi + 0x30]
je 0x59a002
mov esi, dword [eax + 0x10]
inc ebx
mov ecx, ebx
jmp 0x599f41
push eax
lea edx, [esp + ecx + 0x18]
push edx
call fcn.0040ba80
add esp, 8
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x20]
call fcn.0054e1d0
mov eax, dword [eax]
cmp eax, dword [esi + 0x24]
je 0x59a002
mov esi, dword [eax + 0x10]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x818]
push 0
push edx
mov edx, dword [ecx]
push eax
push edx
call fcn.005bb832
add esp, 0x10
pop ebx
pop edi
mov dword [0x2237944], esi
mov al, 1
pop esi
add esp, 0x808
ret
pop ebx
pop edi
xor al, al
pop esi
add esp, 0x808
ret
Function at 0x5ab7a0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6a20e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov eax, dword [0x6faa54]
mov ecx, dword [esp + 0xa0]
xor eax, esp
push ebx
push ebp
mov dword [esp + 0x94], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], eax
mov byte [esp + 0x84], al
mov edi, dword [esp + 0xb4]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x14], 0x3e8
mov dword [esp + 0x18], 0x6b012c
mov dword [esp + 0x1c], 0x384
mov dword [esp + 0x20], 0x6baf24
mov dword [esp + 0x24], 0x1f4
mov dword [esp + 0x28], 0x6b0180
mov dword [esp + 0x2c], 0x190
mov dword [esp + 0x30], 0x6baf20
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x38], 0x6b013c
mov dword [esp + 0x3c], 0x5a
mov dword [esp + 0x40], 0x6baf1c
mov dword [esp + 0x44], 0x32
mov dword [esp + 0x48], 0x6b0168
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x50], 0x6baf18
mov dword [esp + 0x54], 0xa
mov dword [esp + 0x58], 0x6b0140
mov dword [esp + 0x5c], 9
mov dword [esp + 0x60], 0x6baf14
mov dword [esp + 0x64], 5
mov dword [esp + 0x68], 0x6b0138
mov dword [esp + 0x6c], 4
mov dword [esp + 0x70], 0x6baf10
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0x6b01c0
xor ebx, ebx
mov esi, dword [esp + ebx*8 + 0x14]
cmp edi, esi
jb 0x5ab911
mov ebp, dword [esp + ebx*8 + 0x18]
mov eax, ebp
sub edi, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ab8f0
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x88]
call fcn.0051e340
cmp edi, esi
jae 0x5ab8e3
mov ecx, dword [esp + 0x10]
xor eax, eax
inc ebx
cmp ebx, 0xd
jb 0x5ab8d7
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
push eax
lea eax, [esp + 0x88]
mov dword [ecx + 0x18], 0xf
push eax
mov byte [ecx + 4], 0
call fcn.00405620
cmp dword [esp + 0x98], 0x10
pop edi
pop esi
pop ebp
pop ebx
jb 0x5ab950
mov ecx, dword [esp + 0x74]
push ecx
call fcn.005b9e6d
add esp, 4
mov ecx, dword [esp + 0x90]
mov eax, dword [esp]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.005be15d
add esp, 0x9c
ret
Function at 0x5ad330
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
or eax, 0xffffffff
test edx, edx
jbe 0x5ad360
mov ecx, dword [esp + 4]
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [esi*4 + 0x6f9138]
shr eax, 8
xor eax, edi
inc ecx
dec edx
jne 0x5ad341
pop edi
pop esi
not eax
ret
Function at 0x5c7006
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x5c7034
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x5c703b
cmp ebx, dword [eax + 4]
jae 0x5c703b
xor eax, eax
jmp 0x5c722b
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x5c704c
xor eax, eax
inc eax
jmp 0x5c722a
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5c7062
cmp ecx, edx
jae 0x5c71a7
cmp dword [eax + 4], 0
je 0x5c706b
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x5c7053
cmp dword [ebp + 8], 0
je 0x5c708d
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x5c71a7
cmp eax, esi
jae 0x5c71a7
mov eax, dword [0x2238670]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x5c70b2
cmp dword [esi*4 + 0x2238678], edi
je 0x5c71ab
inc esi
cmp esi, eax
jl 0x5c70a0
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x6a837c]
test eax, eax
je 0x5c7227
cmp dword [ebp - 8], 0x1000000
jne 0x5c7227
test byte [ebp - 0xc], 0xcc
je 0x5c7130
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x5c7227
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x5c7227
cmp word [eax + 0x18], 0x10b
jne 0x5c7227
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x5c7227
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x5c7130
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x5c7130
test byte [ecx + 0x27], 0x80
jne 0x5c71a7
push 1
push 0x22386b8
call dword [0x6a82cc]
test eax, eax
jne 0x5c7044
mov ecx, dword [0x2238670]
test ecx, ecx
mov edx, ecx
jle 0x5c7164
lea eax, [ecx*4 + 0x2238674]
cmp dword [eax], edi
je 0x5c7164
dec edx
sub eax, 4
test edx, edx
jg 0x5c7158
test edx, edx
jne 0x5c7195
push 0xf
pop ebx
cmp ecx, ebx
jg 0x5c7171
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x5c7189
lea eax, [edx*4 + 0x2238678]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x5c7177
cmp ecx, 0x10
jge 0x5c7195
inc ecx
mov dword [0x2238670], ecx
push 0
push 0x22386b8
call dword [0x6a82cc]
jmp 0x5c7044
xor eax, eax
jmp 0x5c722a
test esi, esi
jle 0x5c7044
mov ebx, dword [0x6a82cc]
push 1
push 0x22386b8
call ebx
test eax, eax
jne 0x5c7044
cmp dword [esi*4 + 0x2238678], edi
je 0x5c7201
mov eax, dword [0x2238670]
lea esi, [eax - 1]
test esi, esi
jl 0x5c71ef
cmp dword [esi*4 + 0x2238678], edi
je 0x5c71eb
dec esi
jns 0x5c71df
test esi, esi
jge 0x5c71ff
cmp eax, 0x10
jge 0x5c71fa
inc eax
mov dword [0x2238670], eax
lea esi, [eax - 1]
jmp 0x5c7201
je 0x5c7219
xor ecx, ecx
test esi, esi
jl 0x5c7219
lea eax, [ecx*4 + 0x2238678]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x5c7207
push 0
push 0x22386b8
call ebx
jmp 0x5c7044
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5da6f3
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x5da816
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x5da7fa
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x5da74c
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x5da72a
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x5daad2
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x5dac00
mov eax, 0xf81f
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x5dabe0
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff07e0
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x1002]
mov ebx, edx
and ebx, 0xffff07e0
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff07e0
add ebx, ecx
mov ecx, esi
and ecx, 0xffff07e0
lea ecx, [ebx + ecx + 0x40]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff07e0
lea ecx, [edx + esi + 0x1002]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x5dab2b
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x5dab0c
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x5dad0b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push ebx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x20]
push esi
mov esi, dword [eax + 0x20]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
add eax, ebx
cmp ebx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], eax
jae 0x5dae2e
mov eax, 0x83e0
mov edx, 0x7c1f
push edi
mov edi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [ebx + ecx*2]
add edi, ebx
cmp ebx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
jae 0x5dae0a
movzx ecx, word [ebx + 2]
movzx esi, word [edi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi]
movzx edi, word [ebx]
mov dword [ebp - 4], ecx
mov ebx, edi
and ebx, eax
mov ecx, esi
and ecx, eax
add ecx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add ecx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
lea ebx, [ecx + ebx + 0x10040]
mov dword [ebp - 0x20], edi
and edi, edx
mov ecx, esi
and ecx, edx
add ecx, edi
mov edi, dword [ebp - 4]
and edi, edx
add ecx, edi
mov edi, dword [ebp - 8]
and edi, edx
lea ecx, [ecx + edi + 0x802]
shr ecx, 2
mov edi, dword [ebp - 0x14]
shr ebx, 2
xor ebx, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and bx, dx
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
shr ecx, 2
add edi, 4
mov dword [ebp - 0x14], edi
xor ebx, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], bx
mov ebx, dword [ebp - 0x10]
add ebx, 4
cmp ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
jb 0x5dad67
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [edi + 0x60]
mov ecx, dword [ecx]
mov edi, dword [ecx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
jb 0x5dad48
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret