joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c6790
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.winvnc.exe_adler32_z

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x964], 0
je 0x4c9691
cmp edx, 0x190
jg case.0x4c9677.10
je case.0x4c9677.10
lea eax, [edx - 0xa]
cmp eax, 0xc0
ja case.0x4c9677.10
movzx eax, byte [eax + 0x4c9714]
jmp dword [eax*4 + 0x4c9708]
mov dword [ecx + 4], 1
lea eax, [edx - 0xa]
jmp 0x4c96a5
mov eax, 0xffffffc4
pop ebp
ret
cmp edx, 0x190
jg 0x4c96c9
je 0x4c96b3
lea eax, [edx - 0xa]
cmp eax, 0xc0
ja case.default.0x4c96f8
movzx eax, byte [eax + 0x4c97e0]
jmp dword [eax*4 + 0x4c97d8]
cmp dword [ebp + 8], 0
je case.0x4c96f8.1001
cmp dword [ecx + 0x2c8], 0
je case.0x4c96f8.1001
mov eax, 0xffffffd8
pop ebp
ret
cmp edx, 0x3e8
jg 0x4c96e6
je case.0x4c96f8.1001
mov eax, edx
sub eax, 0x191
je case.0x4c96f8.1001
sub eax, 1
je case.0x4c96f8.1001
sub eax, 0x62
jmp 0x4c96c0
lea eax, [edx - 0x3e9]
cmp eax, 0xf
ja case.default.0x4c96f8
movzx eax, byte [eax + 0x4c98a8]
jmp dword [eax*4 + 0x4c98a4]
add ecx, 0xc
pop ebp
jmp fcn.004c98c0

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x964], 0
je 0x4c9691
cmp edx, 0x190
jg case.0x4c9677.10
je case.0x4c9677.10
lea eax, [edx - 0xa]
cmp eax, 0xc0
ja case.0x4c9677.10
movzx eax, byte [eax + 0x4c9714]
jmp dword [eax*4 + 0x4c9708]
mov dword [ecx + 4], 1
lea eax, [edx - 0xa]
jmp 0x4c96a5
mov eax, 0xffffffc4
pop ebp
ret
cmp edx, 0x190
jg 0x4c96c9
je 0x4c96b3
lea eax, [edx - 0xa]
cmp eax, 0xc0
ja case.default.0x4c96f8
movzx eax, byte [eax + 0x4c97e0]
jmp dword [eax*4 + 0x4c97d8]
cmp dword [ebp + 8], 0
je case.0x4c96f8.1001
cmp dword [ecx + 0x2c8], 0
je case.0x4c96f8.1001
mov eax, 0xffffffd8
pop ebp
ret
cmp edx, 0x3e8
jg 0x4c96e6
je case.0x4c96f8.1001
mov eax, edx
sub eax, 0x191
je case.0x4c96f8.1001
sub eax, 1
je case.0x4c96f8.1001
sub eax, 0x62
jmp 0x4c96c0
lea eax, [edx - 0x3e9]
cmp eax, 0xf
ja case.default.0x4c96f8
movzx eax, byte [eax + 0x4c98a8]
jmp dword [eax*4 + 0x4c98a4]
add ecx, 0xc
pop ebp
jmp fcn.004c98c0
Function at 0x5026d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
mov dword [ebp - 4], eax
and edi, 0x1f
mov dword [ebp - 8], edi
cmp edi, 8
jb 0x502773
mov ecx, edi
shr ecx, 3
mov dword [ebp - 8], ecx
nop dword [eax]
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [eax + 4]
push dword [eax]
call fcn.00546f20
add dword [ebp - 4], 8
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.00546f20
mov ecx, eax
xor edx, esi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.00546f20
mov ebx, eax
mov esi, edx
mov eax, dword [ebp - 4]
add ebx, 0xc2b2ae63
adc esi, 0x85ebca77
sub edi, 8
sub dword [ebp - 8], 1
jne 0x502700
mov dword [ebp - 8], edi
mov ecx, eax
cmp edi, 4
jb 0x5027cc
mov ecx, dword [ecx]
add eax, 4
mov dword [ebp - 4], eax
mov eax, 0x9e3779b1
mul ecx
push 0xc2b2ae3d
mov edi, eax
mov eax, 0x85ebca87
mul ecx
push 0x27d4eb4f
add edi, edx
xor eax, ebx
xor edi, esi
mov ecx, eax
shld ecx, edi, 0x17
shld edi, eax, 0x17
push edi
push ecx
call fcn.00546f20
mov edi, dword [ebp - 8]
mov ebx, eax
mov eax, dword [ebp - 4]
add ebx, 0x9e3779f9
mov esi, edx
adc esi, 0x165667b1
sub edi, 4
test edi, edi
je 0x502813
movzx eax, byte [eax]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.00546f20
inc dword [ebp - 4]
xor ebx, eax
xor esi, edx
mov eax, ebx
push 0x9e3779b1
shld eax, esi, 0xb
push 0x85ebca87
shld esi, ebx, 0xb
push esi
push eax
call fcn.00546f20
mov ebx, eax
mov eax, dword [ebp - 4]
mov esi, edx
sub edi, 1
jne 0x5027d0
push 0xc2b2ae3d
xor ecx, ecx
mov edx, esi
push 0x27d4eb4f
shr edx, 1
xor ecx, esi
xor edx, ebx
push ecx
push edx
call fcn.00546f20
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.00546f20
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50e9a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], 0x50dac0
push eax
mov dword [ebp - 0x20], 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
lea eax, [ebp - 0x28]
push eax
push 0x50e950
push 0
push 0
call fcn.00536cb6
add esp, 0x18
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x20], 0
jne 0x50ea1a
mov esi, dword [sym.imp.KERNEL32.dll_SleepConditionVariableCS]
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call esi
cmp dword [ebp - 0x20], 0
je 0x50ea08
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5115c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
not eax
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 8
jbe 0x51168f
test bl, 7
je 0x5115f9
nop
movzx ecx, byte [ebx]
dec esi
movzx edx, al
inc ebx
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x55d9c8]
test bl, 7
jne 0x5115e0
mov edi, esi
and esi, 7
and edi, 0xfffffff8
add edi, ebx
cmp ebx, edi
jae 0x51168f
nop dword [eax + eax]
xor eax, dword [ebx]
add ebx, 4
mov dword [ebp + 0x10], ebx
add dword [ebp + 0x10], 4
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x55ddc8]
xor edx, dword [ecx*4 + 0x55e1c8]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x55edc8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x55f1c8]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x55d9c8]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x55e9c8]
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
xor edx, dword [ecx*4 + 0x55e5c8]
xor edx, dword [eax*4 + 0x55f5c8]
mov eax, edx
cmp ebx, edi
jb 0x511610
test esi, esi
je 0x5116ad
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x55d9c8]
sub esi, 1
jne 0x511693
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x511b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
not eax
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
not esi
cmp edi, 4
jbe 0x511c2c
test bl, 3
je 0x511bab
movzx ecx, byte [ebx]
dec edi
movzx edx, al
inc ebx
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x55fba8]
xor esi, dword [edx*8 + 0x55fbac]
test bl, 3
jne 0x511b84
mov dword [ebp + 8], ebx
mov ecx, edi
and edi, 3
and ecx, 0xfffffffc
mov dword [ebp + 0xc], edi
add ecx, ebx
mov dword [ebp + 0x14], ecx
cmp ebx, ecx
jae 0x511c2c
mov edi, ecx
mov ebx, dword [ebx]
xor ebx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*8 + 0x5603a8]
mov edx, dword [edx*8 + 0x5603ac]
xor eax, dword [ecx*8 + 0x560ba8]
xor edx, dword [ecx*8 + 0x560bac]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*8 + 0x55fba8]
xor edx, dword [ecx*8 + 0x55fbac]
movzx ecx, bl
mov ebx, dword [ebp + 8]
add ebx, 4
mov dword [ebp + 8], ebx
xor eax, dword [ecx*8 + 0x5613a8]
xor edx, dword [ecx*8 + 0x5613ac]
xor eax, esi
xor edx, 0
mov esi, edx
cmp ebx, edi
jb 0x511bc1
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x511c55
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x55fba8]
xor esi, dword [edx*8 + 0x55fbac]
sub edi, 1
jne 0x511c30
not esi
not eax
pop edi
mov edx, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x513500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebx], 0x4000400
test edx, edx
je 0x513541
lea eax, [ebx + 0x104]
mov ecx, edx
movaps xmm0, xmmword [0x55faf0]
lea eax, [eax + 0x10]
movups xmmword [eax - 0x110], xmm0
movaps xmm0, xmmword [0x55faf0]
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x513520
cmp byte [ebp + 0x10], 0
lea edi, [ebx + 0x204]
mov ecx, 0x80
mov eax, 0x4000400
rep stosd dword es:[edi], eax
jne 0x5136fc
mov dword [ebp - 4], 0
test edx, edx
je 0x5136fc
lea eax, [ebx + 0x404]
lea ecx, [ebx + 0x4808]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0xc], ecx
push esi
nop
mov edi, dword [ebx + 0x4804]
xor esi, esi
mov dword [ecx], edi
movzx ecx, word [ebx]
mov eax, ecx
mov dword [ebp - 8], edi
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov dword [ebp + 8], esi
movzx eax, byte [eax + 0x561ba8]
movzx edx, byte [ecx + 0x561ba8]
movzx ecx, word [ebx + 2]
mov dword [ebp - 0x10], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x561ba8]
add eax, edx
mov dword [ebp - 0x14], eax
movzx eax, byte [ecx + 0x561ba8]
add eax, edx
mov dword [ebp - 0x18], eax
test edi, edi
je 0x5136db
cmp esi, 8
jae 0x513639
lea edx, [esi + 8]
xor edi, edi
mov esi, dword [ebp - 4]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + esi*8]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 4]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x561ba8]
add edi, eax
cmp edx, 1
jne 0x5135f1
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
add eax, edi
mov edi, dword [ebp - 8]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 8], esi
cmp esi, edi
jb 0x5135e4
jmp 0x5136db
cmp esi, edi
jae 0x5136db
cmp esi, 0x10
jae 0x513696
mov edx, esi
xor edi, edi
mov esi, dword [ebp - 4]
nop dword [eax]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + esi*8]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 0x104]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x561ba8]
add edi, eax
cmp edx, 1
jne 0x513650
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 8], esi
cmp esi, dword [ebp - 8]
jb 0x513641
jmp 0x5136db
xor edi, edi
lea eax, [esi + 0xf0]
nop
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x204]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x561ba8]
add edi, ecx
cmp eax, 1
jne 0x5136a0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 8]
jb 0x513696
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc eax
add dword [ebp + 0x10], 0x440
add ecx, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
cmp eax, dword [ebp + 0xc]
jb 0x513580
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x513710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebx + 0x4804]
mov dword [ebp - 8], edi
mov dword [ebx + esi*4 + 0x4808], edi
movzx ecx, word [ebx]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
movzx eax, byte [eax + 0x561ba8]
movzx edx, byte [ecx + 0x561ba8]
movzx ecx, word [ebx + 2]
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x561ba8]
add eax, edx
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx + 0x561ba8]
add eax, edx
mov dword [ebp - 0x14], eax
imul eax, esi, 0x440
xor esi, esi
mov dword [ebp + 8], esi
add eax, 0x404
add eax, ebx
mov dword [ebp - 4], eax
test edi, edi
je 0x513893
cmp esi, 8
jae 0x5137ef
lea edx, [esi + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + esi*8]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 4]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x561ba8]
add edi, eax
cmp edx, 1
jne 0x5137a5
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, edi
mov edi, dword [ebp - 8]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 8], esi
cmp esi, edi
jb 0x513798
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, edi
jae 0x513893
cmp esi, 0x10
jae 0x513850
mov edx, esi
xor edi, edi
mov esi, dword [ebp + 0xc]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + esi*8]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 0x104]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x561ba8]
add edi, eax
cmp edx, 1
jne 0x513803
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 8], esi
cmp esi, dword [ebp - 8]
jb 0x5137f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
lea eax, [esi + 0xf0]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x204]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x561ba8]
add edi, ecx
cmp eax, 1
jne 0x513858
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 8]
jb 0x513850
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5165e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x3700
mov dword [ebp + 8], esi
lea eax, [edi + 0x10598]
lea edx, [edi + 0x10194]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
nop word [eax + eax]
mov eax, dword [edi + 0x10d94]
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x51666b
nop
lea eax, [ebx + 0x40]
xor esi, esi
mov ebx, dword [ebp + 8]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
lea ecx, [ebx + eax]
and edx, 0x7f
movzx ecx, word [edi + ecx*2]
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x561ba8]
add esi, ecx
cmp eax, 1
jne 0x516628
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x10d94]
mov dword [ebp - 4], ebx
cmp ebx, eax
jb 0x516620
mov esi, dword [ebp + 8]
mov ecx, 0xe
cmp eax, ecx
jbe 0x51668a
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [edx + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x10d94]
jb 0x516674
mov ecx, dword [ebp - 0xc]
add esi, 0x40
mov eax, dword [edx]
mov dword [ebp + 8], esi
mov dword [ecx - 4], eax
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0xc]
add edx, 0x100
mov dword [ecx + 8], eax
add ecx, 0x200
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
cmp esi, 0x3800
jb 0x516610
mov esi, 4
lea eax, [edi + 0x107a4]
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
nop dword [eax + eax]
movzx ebx, byte [esi + 0x561c28]
mov eax, ebx
mov edx, ebx
shr eax, 1
and edx, 1
dec eax
or edx, 2
mov ecx, eax
mov dword [ebp - 0xc], eax
shl edx, cl
mov eax, esi
mov ecx, 1
mov dword [ebp - 0x10], edx
sub eax, edx
mov dword [ebp + 8], ecx
xor esi, esi
nop dword [eax]
mov edx, eax
sub ecx, ebx
add ecx, dword [ebp - 0x10]
and edx, 1
shr eax, 1
mov dword [ebp - 0x14], eax
mov eax, edx
neg eax
movzx ecx, word [edi + ecx*2 + 0x6ffe]
shr eax, 4
shr ecx, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x561ba8]
mov ecx, dword [ebp + 8]
add esi, eax
sub dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x14]
lea ecx, [edx + ecx*2]
mov dword [ebp + 8], ecx
jne 0x516710
mov edx, dword [ebp - 4]
mov eax, dword [edi + ebx*4 + 0x10194]
add eax, esi
mov dword [edx - 0x200], eax
mov eax, dword [edi + ebx*4 + 0x10294]
add eax, esi
mov dword [edx], eax
mov eax, dword [edi + ebx*4 + 0x10394]
add eax, esi
mov dword [edx + 0x200], eax
mov eax, dword [edi + ebx*4 + 0x10494]
add eax, esi
mov esi, dword [ebp - 8]
inc esi
mov dword [edx + 0x400], eax
add edx, 4
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
cmp esi, 0x80
jb 0x5166e0
mov dword [edi + 0x10d98], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5167c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, 8
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [edi + 0xa98]
sub ecx, edx
mov eax, dword [edi + 0xa9c]
and eax, dword [ebp + 0xc]
shr esi, cl
mov ecx, edx
shl eax, cl
add esi, eax
imul eax, esi, 0x600
add eax, 0xaa0
add eax, edi
mov dword [ebp + 8], eax
cmp byte [ebp + 0x14], bl
jne 0x516814
push dword [ebp + 0x1c]
push 8
push eax
call fcn.00517e60
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [ebp + 0x1c]
mov esi, 0x100
mov edi, dword [ebp + 0x18]
add edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x561ba8]
mov ecx, edi
xor ecx, edx
add ebx, eax
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x516821
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x517e60
Capabilities:
Encode data using xor

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

