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

Disassembly:
sub esp, 0x88
mov eax, dword [esp + 0x90]
push ebx
push esi
mov esi, dword [esp + 0x94]
lea ebx, [eax + 7]
shr ebx, 3
and eax, 7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
jne 0x63b9e5
mov dword [esp + 0x10], 8
push ebp
push edi
lea eax, [ebx - 1]
xor edx, edx
xor ecx, ecx
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edi
jbe 0x63bab5
mov ebp, dword [esi]
xor ebp, ecx
mov ecx, dword [esi + 4]
xor ecx, edx
mov dword [esi], ebp
test edi, edi
mov dword [esi + 4], ecx
jne 0x63ba87
cmp ebx, 2
push edi
jbe 0x63ba7a
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0063bde5
mov edi, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x30], edi
lea eax, [esp + 0x30]
mov ebx, 0x19
mov ecx, dword [eax]
mov edx, dword [esp + 0x2c]
add ecx, edx
mov ebp, edi
mov dword [eax + 4], ecx
mov edx, dword [eax]
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
add eax, 4
shl ebp, cl
mov ecx, edx
mov edx, ebp
mov ebp, edi
shr ebp, cl
or edx, ebp
mov ebp, dword [esp + 0x34]
xor ebp, edx
dec ebx
mov dword [esp + 0x34], ebp
jne 0x63ba3b
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x63ba95
push 0
push esi
call fcn.0063bde5
add esp, 0xc
jmp 0x63ba95
lea eax, [esp + 0x30]
push eax
push esi
call fcn.0063b8a0
add esp, 8
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
inc edi
lea eax, [ebx - 1]
mov dword [esp + 0x10], ecx
cmp edi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
jb 0x63ba04
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jbe 0x63bae0
mov ebp, esi
lea ecx, [esp + 0x10]
sub ebp, ecx
mov cl, byte [esp + edi + 0x10]
lea eax, [esp + edi + 0x10]
mov dl, byte [ebp + eax]
xor cl, dl
inc edi
mov byte [eax], cl
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x63bac7
pop edi
cmp ebx, 2
pop ebp
jbe 0x63bafb
lea eax, [esp + 0x28]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.0063b8a0
add esp, 8
jmp 0x63bb1e
cmp ebx, 1
jne 0x63bb0d
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
push 0
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.0063bde5
add esp, 0xc
cmp ebx, 1
jbe 0x63bb52
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jbe 0x63bb39
mov dl, byte [esi + eax - 8]
mov byte [esi + eax], dl
inc eax
cmp eax, ecx
jb 0x63bb2d
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi - 8], eax
mov dword [esi - 4], ecx
pop esi
xor eax, eax
pop ebx
add esp, 0x88
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
pop esi
xor eax, eax
pop ebx
add esp, 0x88
ret
Function at 0x63bb6a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0x98]
push ebx
mov ebx, dword [esp + 0x98]
push ebp
lea ebp, [eax + 7]
push esi
shr ebp, 3
and eax, 7
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
jne 0x63bb9d
mov dword [esp + 0x20], 8
xor edx, edx
cmp ebp, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
jbe 0x63bc86
lea eax, [ebp - 2]
xor esi, esi
cmp eax, edx
mov dword [esp + 0x24], esi
jbe 0x63bc86
jmp 0x63bbcd
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp esi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x63bc3d
push edx
lea edx, [esp + 0x34]
push edx
push ebx
call fcn.0063bde5
mov esi, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x38], esi
lea eax, [esp + 0x38]
mov edi, 0x19
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
add ecx, edx
mov ebp, esi
mov dword [eax + 4], ecx
mov edx, dword [eax]
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
add eax, 4
shl ebp, cl
mov ecx, edx
mov edx, ebp
mov ebp, esi
shr ebp, cl
or edx, ebp
mov ebp, dword [esp + 0x3c]
xor ebp, edx
dec edi
mov dword [esp + 0x3c], ebp
jne 0x63bbfe
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x63bc4b
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0063b929
add esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
xor eax, edx
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
add ebx, 8
inc esi
lea eax, [ebp - 2]
cmp esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], esi
jb 0x63bbcb
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
cmp ecx, edx
mov dword [esp + 0x14], edx
jbe 0x63bcab
mov eax, ecx
lea esi, [ebx + 8]
lea edi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebp, 1
jne 0x63bcc0
push edx
push edx
push ebx
call fcn.0063bde5
add esp, 0xc
jmp 0x63bd48
cmp ebp, 2
jne 0x63bcd2
push edx
push edx
push ebx
call fcn.0063bde5
add esp, 0xc
jmp 0x63bce5
lea ecx, [esp + 0x38]
push ecx
push ebx
call fcn.0063b929
add esp, 8
cmp ebp, 1
jbe 0x63bd48
mov edx, dword [ebx]
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x20]
xor esi, edx
mov edx, dword [esp + 0x14]
xor edx, eax
xor eax, eax
test edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
jbe 0x63bd26
mov ecx, ebx
lea edx, [esp + 0x10]
sub ecx, edx
mov dl, byte [eax + ebx + 8]
lea esi, [esp + eax + 0x10]
inc eax
mov byte [esi + ecx], dl
mov dl, byte [esi]
mov byte [eax + ebx + 7], dl
cmp eax, edi
jb 0x63bd10
cmp ebp, 2
jne 0x63bd3a
push 0
push 0
push ebx
call fcn.0063bde5
add esp, 0xc
jmp 0x63bd48
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0063b929
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [esp + 0x1c]
xor eax, edx
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret
Function at 0x653490
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
sub esp, 0x408
mov edx, dword [esp + 0x40c]
push edx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x653500
lea eax, [esp + 4]
push eax
push 0x400
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
cmp byte [esp + 5], 0x3a
jne 0x6534f5
mov byte [esp + 0x404], 0x3d
mov al, byte [esp + 4]
mov byte [esp + 0x405], al
mov byte [esp + 0x406], 0x3a
mov byte [esp + 0x407], 0
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x408]
push eax
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
xor eax, eax
add esp, 0x408
ret
or eax, 0xffffffff
add esp, 0x408
ret

