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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x100
or esi, edi
mov eax, esi
add ebx, ebx
shr eax, 7
mov ecx, edi
and eax, 1
and ecx, ebx
push eax
mov eax, esi
add ecx, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*2]
push eax
push dword [ebp + 8]
call fcn.0065dbaf
add esi, esi
add esp, 0xc
mov eax, esi
xor eax, ebx
not eax
and edi, eax
cmp esi, 0x10000
jb 0x65c950
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x65c991
Capabilities:
Encode data using xor

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

Function at 0x65c9da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, 0x100
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
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
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0x14]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x65c9ef
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x65dcf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
bts esi, eax
xor edi, edi
cmp esi, 1
je 0x65dd33
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add edi, dword [eax + ecx*4]
cmp esi, 1
jne 0x65dd10
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x65dd7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
xor esi, esi
inc edi
test ebx, ebx
je 0x65ddbe
mov eax, dword [ebp + 0x10]
mov edx, eax
shr eax, 1
and edx, 1
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edi*2]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
add edi, edi
and eax, 0x7f
or edi, edx
xor ecx, eax
mov eax, dword [ebp + 0x14]
add esi, dword [eax + ecx*4]
sub ebx, 1
jne 0x65dd8c
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x65df0c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0
je 0x65df22
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
cmp eax, dword [ecx]
je 0x65df46
mov eax, dword [esi]
push dword [esi + 0xc]
mov eax, dword [eax + 0x18]
push eax
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax]
add esp, 0x10
mov dword [esi + 0xc], eax
test eax, eax
je 0x65dfa3
cmp dword [esi + 4], 0
je 0x65df56
mov ecx, dword [esi]
mov eax, dword [esi + 8]
cmp eax, dword [ecx + 4]
je 0x65df7b
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x18]
push eax
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0x18]
push ecx
push eax
call dword [eax]
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
je 0x65dfa3
and dword [esi + 0x34], 0
lea eax, [esi + 0x3c]
and dword [esi + 0x38], 0
push eax
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x65df9f
lea eax, [esi + 0x40]
push eax
call fcn.00660f9c
pop ecx
test eax, eax
je 0x65dfa6
push 0xc
jmp 0x65dfa5
push 2
pop eax
pop esi
pop ebp
ret

Function at 0x65e00d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
and dword [esi + 0xc], 0
lea eax, [esi + 4]
push eax
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x65e043
lea eax, [esi + 8]
push eax
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x65e043
push esi
push 0x65dfa9
push esi
call fcn.00661118
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x660d38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [ebp + 0xc]
xor cl, cl
xor eax, eax
mov dword [ebp - 4], esi
or dword [esi], 0xffffffff
mov byte [esi + 4], 0
test edi, edi
je 0x660dae
mov esi, dword [ebp + 8]
mov dl, byte [eax + esi]
mov ch, cl
xor cl, dl
inc eax
cmp eax, edi
jb 0x660d5b
mov esi, dword [ebp - 4]
cmp dl, ch
jne 0x660dae
test edi, edi
je 0x660dae
mov ecx, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov edx, edi
mov byte [esi + 4], bl
call fcn.00649953
mov edx, eax
xor eax, eax
xor ecx, ecx
cmp dword [ecx + 0x878fd4], edx
jne 0x660d98
cmp dword [ecx + 0x878fd0], edi
je 0x660da4
add ecx, 0xc
inc eax
cmp ecx, 0x48
jb 0x660d88
or eax, 0xffffffff
mov dword [esi], eax
test eax, eax
jns 0x660dae
mov byte [esi + 4], 0
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 8