Function at 0x52df5f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x565610
push esi
call fcn.0053cef6
pop ecx
pop ecx
test eax, eax
jne 0x52df8d
xor al, al
jmp 0x52e00a
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0052dca2
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x52dfc7
push dword [ebp - 0x210]
call fcn.0051d799
xor al, al
jmp 0x52e008
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x52dfcd
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x52dfed
push edx
call fcn.0052de95
pop ecx
test al, al
je 0x52dfb8
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x52dffb
mov bl, 1
push dword [ebp - 0x210]
call fcn.0051d799
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00519459
leave
ret
Function at 0x530b1d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5b2400]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x530b5d
cmp byte [ebx], 0xa
jne 0x530b5d
or byte [eax + edi + 0x28], 4
jmp 0x530b62
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x530c60
mov al, byte [edx]
cmp al, 0x1a
je 0x530c42
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x530b91
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x530bb6
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x530bc0
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x530b73
jmp 0x530c60
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x530c3d
cmp dword [ebp - 0xc], 0
je 0x530c3d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5b2400]
test byte [eax + edi + 0x28], 0x48
je 0x530c17
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x530c02
mov byte [esi], dl
jmp 0x530c13
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5b2400]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x530c60
cmp byte [ebp - 1], 0xa
jne 0x530c26
cmp esi, ebx
jne 0x530c26
mov byte [esi], 0xa
jmp 0x530c5f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00531af6
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x530c60
mov byte [esi], 0xd
jmp 0x530c5f
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5b2400]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x530c5c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x530c60
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x530c69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5b2400]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x530cac
cmp word [esi], dx
jne 0x530cac
or byte [edi + eax + 0x28], 4
jmp 0x530cb1
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x530e04
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x530de4
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x530cf3
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x530d29
cmp eax, edx
jae 0x530d35
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x530ccb
jmp 0x530e04
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x530de0
cmp dword [ebp - 0x14], 0
je 0x530de0
mov eax, dword [ebx*4 + 0x5b2400]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x530db8
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x530d81
mov word [esi], cx
jmp 0x530db4
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5b2400]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5b2400]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5b2400]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x530e04
pop ebx
cmp word [ebp - 4], bx
jne 0x530dc9
cmp esi, dword [ebp + 0xc]
jne 0x530dc9
mov word [esi], bx
jmp 0x530e01
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00531af6
add esp, 0x10
cmp word [ebp - 4], bx
je 0x530e04
push 0xd
jmp 0x530dfd
mov ecx, dword [ebx*4 + 0x5b2400]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x530dfb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x530e04
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret