joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50ce40
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x114
mov eax, dword [0x7d9a88]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
mov ebp, dword [esp + 0x120]
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebx, 1
cmp ebp, 0xb
ja case.default.0x50ce74
jmp dword [ebp*4 + 0x50d048]
mov esi, 0x10
jmp 0x50cee1
mov esi, 0x19
jmp 0x50cee1
mov esi, 0xb
jmp 0x50cee1
mov esi, 2
jmp 0x50cee1
mov esi, 0x17
jmp 0x50cee1
mov esi, 5
jmp 0x50cee1
push edi
push 0x104
call dword [0x65b1fc]
jmp 0x50d02b
push 0x104
push edi
call dword [0x65b1f8]
jmp 0x50d02b
mov esi, 0x23
jmp 0x50cee1
mov esi, 0x1a
jmp 0x50cee1
mov esi, 0x26
jmp 0x50cee1
mov esi, 0x27
push edi
push 0
push 0
push esi
push 0
call dword [0x65b30c]
test eax, eax
jge 0x50d02b
push 0
push esi
push edi
push 0
call dword [0x65b310]
test eax, eax
jge 0x50d02b
jmp dword [ebp*4 + 0x50d078]
xor ebx, ebx
jmp 0x50d02b
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.005ae766
add esp, 0x114
ret

Function at 0x5116d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x65332b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7d9a88]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
push edi
push edi
push edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
call dword [0x65b0c0]
push 0x1c
mov dword [esi + 0x60], eax
mov dword [esi + 0x54], eax
call fcn.005ae818
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x511743
mov ecx, eax
call fcn.0048ae60
jmp 0x511745
xor eax, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 0x3c]
push eax
call dword [0x65b15c]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x51ba90
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
lea edx, [esi + 4]
push edx
push 0
push esi
push 0x51ba20
push 0
push 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
call fcn.005b13bb
xor ecx, ecx
add esp, 0x18
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
pop esi
mov eax, ecx
ret 8