Function at 0x667d50
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 8
mov esi, dword [ebp + 8]
cmp byte [0x78a028], 0
jne 0x667d76
mov dword [0x78a024], 0
mov byte [0x78a028], 1
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [eax + 8], 0
mov ebx, dword [0x78a020]
jmp 0x667d93
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x667d9d
mov eax, dword [ebx]
cmp dword [eax], esi
ja 0x667d90
test ebx, ebx
jne 0x667db0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
xor edx, edx
mov ecx, eax
cmp eax, 1
je 0x667de9
lea eax, [eax]
lea ebx, [edx + ecx]
sar ebx, 1
cmp dword [edi + ebx*8], esi
ja 0x667de0
mov edx, ebx
jmp 0x667de2
mov ecx, ebx
mov ebx, edx
inc ebx
cmp ebx, ecx
jne 0x667dd0
cmp esi, dword [edi + edx*8]
jb 0x667ecc
mov ecx, edx
inc ecx
cmp ecx, eax
je 0x667e03
cmp esi, dword [edi + edx*8 + 8]
jae 0x667ecc
mov ecx, dword [edi + edx*8 + 4]
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [eax]
movsx eax, byte [ecx]
and eax, 1
jne 0x667ec2
movzx eax, word [ecx + 5]
mov dword [ebp - 0x10], eax
add ebx, 7
mov dword [ebp - 0x14], 0
test eax, eax
jle 0x667ec2
mov edi, dword [ebx]
mov al, byte [edi]
cmp al, 0xe8
je 0x667e41
cmp al, 0xcc
jne 0x667e46
add edi, 5
jmp case.default.0x667e7a
cmp al, 0xff
jne 0x667e90
movzx eax, byte [edi + 1]
mov edx, eax
sar edx, 6
and eax, 7
add edi, 2
cmp edx, 3
je case.default.0x667e7a
cmp eax, 4
jne 0x667e64
inc edi
test edx, edx
jne 0x667e72
cmp eax, 5
jne 0x667e72
add edi, 4
jmp case.default.0x667e7a
mov eax, edx
dec edx
cmp edx, 1
ja case.default.0x667e7a
jmp dword [edx*4 + 0x6de72c]
inc edi
jmp case.default.0x667e7a
add edi, 4
jmp case.default.0x667e7a
call fcn.006782e0
cmp edi, esi
jne 0x667eb0
add ebx, 4
mov ecx, dword [ebx]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
add ebx, 8
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x667e35
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x670c10
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x14
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x670dc1
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov eax, 1
mov ecx, ebp
xor edx, edx
mov dl, byte [edi + 4]
xor ebx, ebx
shl eax, cl
xor ecx, ecx
mov bl, byte [edi + 5]
mov cl, byte [esi]
mov dword [esp + 0x10], ecx
sub ecx, edx
xor edx, edx
mov dl, byte [esi + 1]
mov dword [esp + 0x14], edx
sub edx, ebx
mov dword [esp + 0x30], edx
xor edx, edx
mov dl, byte [esi + 2]
xor ebx, ebx
mov bl, byte [edi + 6]
mov dword [esp + 0x18], edx
sub edx, ebx
xor ebx, ebx
mov bl, byte [edi + 7]
mov dword [esp + 0x2c], edx
xor edx, edx
mov dl, byte [esi + 3]
mov dword [esp + 0x1c], edx
sub edx, ebx
test ecx, ecx
mov dword [esp + 0x20], edx
jge 0x670dc1
mov ebx, dword [esp + 0x30]
test ebx, ebx
jge 0x670dc1
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jge 0x670dc1
test edx, edx
jge 0x670dc1
mov ebx, dword [esp + 0x10]
xor edx, edx
mov dl, byte [edi]
sub edx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
xor edx, edx
mov dl, byte [edi + 1]
sub edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [edi + 2]
sub edx, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
xor edx, edx
mov dl, byte [edi + 3]
sub edx, ebx
mov ebx, dword [esp + 0x34]
cmp ebx, eax
jge 0x670dc1
cmp dword [esp + 0x10], eax
jge 0x670dc1
mov ebx, dword [esp + 0x18]
cmp ebx, eax
jge 0x670dc1
cmp edx, eax
jge 0x670dc1
neg eax
cmp ecx, eax
jg 0x670d53
cmp dword [esp + 0x30], eax
jg 0x670d53
cmp dword [esp + 0x2c], eax
jg 0x670d53
cmp dword [esp + 0x20], eax
jg 0x670d53
mov eax, dword [esp + 0x34]
test eax, eax
jg 0x670d53
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x670d53
test ebx, ebx
jg 0x670d53
test edx, edx
jg 0x670d53
test ebp, ebp
jne 0x670d53
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x38]
pop edi
pop esi
pop ebp
mov byte [ecx + 0x18], al
pop ebx
add esp, 0x14
ret
dec ebp
xor ebx, ebx
mov edx, ebx
mov al, byte [esi]
sar edx, 3
and dl, 1
mov ecx, ebp
shl dl, cl
add dl, al
mov eax, ebx
sar eax, 2
and al, 1
mov byte [esp + 0x30], dl
shl al, cl
mov cl, byte [esi + 1]
mov edx, ebx
sar edx, 1
and dl, 1
add al, cl
mov ecx, ebp
shl dl, cl
mov byte [esp + 0x31], al
mov al, byte [esi + 2]
add dl, al
mov al, bl
and al, 1
mov byte [esp + 0x32], dl
shl al, cl
mov cl, byte [esi + 3]
lea edx, [esp + 0x30]
add al, cl
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x28]
push ecx
push edi
mov ecx, dword [eax + ebx*4]
push ebp
push edx
push ecx
call fcn.00670c10
add esp, 0x14
inc ebx
cmp ebx, 0x10
jl 0x670d56
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x670dd0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x14
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x670fb1
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov eax, 1
mov ecx, ebp
xor edx, edx
mov dl, byte [edi + 4]
xor ebx, ebx
shl eax, cl
xor ecx, ecx
mov bl, byte [edi + 5]
mov cl, byte [esi]
mov dword [esp + 0x10], ecx
sub ecx, edx
xor edx, edx
mov dl, byte [esi + 1]
mov dword [esp + 0x14], edx
sub edx, ebx
mov dword [esp + 0x30], edx
xor edx, edx
mov dl, byte [esi + 2]
xor ebx, ebx
mov bl, byte [edi + 6]
mov dword [esp + 0x18], edx
sub edx, ebx
xor ebx, ebx
mov bl, byte [edi + 7]
mov dword [esp + 0x2c], edx
xor edx, edx
mov dl, byte [esi + 3]
mov dword [esp + 0x1c], edx
sub edx, ebx
test ecx, ecx
mov dword [esp + 0x20], edx
jge 0x670fb1
mov ebx, dword [esp + 0x30]
test ebx, ebx
jge 0x670fb1
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jge 0x670fb1
test edx, edx
jge 0x670fb1
mov ebx, dword [esp + 0x10]
xor edx, edx
mov dl, byte [edi]
sub edx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
xor edx, edx
mov dl, byte [edi + 1]
sub edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [edi + 2]
sub edx, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
xor edx, edx
mov dl, byte [edi + 3]
sub edx, ebx
mov ebx, dword [esp + 0x34]
cmp ebx, eax
jge 0x670fb1
cmp dword [esp + 0x10], eax
jge 0x670fb1
mov ebx, dword [esp + 0x18]
cmp ebx, eax
jge 0x670fb1
cmp edx, eax
jge 0x670fb1
neg eax
cmp ecx, eax
jg 0x670f43
cmp dword [esp + 0x30], eax
jg 0x670f43
cmp dword [esp + 0x2c], eax
jg 0x670f43
cmp dword [esp + 0x20], eax
jg 0x670f43
mov eax, dword [esp + 0x34]
test eax, eax
jg 0x670f43
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x670f43
test ebx, ebx
jg 0x670f43
test edx, edx
jg 0x670f43
test ebp, ebp
jne 0x670f43
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
pop edi
pop esi
fld dword [ecx]
fadd dword [eax]
pop ebp
pop ebx
fstp dword [eax]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [eax + 8]
fld dword [ecx + 0xc]
fadd dword [eax + 0xc]
fstp dword [eax + 0xc]
fld dword [ecx + 0x10]
fadd dword [eax + 0x10]
fstp dword [eax + 0x10]
fld dword [ecx + 0x14]
fadd dword [eax + 0x14]
fstp dword [eax + 0x14]
add esp, 0x14
ret
dec ebp
xor ebx, ebx
mov eax, ebx
mov ecx, ebp
sar eax, 3
and al, 1
mov edx, ebx
shl al, cl
mov cl, byte [esi]
sar edx, 2
and dl, 1
add al, cl
mov ecx, ebp
shl dl, cl
mov byte [esp + 0x30], al
mov al, byte [esi + 1]
add dl, al
mov eax, ebx
sar eax, 1
and al, 1
mov byte [esp + 0x31], dl
mov dl, byte [esi + 2]
shl al, cl
add al, dl
mov dl, bl
and dl, 1
mov byte [esp + 0x32], al
mov al, byte [esi + 3]
shl dl, cl
lea ecx, [esp + 0x30]
add dl, al
mov eax, dword [esp + 0x38]
mov byte [esp + 0x33], dl
mov edx, dword [esp + 0x28]
push eax
push edi
mov eax, dword [edx + ebx*4]
push ebp
push ecx
push eax
call fcn.00670dd0
add esp, 0x14
inc ebx
cmp ebx, 0x10
jl 0x670f46
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x672880
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x10
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], 0
cmp edi, 0x100
jge 0x6728ae
mov edx, dword [edi*4 + 0x7f9f68]
test edx, edx
jne 0x6728c8
push 1
call fcn.0066a2c0
pop ecx
mov dword [eax + 4], 9
or eax, 0xffffffff
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [edx]
mov dword [esp + 8], eax
movsx eax, byte [edx + 4]
test eax, eax
je 0x67291b
xor esi, esi
xor eax, eax
jmp 0x6728e8
cmp byte [eax + ebp], 0xa
jne 0x6728e7
inc esi
inc eax
cmp eax, ebx
jb 0x6728e0
lea eax, [esi + ebx]
push eax
call fcn.00661870
pop ecx
mov dword [esp + 4], eax
mov ecx, eax
xor edx, edx
jmp 0x672911
cmp byte [edx + ebp], 0xa
jne 0x67290a
mov byte [ecx], 0xd
inc ecx
mov al, byte [edx + ebp]
mov byte [ecx], al
inc ecx
inc edx
cmp edx, ebx
jb 0x672900
add ebx, esi
mov ebp, dword [esp + 4]
mov eax, dword [edi*4 + 0x7f9f68]
cmp byte [eax + 5], 0
je 0x672935
push 2
push 0
push edi
call fcn.00672810
add esp, 0xc
push 0
lea eax, [esp + 0x10]
push eax
push ebx
push ebp
push dword [esp + 0x18]
call dword [sym.imp.kernel32.dll_WriteFile]
mov esi, eax
cmp dword [esp + 4], 0
je 0x67295b
push dword [esp + 4]
call fcn.006618a0
pop ecx
test esi, esi
je 0x672970
mov eax, dword [esp + 0xc]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
call dword [fcn.00a1215c]
mov dword [0xa0cfe0], eax
xor eax, eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6729f0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 8
cmp dword [esp + 0x1c], 0x100
jge 0x672a10
mov eax, dword [esp + 0x1c]
mov edx, dword [eax*4 + 0x7f9f68]
test edx, edx
jne 0x672a30
push 1
call fcn.0066a2c0
pop ecx
mov dword [eax + 4], 9
or eax, 0xffffffff
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
movsx ebx, byte [edx + 4]
push 0
lea eax, [esp + 8]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x2c]
mov eax, dword [edx]
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x672ae0
cmp dword [esp + 4], 0
je 0x672ad2
test ebx, ebx
je 0x672ad2
mov esi, dword [esp + 0x20]
mov ecx, esi
xor ebx, ebx
xor ebp, ebp
jmp 0x672a95
mov al, byte [ecx]
cmp al, 0xd
jne 0x672a90
mov edx, dword [esp + 4]
dec edx
cmp edi, edx
jae 0x672a90
cmp byte [ecx + 1], 0xa
jne 0x672a90
inc ecx
inc ebx
jmp 0x672a94
mov byte [esi], al
inc ecx
inc esi
inc ebp
mov edi, ebp
cmp edi, dword [esp + 4]
jb 0x672a70
mov eax, dword [esp + 0x24]
cmp dword [esp + 4], eax
jne 0x672ace
cmp dword [esp + 4], 1
jbe 0x672ace
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 0xd
jne 0x672ace
push 1
push 0xffffffffffffffff
push dword [esp + 0x24]
call fcn.00672810
add esp, 0xc
inc ebx
sub dword [esp + 4], ebx
mov eax, dword [esp + 4]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
call dword [fcn.00a1215c]
mov dword [0xa0cfe0], eax
xor eax, eax
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x677f70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x150
mov ebx, dword [0xa0d060]
mov edx, dword [0xa0d070]
mov eax, dword [ebx + edx*4 - 4]
mov dword [ebp - 0x158], eax
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ebx, 0xfffffffe
sub ebx, ecx
add ebx, dword [ebp - 0x158]
jmp 0x677fb1
dec ebx
cmp ebx, dword [ebp - 0x158]
jbe 0x677fce
movsx eax, byte [ebx - 1]
push eax
push 0x6df844
call fcn.00642690
pop ecx
pop ecx
test eax, eax
je 0x677fb0
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x158]
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x150], eax
cmp eax, 0xffffffff
je 0x678087
lea esi, [ebp - 0x120]
sub ebx, dword [ebp - 0x158]
mov dword [ebp - 0x154], ebx
mov edi, esi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
add eax, dword [ebp - 0x154]
inc eax
push eax
call fcn.00661870
pop ecx
mov edi, eax
push dword [ebp - 0x158]
push edi
call fcn.00642560
pop ecx
pop ecx
push esi
lea eax, [ebx + edi]
push eax
call fcn.00642560
pop ecx
pop ecx
call fcn.00677f20
test eax, eax
je 0x67807b
mov ecx, dword [0xa0d060]
mov edx, dword [0xa0d070]
mov dword [ecx + edx*4 - 4], edi
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x150]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
je 0x67807b
mov eax, dword [0xa0d070]
inc dword [0xa0d070]
test eax, eax
jne 0x678002
push dword [ebp - 0x150]
call dword [sym.imp.kernel32.dll_FindClose]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x678090
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 8
mov dword [0x78a6a4], 1
mov dword [0xa0d070], 0
push 4
call fcn.00661870
pop ecx
mov dword [0xa0d060], eax
test eax, eax
jne 0x6780d0
call fcn.00677f00
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov esi, eax
mov edi, esi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, 0xfffffffe
sub eax, ecx
inc eax
push eax
call fcn.00661870
pop ecx
mov dword [0x78a6a0], eax
mov edi, eax
test edi, edi
jne 0x678109
call fcn.00677f00
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
inc esi
movsx eax, byte [esi]
push eax
push str.__t_r_n_v
call fcn.00642690
pop ecx
pop ecx
test eax, eax
jne 0x678108
jmp 0x67825c
call fcn.00677f20
test eax, eax
je 0x678265
mov dword [ebp - 0x10], 0
mov edx, dword [0xa0d070]
mov eax, dword [0xa0d060]
mov dword [eax + edx*4], edi
inc dword [0xa0d070]
xor ebx, ebx
jmp 0x678247
test ebx, ebx
jne 0x6781a0
movsx eax, al
push eax
push str.__t_r_n_v
call fcn.00642690
pop ecx
pop ecx
test eax, eax
je 0x678190
inc esi
mov cl, byte [esi]
test cl, cl
je 0x678184
movsx eax, cl
push eax
push str.__t_r_n_v
call fcn.00642690
pop ecx
pop ecx
test eax, eax
jne 0x678169
mov byte [edi], 0
inc edi
jmp 0x678251
cmp byte [esi], 0x22
jne 0x6781c2
inc esi
mov ebx, 1
jmp 0x678247
cmp al, 0x22
jne 0x6781b6
cmp byte [esi + 1], 0x22
jne 0x6781b6
mov byte [edi], 0x22
inc edi
add esi, 2
jmp 0x678247
cmp al, 0x22
jne 0x6781c2
inc esi
xor ebx, ebx
jmp 0x678247
mov al, byte [esi]
cmp al, 0x5c
jne 0x678204
cmp byte [esi + 1], 0x5c
jne 0x678204
mov ecx, 2
jmp 0x6781d6
inc ecx
mov al, byte [esi + ecx]
cmp al, 0x5c
je 0x6781d5
cmp al, 0x22
jne 0x6781fd
and ecx, 0xfffffffe
je 0x678247
mov al, byte [esi]
mov byte [edi], al
inc edi
add esi, 2
sub ecx, 2
test ecx, ecx
jne 0x6781e6
jmp 0x678247
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
sub ecx, 1
jae 0x6781f7
jmp 0x678247
cmp al, 0x5c
jne 0x678217
cmp byte [esi + 1], 0x22
jne 0x678217
mov byte [edi], 0x22
inc edi
add esi, 2
jmp 0x678247
cmp al, 0x5c
jne 0x678230
mov dl, byte [esi + 1]
cmp dl, 0x3f
je 0x678228
cmp dl, 0x2a
jne 0x678230
mov byte [edi], dl
inc edi
add esi, 2
jmp 0x678247
test ebx, ebx
jne 0x678243
cmp al, 0x2a
je 0x67823c
cmp al, 0x3f
jne 0x678243
mov dword [ebp - 0x10], 1
mov byte [edi], al
inc esi
inc edi
mov al, byte [esi]
test al, al
jne 0x678151
cmp dword [ebp - 0x10], 0
je 0x67825c
call fcn.00677f70
cmp byte [esi], 0
jne 0x678122
mov byte [edi], 0
mov edx, dword [0xa0d070]
mov eax, dword [0xa0d060]
mov dword [eax + edx*4], 0
push 0x677ec0
call fcn.006638f0
pop ecx
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x328fb94
Capabilities:
Encode data using xor

Disassembly:
jmp 0x328fb9e
pushal
call 0x328fba4
pop ebp
sub ebp, 0x10
sub ebp, 0x2e8fb94
jmp 0x328fbba
mov eax, 0x2e8fb94
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b9
mov edx, 0x70a9ca35
xor byte [eax], dl
inc eax
dec ecx
jne 0x328fbd1
jmp 0x328fbe4
mov esi, 0x9bcbef8
xor eax, 0xf4b43535
int 0x35
xor eax, 0x8df83635
cmp al, 0x35
xor eax, 0x351d8f35
xor eax, 0x36d7c235
std
mov esi, 0x353539b4
xor eax, 0x6565f036
pop ebp
sbb dword [ebx + edi*4 + 0x575d5d35], ebp
outsd dx, dword [esi]
aaa
xor al, 0x19
adc dword [ebp - 0x30], ebx
ret
Function at 0xc36ea4
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00c36ea4
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x28431a16
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x68618ee
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219