Function at 0x661118
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.006e3f80
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x661144
call fcn.0066105c
mov esi, eax
mov eax, esi
pop esi
leave
ret
Function at 0x665845
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x200
jb 0x6658ab
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x6658ab
mov ecx, dword [edx + 0x3c]
cmp ecx, 0x1000
jae 0x6658ab
lea eax, [ecx + 0x200]
cmp eax, dword [ebp + 0xc]
ja 0x6658ab
test cl, 7
jne 0x6658ab
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x6658ab
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x6658c4
sub eax, 0x74
je 0x6658bd
dec eax
sub eax, 1
je 0x6658bd
dec eax
sub eax, 1
je 0x6658b6
sub eax, 0x3c
je 0x6658af
sub eax, 0x8464
je 0x6658c4
xor eax, eax
pop ebp
ret
mov edx, 0x3030401
jmp 0x6658c9
mov edx, 0x3030701
jmp 0x6658c9
mov edx, 0x3030501
jmp 0x6658c9
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x6658ab
movzx eax, word [ecx + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x6658ec
mov ecx, 0x20b
cmp ax, cx
jne 0x6658ab
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
inc eax
pop ebp
ret
Function at 0x66ac55
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x18], 0
and dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x66ae57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x93cf44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 5
mov esi, ecx
push eax
push esi
mov dword [ebp - 0x88], esi
call fcn.0066a29e
push 5
lea ecx, [ebp - 0x84]
lea eax, [esi + 0x60]
push ecx
push eax
mov dword [ebp - 0x8c], eax
call fcn.0066a29e
add esp, 0x18
lea edi, [ebp - 0x44]
mov esi, ebx
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x66aefb
lea esi, [ebp - 0x44]
sub esi, ebx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x88]
call fcn.0066a3cd
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call fcn.0066a3cd
add esp, 0x18
mov ecx, ebx
push 5
pop edx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x66aee9
sub edi, 1
jne 0x66aeb5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c3e3a
leave
ret 8
Function at 0x66af0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x93cf44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x10
xor eax, eax
mov dword [ebp - 0xbc], ebx
pop ecx
lea edi, [ebp - 0x58]
mov dword [ebp - 0xc0], esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
cmp edi, 0x40
jbe 0x66af8a
lea eax, [ebp - 0xb8]
push eax
call fcn.0066ac55
push edi
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.0066ac87
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0066a33d
add esp, 0x18
xor esi, esi
mov ecx, esi
mov eax, dword [ebp + ecx - 0x18]
bswap eax
mov dword [ebp + ecx - 0x58], eax
add ecx, 4
cmp ecx, 0x14
jb 0x66af76
jmp 0x66afc1
xor esi, esi
mov ebx, esi
test edi, edi
je 0x66afbb
mov esi, dword [ebp - 0xc0]
mov eax, ebx
mov edx, ebx
and eax, 3
shr edx, 2
push 3
pop ecx
sub ecx, eax
movzx eax, byte [esi + ebx]
shl ecx, 3
shl eax, cl
or dword [ebp + edx*4 - 0x58], eax
inc ebx
cmp ebx, edi
jb 0x66af98
xor esi, esi
mov ebx, dword [ebp - 0xbc]
mov eax, esi
movups xmm0, xmmword [ebp + eax*4 - 0x58]
pxor xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
movups xmmword [ebp + eax*4 - 0x58], xmm0
add eax, 4
cmp eax, 0x10
jb 0x66afc3
push ebx
call fcn.0066ac55
push 0x10
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.0066a2ee
add esp, 0x10
movups xmm0, xmmword [ebp + esi*4 - 0x58]
pxor xmm0, xmmword [0x879690]
movups xmmword [ebp + esi*4 - 0x58], xmm0
add esi, 4
cmp esi, 0x10
jb 0x66aff2
lea esi, [ebx + 0x60]
push esi
call fcn.0066ac55
push 0x10
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.0066a2ee
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005c3e3a
leave
ret 8