Function at 0x51c6c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x657e6b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x7d9a88]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x51c729
push 0x20
call fcn.005ae818
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], 0
test edi, edi
je 0x51c71c
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.005563f0
jmp 0x51c71e
xor edi, edi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi + 0xc], edi
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.005254e0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
mov edi, dword [eax + 0x18]
mov eax, dword [eax]
test ecx, ecx
je 0x51c74f
cmp ecx, eax
je 0x51c754
call fcn.005aec38
cmp dword [esp + 0x10], edi
je 0x51c770
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0xc
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 0
push ecx
push edx
push 0
call dword [0x65b0c0]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0xc]
push eax
call fcn.0052c870
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0xc
Function at 0x532050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov ebp, ecx
xor esi, esi
mov dword [esp + 0x18], ebp
mov dword [esp + 8], esi
cmp dword [ebp + 0x208], esi
je 0x5321d5
cmp dword [ebp + 0x204], esi
je 0x5321d5
mov ecx, dword [ebp + 0x210]
cmp ecx, esi
je 0x5321d5
cmp dword [ebp + 0x20c], esi
je 0x5321d5
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0053e660
mov dword [esp + 0x1c], esi
cmp dword [ebp + 0x204], esi
jbe 0x5321c9
push ebx
mov dword [esp + 0x18], esi
push edi
jmp 0x5320c0
mov eax, dword [ebp + 0x208]
mov ecx, dword [esp + 0x1c]
fld dword [ecx + eax]
lea esi, [ecx + eax]
call fcn.005af050
fld dword [esi + 0x64]
mov edi, eax
mov dword [esp + 0x30], edi
call fcn.005af050
fld dword [esi + 0x68]
mov dword [esp + 0x14], eax
call fcn.005af050
fld dword [esi + 4]
mov ebx, eax
mov dword [esp + 0x34], ebx
call fcn.005af050
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x18], eax
jge 0x5321ad
jmp 0x532110
mov esi, dword [esp + 0x28]
xor edx, edx
mov eax, ecx
div esi
mov ebp, esi
sub ebp, edx
jne 0x532122
mov ebp, esi
lea edx, [ecx + ebp]
cmp edx, ebx
jle 0x53212d
mov ebp, ebx
sub ebp, ecx
cmp edi, dword [esp + 0x14]
jge 0x53219b
mov ebx, dword [esp + 0x10]
imul ebx, ebx, 0xa8
add ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov eax, edi
div ecx
mov esi, ecx
sub esi, edx
jne 0x532153
mov esi, ecx
mov eax, dword [esp + 0x14]
lea ecx, [esi + edi]
cmp ecx, eax
jle 0x532162
mov esi, eax
sub esi, edi
cmp dword [esp + 0x3c], 0
je 0x53217f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ebp
push esi
push edx
push edi
push ebx
call fcn.00531b20
mov eax, dword [esp + 0x14]
inc dword [esp + 0x10]
add edi, esi
add ebx, 0xa8
cmp edi, eax
jl 0x532141
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
add ecx, ebp
cmp ecx, ebx
mov dword [esp + 0x18], ecx
jl 0x532110
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 0x78
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [ebp + 0x204]
jb 0x5320c0
pop edi
pop ebx
mov eax, dword [esp + 8]
pop esi
pop ebp
add esp, 0x28
ret 4
pop esi
xor eax, eax
pop ebp
add esp, 0x28
ret 4
Function at 0x541300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebp
push esi
push edi
mov edi, dword [0x65b33c]
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
call edi
lea ecx, [esp + 0x3c]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0x2c]
push eax
call edi
lea ecx, [esp + 0x4c]
push ecx
call edi
mov ebp, dword [esp + 0x68]
mov edx, dword [ebp + 0x18]
cmp edx, dword [esi + 0x18]
je 0x541348
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x50
ret 0x1c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov edi, dword [0x65b460]
mov dword [esp + 0x1c], eax
add eax, ecx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
add eax, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
je 0x54133d
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x38]
sub ebx, eax
add ebx, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
sub edx, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
add edx, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x54], ebx
call edi
test eax, eax
jne 0x54140f
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x50
ret 0x1c
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
sub ecx, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
sub eax, edi
mov dword [esp + 0x78], ecx
je 0x5414aa
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x74], eax
jmp 0x541444
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
cmp eax, dword [esi + 4]
jae 0x541465
cmp edi, dword [esi + 8]
jae 0x541465
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
imul ecx, edi
imul edx, eax
add ecx, edx
add ecx, dword [esi + 0xc]
jmp 0x541467
xor ecx, ecx
mov edx, dword [esp + 0x70]
cmp edx, dword [ebp + 4]
jae 0x54148c
cmp ebx, dword [ebp + 8]
jae 0x54148c
mov eax, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x18]
imul eax, ebx
imul ebp, edx
mov edx, dword [esp + 0x6c]
add eax, ebp
add eax, dword [edx + 0xc]
jmp 0x54148e
xor eax, eax
mov edx, dword [esi + 0x18]
imul edx, dword [esp + 0x78]
push edx
push eax
push ecx
call fcn.0050cc00
add esp, 0xc
inc edi
inc ebx
sub dword [esp + 0x74], 1
jne 0x541440
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x50
ret 0x1c
Function at 0x565890
Capabilities:
Hash data using crc32b

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
or eax, 0xffffffff
test cl, cl
je 0x56592f
movsx ecx, cl
shl ecx, 0x18
xor eax, ecx
test eax, eax
jns 0x5658b6
add eax, eax
xor eax, 0x4c11db7
jmp 0x5658b8
add eax, eax
test eax, eax
jns 0x5658c5
add eax, eax
xor eax, 0x4c11db7
jmp 0x5658c7
add eax, eax
test eax, eax
jns 0x5658d4
add eax, eax
xor eax, 0x4c11db7
jmp 0x5658d6
add eax, eax
test eax, eax
jns 0x5658e3
add eax, eax
xor eax, 0x4c11db7
jmp 0x5658e5
add eax, eax
test eax, eax
jns 0x5658f2
add eax, eax
xor eax, 0x4c11db7
jmp 0x5658f4
add eax, eax
test eax, eax
jns 0x565901
add eax, eax
xor eax, 0x4c11db7
jmp 0x565903
add eax, eax
test eax, eax
jns 0x565910
add eax, eax
xor eax, 0x4c11db7
jmp 0x565912
add eax, eax
test eax, eax
jns 0x56591f
add eax, eax
xor eax, 0x4c11db7
jmp 0x565921
add eax, eax
mov cl, byte [edx + 1]
inc edx
not eax
test cl, cl
jne 0x5658a1
ret 4

