joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b3b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, esi
test esi, esi
je 0x44b502
nop dword [eax]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44b3e6
mov esi, eax
test esi, esi
jne 0x44b3d0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
nop dword [eax]
cmp byte [esi + 0x40], 7
jne 0x44b41d
test edi, edi
jle 0x44b41d
test ecx, ecx
jle 0x44b41d
lea edx, [ebp + 8]
mov dword [ebp + 8], ecx
push edx
push eax
push ecx
push eax
call fcn.0049a220
mov edi, dword [ebp + 8]
add esp, 0x10
test eax, eax
mov eax, 0xffffffff
cmovne edi, eax
mov al, byte [esi + 0x40]
cmp al, 5
jne 0x44b44c
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push esi
call fcn.0044b130
mov edi, eax
add esp, 0xc
test edi, edi
jle 0x44b449
push edi
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.004bc760
add esp, 0xc
mov al, byte [esi + 0x40]
cmp al, 4
jne 0x44b464
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0044a940
mov edi, eax
add esp, 0xc
mov al, byte [esi + 0x40]
cmp al, 6
jne 0x44b480
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.004d9e5f
mov edi, eax
add esp, 0x10
mov al, byte [esi + 0x40]
cmp al, 3
jne 0x44b4df
test ebx, ebx
je 0x44b4dc
cmp dword [ebx + 0x38], 0
jne 0x44b4dc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call fcn.0045f240
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44b4d3
jns 0x44b4df
mov eax, dword [esi + 4]
test eax, eax
je 0x44b4d3
mov eax, dword [eax + 0x1c4]
cmp eax, 0xfffffebd
je 0x44b4df
cmp eax, 0xfffffeb9
je 0x44b4df
cmp eax, 0xfffffea9
je 0x44b4d3
cmp eax, 2
je 0x44b4df
cmp eax, 3
je 0x44b4df
mov dword [ebx + 0x38], 1
jmp 0x44b4df
or edi, 0xffffffff
mov eax, edi
cmp esi, ebx
je 0x44b504
mov esi, dword [esi + 0xc]
test edi, edi
cmovle eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, eax
test esi, esi
je 0x44b502
mov eax, dword [ebp + 0xc]
test edi, edi
jns 0x44b3f0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x5428f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x408], 0
push esi
lea esi, [ebp - 0x404]
test ecx, ecx
je 0x458e72
test eax, eax
je 0x458e72
push edi
push 0x517574
push eax
call fcn.004d90a5
mov edi, eax
add esp, 8
test edi, edi
jne 0x458d91
lea eax, [edi - 4]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049bafa
mov esp, ebp
pop ebp
ret
push ebx
push 2
push 0
push edi
call fcn.004ea242
add esp, 0xc
test eax, eax
jne 0x458e53
push edi
call fcn.004ec767
push edi
mov ebx, eax
call fcn.004ee405
add esp, 8
cmp ebx, 0x400
jle 0x458ddf
push ebx
call fcn.00462980
mov esi, eax
add esp, 4
test esi, esi
je 0x458e53
mov dword [ebp - 0x408], 1
jmp 0x458de3
test ebx, ebx
jle 0x458e53
push edi
push ebx
push 1
push esi
call fcn.004d9e5f
add esp, 0x10
cmp eax, ebx
je 0x458dfb
mov ebx, 0xfffffffc
jmp 0x458e21
push dword [ebp + 0x14]
mov eax, dword [ebp - 0x40c]
push ebx
push esi
test eax, eax
je 0x458e0f
push eax
push dword [eax]
jmp 0x458e17
push 0
push dword [ebp - 0x410]
call fcn.00458b60
mov ebx, eax
add esp, 0x14
push edi
call fcn.004d91b8
add esp, 4
cmp dword [ebp - 0x408], 0
je 0x458e40
test esi, esi
je 0x458e40
push esi
call fcn.00462920
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049bafa
mov esp, ebp
pop ebp
ret
push edi
call fcn.004d91b8
add esp, 4
mov eax, 0xfffffffc
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049bafa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffff53
xor ecx, ebp
pop esi
call fcn.0049bafa
mov esp, ebp
pop ebp
ret