Function at 0x66b035
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x93cf44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov eax, ebx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0x40
jae 0x66b0f6
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x66b060
cmp edi, 0x40
jbe 0x66b08e
push esi
call fcn.0066ac55
push edi
push dword [ebp - 0x48]
push esi
call fcn.0066ac87
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0066a33d
add esp, 0x18
jmp 0x66b0a0
test edi, edi
je 0x66b0a0
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.006cfac0
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x66b0a2
push esi
call fcn.0066ac55
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0066ac87
add esp, 0x10
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x66b0c2
add esi, 0x60
push esi
call fcn.0066ac55
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0066ac87
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005c3e3a
leave
ret 8
call fcn.005c3f6c
int3
Function at 0x66c013
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
xor eax, eax
mov word [esi], ax
cmp byte [edi + 1], al
je 0x66c090
mov bl, byte [edi + 2]
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x24]
call fcn.0062714a
movzx eax, byte [edi + 4]
mov ecx, esi
push eax
push 0x800
call fcn.0066c0f5
mov eax, dword [edi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x7c], eax
mov al, byte [edi + 3]
mov byte [esi + 0x80], al
jmp 0x66c099
mov ecx, esi
call fcn.00657b70
mov bl, al
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x48], ecx
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x4c], ecx
xor ecx, ecx
mov dword [esi + 0x40], 0x3f
mov byte [esi + 5], cl
test bl, bl
jne 0x66c0c4
mov eax, dword [ebp + 0xc]
mov byte [ebp + 0x14], 1
cmp byte [eax + 0x24], cl
jne 0x66c0c7
mov byte [ebp + 0x14], cl
push dword [ebp + 0x14]
mov ecx, esi
push 1
call fcn.0066c0f5
test bl, bl
je 0x66c0f0
xor eax, eax
mov byte [esi + 4], 0x14
mov word [esi + 2], ax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x66edcc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
je 0x66eddf
xor eax, eax
jmp 0x66ee69
lea eax, [esi + 0x30]
push edi
push eax
call fcn.00660fb0
pop ecx
test eax, eax
jne 0x66ee65
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x66ee65
lea eax, [esi + 0x18]
push eax
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x66ee65
lea eax, [esi + 0x1c]
push eax
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x66ee65
push dword [ebp + 0x14]
lea eax, [esi + 0x20]
push dword [ebp + 0x14]
push eax
call fcn.006610b9
add esp, 0xc
test eax, eax
jne 0x66ee65
push dword [ebp + 0x14]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.006610b9
add esp, 0xc
test eax, eax
jne 0x66ee65
push dword [ebp + 0x10]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
push dword [ebp + 0xc]
push eax
call fcn.00661118
add esp, 0xc
test eax, eax
jne 0x66ee65
mov dword [esi], edi
jmp 0x66ee68
push 0xc
pop eax
pop edi
pop esi
pop ebp
ret
Function at 0x66f017
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x66f02e
push ebx
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x66f070
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x66f042
push edi
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x66f06f
push ebx
call fcn.00661024
push edi
call fcn.00661024
lea eax, [esi + 0xc]
mov byte [esi + 0x10], 0
cmp dword [eax], 0
pop ecx
pop ecx
je 0x66f060
xor eax, eax
jmp 0x66f06f
push esi
push 0x66efd9
push eax
call fcn.00661118
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x66f018
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x66f02e
push ebx
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x66f070
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x66f042
push edi
call fcn.00660f9c
pop ecx
test eax, eax
jne 0x66f06f
push ebx
call fcn.00661024
push edi
call fcn.00661024
lea eax, [esi + 0xc]
mov byte [esi + 0x10], 0
cmp dword [eax], 0
pop ecx
pop ecx
je 0x66f060
xor eax, eax
jmp 0x66f06f
push esi
push 0x66efd9
push eax
call fcn.00661118
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x67f360
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x67f3ec
push esi
call fcn.006946a0
add esp, 4
test al, al
jne 0x67f3ec
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x67f383
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0069da90
add esp, 0xc
test eax, eax
je 0x67f3b7
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0069da90
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x67f3b9
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x67f3e5
mov al, byte [esi]
push eax
call fcn.0068e490
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x67f3c7
pop edi
movzx eax, bl
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x689c60
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp byte [edi + 0x6f9], 0
je 0x689cf7
cmp dword [edi + 0x1a8], 0
je 0x689cb1
push esi
push 1
push edi
call fcn.0067a410
push dword [edi + 0x14c]
mov eax, dword [edi + 0x1a8]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.0067a410
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov edx, dword [esp + 0xc]
mov ecx, edx
sub ecx, 0
je 0x689cc6
sub ecx, 1
je 0x689cc6
sub ecx, 1
jne 0x689cf7
push dword [edi + 0x148]
lea eax, [edx*2 + 0x87c748]
push 1
add eax, edx
push 2
push eax
call fcn.006d9745
push dword [edi + 0x148]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.006d9745
add esp, 0x20
xor eax, eax
pop edi
ret
Function at 0x69eb40
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.006e3f80
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x69eb66
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x6cbfb0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.006cbfc0
Function at 0x6f55b2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006f5431
Function at 0x719be0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.005c50a0
mov eax, dword [esp + 0x10]
push ebx
push esi
test byte [eax + 0x10], 4
mov esi, dword [eax + 4]
lea ebx, [esi - 1]
je 0x719c87
mov ecx, dword [eax + 8]
xor edx, edx
push ebp
xor ebp, ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x719c70
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
push edi
push dword [ecx]
mov eax, ebp
xor eax, ebx
lea edi, [eax - 1]
not eax
shr edi, 0x1f
shr eax, 0x1f
and edi, eax
neg edi
mov esi, edi
or esi, dword [esp + 0x14]
call fcn.00719cb0
mov ecx, dword [esp + 0x18]
mov edx, esi
not edx
mov dword [esp + 0x14], esi
and edx, 0x20
and eax, edi
add edx, dword [esp + 0x24]
inc ebp
add edx, eax
add ecx, 4
add esp, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ecx
cmp ebp, dword [esp + 0x18]
jl 0x719c23
pop edi
mov eax, ebx
shr ebx, 0x1f
not eax
dec eax
shr eax, 0x1f
and eax, ebx
pop ebp
dec eax
pop esi
and eax, edx
pop ebx
add esp, 0xc
ret
test esi, esi
jne 0x719c93
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [eax]
push dword [eax + esi*4 - 4]
call fcn.00719cb0
add esp, 4
shl esi, 5
add esi, 0xffffffe0
add eax, esi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x736920
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x736947
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x736936
pop edi
movzx eax, dl
pop esi
ret
Function at 0x81ec90
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0081eca0