Function at 0x569810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x651edb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x7d9a88]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x1c]
push 0x18
mov dword [esi], 1
mov dword [esi + 4], eax
call fcn.005ae818
add esp, 4
mov dword [esp + 0x1c], eax
xor edi, edi
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x569862
mov ecx, eax
call fcn.00438a30
jmp 0x569864
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x56d9d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
mov edi, dword [esp + 0x14]
cmp esi, edi
sete al
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x56da5c
push ebp
lea ebp, [eax - 1]
shr ebp, 3
inc ebp
cmp dword [esp + 0x14], 0
je 0x56da10
lea ecx, [esi + 4]
push ecx
push esi
mov ecx, ebx
call fcn.0056d020
add esi, 8
jmp 0x56da56
movzx edx, byte [esi]
mov byte [edi], dl
mov al, byte [esi + 1]
mov byte [edi + 1], al
movzx ecx, byte [esi + 2]
mov byte [edi + 2], cl
movzx edx, byte [esi + 3]
mov byte [edi + 3], dl
movzx ecx, byte [esi + 4]
lea eax, [edi + 4]
mov byte [eax], cl
movzx edx, byte [esi + 5]
mov byte [edi + 5], dl
movzx ecx, byte [esi + 6]
mov byte [edi + 6], cl
movzx edx, byte [esi + 7]
push eax
push edi
mov ecx, ebx
mov byte [edi + 7], dl
call fcn.0056d020
add esi, 8
add edi, 8
sub ebp, 1
jne 0x56d9f8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x5dfc50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6596ef
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x7d9a88]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x18], 1
je 0x5dfc90
push eax
call dword [0x65b0b0]
cmp dword [esi + 0x58], 0
je 0x5dfca1
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 0x10]
push eax
call dword [0x65b158]
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.005e1f00
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x5f7c77
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 0x5f7d9a
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 0x5f7d7e
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 0x5f7cd0
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 0x5f7cae
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x5f9df8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x5f9e26
test ecx, ecx
jne 0x5f9e30
test esi, esi
jne 0x5f9e30
mov eax, edx
jmp 0x5f9ea1
cmp eax, 0xffffffff
jne 0x5f9e30
push 0xfffffffffffffffe
pop eax
jmp 0x5f9ea1
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x5f9ea1
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x5f9e66
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x5f9e85
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x5f9f4e
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x5f9ec6
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5f9ed0
xor ecx, ecx
jmp 0x5f9f0f
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x5f9ef2
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.005fa6aa
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x5f9f3a
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x5f9f4e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x5f9e08
pop edi
pop esi
leave
ret
Function at 0x5ff550
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x5ff592
mov ecx, dword [ebp + 8]
push ecx
call fcn.00603bb0
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x40]
test eax, eax
je 0x5ff588
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x5ff6ae
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x5ff66c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x5ff65b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5ff5d1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
mov eax, dword [edx]
call eax
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5ff5f5
xor al, al
jmp 0x5ff6ae
cmp dword [ebp - 4], 2
jne 0x5ff5fd
jmp 0x5ff65b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5ff656
cmp dword [ebp - 4], 3
je 0x5ff612
cmp dword [ebp - 4], 1
jne 0x5ff656
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
add ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx + 4]
cmp edx, dword [ecx + 8]
jl 0x5ff656
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x11c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [eax + 8], edx
jmp 0x5ff5b7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x84], eax
jmp 0x5ff6a2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0xcc
je 0x5ff6a2
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.005ff6c0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x5ff6c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x5ff6f8
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x180]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xcc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x180]
movzx eax, byte [edx + 8]
test eax, eax
je 0x5ff7c5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x60]
jae 0x5ff78d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5ff753
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x184]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x5ff78b
xor al, al
jmp 0x5ff7df
jmp 0x5ff70d
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
mov edx, dword [ecx + 4]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x180]
mov eax, dword [edx]
call eax
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
jmp 0x5ff6f8
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x41]
neg eax
sbb eax, eax
neg eax
add eax, 0xcd
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x637850
Capabilities:
Hash data with md5

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

Function at 0x63aec0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x63af61
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov esi, dword [ecx + 4]
xor eax, eax
cmp esi, edx
push edi
jle 0x63af0f
mov edi, dword [ecx]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x800640]
add edx, 1
cmp edx, esi
jl 0x63aef1
xor edx, edx
mov esi, dword [ecx + 0xc]
cmp esi, edx
jle 0x63af3c
mov edi, dword [ecx + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x800640]
add edx, 1
cmp edx, esi
jl 0x63af20
mov edx, dword [ecx]
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
pop edi
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
pop esi
shr eax, 0x18
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x651930
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x65193b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
jmp fcn.00651650