Function at 0x45df90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 4], esi
test ebx, ebx
je 0x45e035
push 2
push edi
push ebx
call fcn.004ea242
add esp, 0xc
test eax, eax
jne 0x45e066
push ebx
call fcn.004ec767
mov edi, eax
push ebx
mov dword [ebp + 8], edi
call fcn.004ee405
add esp, 8
test edi, edi
js 0x45e066
push edi
call fcn.00462980
mov edi, eax
add esp, 4
test edi, edi
je 0x45e035
push ebx
mov ebx, dword [ebp + 8]
push ebx
push 1
push edi
call fcn.004d9e5f
add esp, 0x10
cmp eax, ebx
jne 0x45e03e
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x45e012
push ebx
push edi
push eax
call fcn.0045aae0
add esp, 0xc
mov esi, eax
jmp 0x45e031
cmp eax, 0x12
jne 0x45e03e
call fcn.00497000
mov esi, eax
test esi, esi
je 0x45e03e
push esi
push ebx
push edi
call fcn.00497ba0
add esp, 0xc
test eax, eax
js 0x45e03e
test esi, esi
je 0x45e03e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45e03e
mov dword [eax], esi
cmp dword [ebp - 4], 0
je 0x45e050
lea eax, [ebp - 4]
push eax
call fcn.0047cb20
add esp, 4
test edi, edi
je 0x45e05d
push edi
call fcn.00462920
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460b00
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x460b11
mov eax, 0xffffff53
pop ebp
ret
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
xor eax, eax
pop ebp
ret
Function at 0x461260
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x461271
mov eax, 0xffffff53
pop ebp
ret
mov dword [eax + 0x6c], 0
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00460b00