Function at 0x81ef20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0081ef30
Function at 0x4127c0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f40bb
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x546320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xd8]
push 0x84
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.004a6000
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push edi
push 0x51350c
push eax
mov dword [ebp - 4], 0
call fcn.004a67a0
add esp, 0xc
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x4128a1
cmp ecx, 0x2200
ja 0x4128a1
test eax, eax
jne 0x41289a
cmp ecx, 0x1c00
ja 0x41289a
test eax, eax
jne 0x412893
cmp ecx, 0xe00
ja 0x412893
test eax, eax
jne 0x41288c
cmp ecx, 0xa00
ja 0x41288c
mov eax, 0x300
jmp 0x4128a6
mov eax, 0x400
jmp 0x4128a6
mov eax, 0x800
jmp 0x4128a6
mov eax, 0xc00
jmp 0x4128a6
mov eax, 0x1000
cmp edi, eax
jne 0x4128c0
mov ecx, str.recommend_postfix
call fcn.0040e790
push eax
lea ecx, [ebp - 0xd8]
call fcn.004a62b0
mov esi, dword [ebx]
lea ecx, [ebp - 0xd8]
call fcn.0041d430
push eax
mov ecx, ebx
call dword [esi + 0x3c]
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0xd8]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebx + 0x760]
mov edx, dword [ecx]
push 0
mov eax, dword [eax]
cmp dword [eax + 0x63c], edi
sete al
movzx eax, al
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.004a60c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f14ca
mov esp, ebp
pop ebp
ret 8
Function at 0x41eab0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x546320]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
cmp esi, ebx
je 0x41eafb
jmp 0x41ead0
mov edi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, edi
jle 0x41eafb
add esi, 4
cmp esi, ebx
jne 0x41ead0
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f14ca
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f551e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x546320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0041fa20
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.0041fa20
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x41f804
test dl, 0x10
jne 0x41f804
mov eax, 1
jmp 0x41f806
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.0041f8a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c