Function at 0x4616c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
xor edx, edx
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x4617b8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
cmp edi, 8
jb 0x461797
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x4616f5
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, edi
xorps xmm4, xmm4
mov edi, ebx
sub ecx, eax
sub edi, esi
mov eax, esi
mov dword [ebp - 4], edi
xorps xmm3, xmm3
lea edi, [ebx + 4]
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 8]
nop word [eax + eax]
movd xmm2, dword [ebx + eax]
lea eax, [eax + 8]
movd xmm1, dword [eax - 8]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [eax - 4]
por xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [esi + edx]
add edx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp edx, ecx
jl 0x461720
mov ebx, dword [ebp + 8]
por xmm3, xmm4
mov esi, dword [ebp + 0xc]
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
cmp edx, edi
jge 0x4617b6
sub ebx, esi
lea ecx, [edx + esi]
sub edi, edx
movzx esi, byte [ecx + ebx]
lea ecx, [ecx + 1]
movzx edx, byte [ecx - 1]
xor esi, edx
or eax, esi
sub edi, 1
jne 0x4617a2
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x462890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
xor ecx, ecx
mov dword [ebp - 8], edx
add ebx, 0xfffffffc
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ebx
je 0x46290c
mov eax, 4
cmp ebx, eax
push esi
cmovbe eax, ebx
push edi
xor edi, edi
test eax, eax
jle 0x4628e3
mov esi, dword [ebp + 8]
mov ebx, eax
add esi, ecx
movzx edx, byte [esi + eax]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
xor edx, ecx
or edi, edx
sub ebx, 1
jne 0x4628c5
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
test edi, edi
jne 0x4628ed
mov edx, 3
mov dword [ebp - 8], edx
jmp 0x4628f0
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
add ecx, 4
sub eax, ecx
mov dword [ebp - 4], ecx
cmp eax, 4
mov esi, 4
cmova eax, esi
cmp ecx, ebx
jb 0x4628b8
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463180
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x463267
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x463267
mov ecx, dword [esi + 4]
mov edx, dword [esi]
lea eax, [edx + ecx]
mov dword [esi + 4], eax
cmp eax, ecx
jae 0x4631ad
inc dword [esi + 8]
mov byte [edx + esi + 0xc], 0x80
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
cmp ecx, 0x38
jbe 0x4631e8
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [esi + 0xc]
add eax, ecx
push 0
push eax
call fcn.004bd260
push esi
mov dword [esi], 0x40
call fcn.004629e0
add esp, 0x10
mov dword [esi], 0
xor ecx, ecx
mov eax, 0x38
sub eax, ecx
push eax
lea eax, [esi + 0xc]
add eax, ecx
push 0
push eax
call fcn.004bd260
mov edx, dword [esi + 4]
mov eax, edx
mov ecx, dword [esi + 8]
shr eax, 0x1d
push esi
lea eax, [eax + ecx*8]
mov dword [esi + 8], eax
lea eax, [edx*8]
mov dword [esi + 4], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x48], eax
call fcn.004629e0
movups xmm0, xmmword [esi + 0x4c]
add esp, 0x10
xor eax, eax
movups xmmword [edi], xmm0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
pop edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
pop ebp
ret
pop edi
mov eax, 0xffffff53
pop esi
pop ebp
ret
Function at 0x4644b0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x464679
cmp dword [ebp + 0xc], 0
je 0x464679
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ebx
push edi
lea ebx, [esi + 0xc]
lea eax, [edx + ecx]
mov dword [esi + 4], eax
cmp eax, ecx
jae 0x4644e0
inc dword [esi + 8]
mov byte [edx + ebx], 0x80
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
cmp ecx, 0x38
jbe 0x464541
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [ecx + ebx]
push 0
push eax
call fcn.004bd260
add esp, 0xc
mov dword [esi], 0x40
mov edx, ebx
mov edi, 0x10
mov eax, dword [edx]
lea edx, [edx + 4]
mov ecx, eax
rol eax, 8
ror ecx, 8
and eax, 0xff00ff
and ecx, 0xff00ff00
or ecx, eax
mov dword [edx - 4], ecx
sub edi, 1
jne 0x464511
push ebx
push esi
call fcn.00463440
add esp, 8
mov dword [esi], edi
xor ecx, ecx
mov eax, 0x38
sub eax, ecx
push eax
lea eax, [ecx + ebx]
push 0
push eax
call fcn.004bd260
add esp, 0xc
mov edx, ebx
mov edi, 0x10
nop
mov eax, dword [edx]
lea edx, [edx + 4]
mov ecx, eax
rol eax, 8
ror ecx, 8
and eax, 0xff00ff
and ecx, 0xff00ff00
or ecx, eax
mov dword [edx - 4], ecx
sub edi, 1
jne 0x464560
mov edx, dword [esi + 4]
mov eax, edx
mov ecx, dword [esi + 8]
shr eax, 0x1d
push ebx
push esi
lea ecx, [eax + ecx*8]
lea eax, [edx*8]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [ebx + 0x38], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 0x3c], eax
call fcn.00463440
mov eax, dword [esi + 0x4c]
add esp, 8
mov ecx, eax
rol eax, 8
ror ecx, 8
and eax, 0xff00ff
and ecx, 0xff00ff00
or ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x4c], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [esi + 0x54]
mov dword [esi + 0x50], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [esi + 0x58]
mov dword [esi + 0x54], ecx
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], ecx
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [esi + 0x5c], ecx
movups xmm0, xmmword [esi + 0x4c]
mov ecx, dword [ebp + 0xc]
movups xmmword [ecx], xmm0
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x10], eax
xor eax, eax
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov dword [esi + 0x5c], 0xc3d2e1f0
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
pop edi
pop ebx
pop esi
pop ebp
ret
mov eax, 0xffffff53
pop esi
pop ebp
ret
Function at 0x464980
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x464991
mov eax, 0xffffff53
pop ebp
ret
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc8], 0
mov dword [eax + 0xcc], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
xor eax, eax
pop ebp
ret

Function at 0x464a40
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x464a51
mov eax, 0xffffff53
pop ebp
ret
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc8], 0
mov dword [eax + 0xcc], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
xor eax, eax
pop ebp
ret
Function at 0x468340
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x468351
mov eax, 0xffffff53
pop ebp
ret
mov dword [eax + 0xd8], 0
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00464980

Function at 0x4683a0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4683b1
mov eax, 0xffffff53
pop ebp
ret
mov dword [eax + 0xd8], 0
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00464a40
Function at 0x46ae20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
xor edx, edx
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x46af18
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
cmp edi, 8
jb 0x46aef7
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x46ae55
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, edi
xorps xmm4, xmm4
mov edi, ebx
sub ecx, eax
sub edi, esi
mov eax, esi
mov dword [ebp - 4], edi
xorps xmm3, xmm3
lea edi, [ebx + 4]
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 8]
nop word [eax + eax]
movd xmm2, dword [ebx + eax]
lea eax, [eax + 8]
movd xmm1, dword [eax - 8]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [eax - 4]
por xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [esi + edx]
add edx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp edx, ecx
jl 0x46ae80
mov ebx, dword [ebp + 8]
por xmm3, xmm4
mov esi, dword [ebp + 0xc]
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
cmp edx, edi
jge 0x46af16
sub ebx, esi
lea ecx, [edx + esi]
sub edi, edx
movzx esi, byte [ecx + ebx]
lea ecx, [ecx + 1]
movzx edx, byte [ecx - 1]
xor esi, edx
or eax, esi
sub edi, 1
jne 0x46af02
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4796d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
test ebx, ebx
je 0x4796e6
mov dword [ebx], 0
mov esi, dword [ebp + 8]
test esi, esi
je 0x479819
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x479819
push 0x100
lea eax, [esi + 0x144]
push 0
push eax
mov dword [ebp + 0x10], eax
call fcn.004bd260
add esp, 0xc
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x479718
sub edi, ecx
cmp edi, 0xfd
jg 0x47980d
push 0xfd
push dword [ebp + 0xc]
lea eax, [esi + 0x144]
push eax
call fcn.004d9b20
lea eax, [edi + esi]
lea ecx, [eax + 0x144]
mov dword [ebp - 8], eax
mov eax, 0x100
mov dword [ebp + 8], ecx
sub eax, edi
push eax
push 0x523748
push ecx
call fcn.004d9b20
add esp, 0x18
lea eax, [esi + 0x144]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0x140], eax
cmp eax, 0xffffffff
je 0x47980d
cmp dword [esi], 0x10
jne 0x4797ac
push esi
push dword [esi + 0x140]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x479783
push esi
call fcn.004796a0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x2c]
mov ecx, eax
mov dword [ebp - 4], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4797b7
sub ecx, edx
lea eax, [edi + 2]
add eax, ecx
cmp eax, 0x100
jg 0x47980d
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push dword [ebp + 0xc]
push esi
call fcn.004d9b20
mov eax, dword [ebp + 8]
mov byte [eax], 0x5c
mov eax, 0xff
sub eax, edi
push eax
mov eax, dword [ebp - 8]
push dword [ebp - 4]
add eax, 0x145
push eax
call fcn.004d9b20
add esp, 0x18
test ebx, ebx
je 0x479804
mov dword [ebx], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffff0c
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffff53
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48aff0
Capabilities:
Hash data with md5

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

Function at 0x48b030
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
lea eax, [edx + ecx]
mov dword [esi + 4], eax
cmp eax, ecx
jae 0x48b049
inc dword [esi + 8]
mov byte [edx + esi + 0x1c], 0x80
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
cmp ecx, 0x38
jbe 0x48b084
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [esi + 0x1c]
add eax, ecx
push 0
push eax
call fcn.004bd260
push esi
mov dword [esi], 0x40
call fcn.0048ab70
add esp, 0x10
mov dword [esi], 0
xor ecx, ecx
mov eax, 0x38
sub eax, ecx
push eax
lea eax, [esi + 0x1c]
add eax, ecx
push 0
push eax
call fcn.004bd260
mov edx, dword [esi + 4]
mov ecx, edx
mov eax, dword [esi + 8]
shr ecx, 0x1d
push esi
lea eax, [ecx + eax*8]
mov dword [esi + 8], eax
lea eax, [edx*8]
mov dword [esi + 4], eax
mov dword [esi + 0x54], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x58], eax
call fcn.0048ab70
movups xmm0, xmmword [esi + 0xc]
mov eax, dword [ebp + 0xc]
add esp, 0x10
movups xmmword [eax], xmm0
mov dword [esi + 0xc], 0x67452301
mov dword [esi + 0x10], 0xefcdab89
mov dword [esi + 0x14], 0x98badcfe
mov dword [esi + 0x18], 0x10325476
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
pop ebp
ret
Function at 0x490710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
shr eax, 4
push edi
test edx, edx
je 0x4907e2
cmp dword [ebp + 0xc], 0
je 0x4907e2
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4907e2
test eax, eax
je 0x4907dd
push ebx
push esi
lea esi, [edx + 0xf8]
nop word [eax + eax]
dec eax
mov dword [ebp + 0x14], eax
mov eax, esi
or eax, edi
test al, 3
jne 0x490774
mov eax, dword [edi]
xor dword [esi], eax
mov eax, dword [edi + 4]
xor dword [esi + 4], eax
mov eax, dword [edi + 8]
xor dword [esi + 8], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0xc], eax
jmp 0x4907b0
lea eax, [edi + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x4907a3
cmp ecx, edi
jb 0x4907a3
mov ebx, edi
mov eax, esi
sub ebx, esi
mov edx, 0x10
nop dword [eax]
mov cl, byte [ebx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x490790
mov edx, dword [ebp + 8]
jmp 0x4907b0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push esi
push esi
push edx
call fcn.00490d90
mov eax, dword [ebp + 0xc]
add esp, 0xc
movups xmm0, xmmword [esi]
mov edx, dword [ebp + 8]
add edi, 0x10
movups xmmword [eax], xmm0
add eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x490750
pop esi
pop ebx
xor eax, eax
pop edi
pop ebp
ret
mov eax, 0xffffff53
pop edi
pop ebp
ret
Function at 0x491340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x491384
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x491384
cmp dword [ebp + 0x14], 0
je 0x491363
cmp dword [ebp + 0x10], 0
je 0x491384
cmp dword [ebp + 0xc], 0
je 0x491384
cmp dword [ebp + 0x20], 0
je 0x491384
mov eax, dword [ebp + 0x24]
cmp eax, 0x10
ja 0x491384
test eax, eax
je 0x491384
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x18], edx
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0048fd30
mov eax, 0xffffff53
pop ebp
ret

Function at 0x491390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4913b3
mov eax, dword [ebp + 0x24]
cmp eax, 0x10
ja 0x4913b3
cmp eax, 0xc
jb 0x4913b3
mov dword [ebp + 0x24], eax
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0048fff0
mov eax, 0xffffff53
pop ebp
ret

Function at 0x491710
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x491751
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x10
je 0x49172c
cmp ecx, 0x18
je 0x49172c
cmp ecx, 0x20
jne 0x491751
cmp ecx, 0x20
ja 0x491751
mov eax, ecx
mov dword [edx + 0xf4], ecx
shr eax, 2
add eax, 6
mov dword [edx + 0xf0], eax
mov dword [ebp + 0x10], ecx
mov dword [ebp + 8], edx
pop ebp
jmp fcn.00491760
mov eax, 0xffffff53
pop ebp
ret