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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
cmp byte [0x602c98], 0
jne 0x442432
call fcn.00471850
test eax, eax
je 0x442438
mov byte [0x602c98], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x484]
test eax, eax
je 0x44245c
push 0x400
push eax
call fcn.00471a80
add esp, 8
call fcn.00471850
test eax, eax
jne 0x442432
push ebx
push esi
push edi
nop
mov esi, 2
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
nop dword [eax + eax]
lea eax, [ebp - 0x44]
push eax
call fcn.0042cee0
push 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.00436d70
movups xmm1, xmmword [ebp - 0x34]
add esp, 8
lea ecx, [esi - 1]
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
push eax
movd eax, xmm1
push eax
push 0
push ecx
call fcn.0055dfe0
imul esi, dword [ebp - 0x1c]
mov edi, eax
lea eax, [ebp - 0x54]
mov ebx, edx
push eax
mov dword [ebp - 0x10], esi
call fcn.0042cee0
mov esi, dword [eax + 8]
lea eax, [ebp - 0x64]
push eax
call fcn.0042cee0
mov edx, dword [ebp - 4]
add esp, 8
inc edx
mov dword [ebp - 0x14], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, esi
push 0
push edx
adc eax, 0
push eax
push ecx
call fcn.0055dfe0
shld edx, eax, 8
shl eax, 8
xor ebx, edx
xor edi, eax
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x24], edi
push eax
call fcn.0042cee0
lea esi, [eax + 8]
lea eax, [ebp - 0x84]
push eax
call fcn.0042cee0
add esp, 8
mov ecx, dword [eax]
add ecx, dword [esi]
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x14]
add eax, 2
imul ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], esi
shl ecx, 0x10
xor eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [ebp - 0xc], 1
mov dword [ebp - 8], eax
jne 0x442480
movsd xmm0, qword [0x590c08]
lea eax, [ebp - 0xc4]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004716d0
add esp, 0x10
call fcn.00471850
test eax, eax
je 0x442460
lea eax, [ebp - 0x1c4]
mov byte [ebp - 0x1c4], 0
push 0x100
push eax
call fcn.004718e0
add esp, 8
cmp byte [ebp - 0x1c4], 0
pop edi
pop esi
pop ebx
je 0x4425d7
lea eax, [ebp - 0x1c4]
push 0x400
push eax
call fcn.00471a80
add esp, 8
call fcn.00471850
test eax, eax
jne 0x442432
push str.libcurl_is_now_using_a_weak_random_seed__n
push dword [ebp + 8]
call fcn.00426bf0
add esp, 8
call fcn.00471850
neg eax
sbb eax, eax
and eax, 0xffffffdd
add eax, 0x23
mov esp, ebp
pop ebp
ret

Function at 0x445f30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push dword [ebp + 8]
call fcn.0056d1cc
add esp, 4
mov byte [ebp - 0x104], 0
test eax, eax
je 0x445f7f
push 0x104
lea ecx, [ebp - 0x104]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x104], 0
je 0x445f7f
lea eax, [ebp - 0x104]
push eax
call dword [0x5f80dc]
add esp, 4
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x449e60
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x449e93
push 0x2e
push edi
call fcn.00585160
add esp, 8
test eax, eax
je 0x449e91
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x449f90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x5f80d0]
mov edi, eax
add esp, 4
test edi, edi
jne 0x449fbd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x44a004
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x44a00a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x44a06b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x44a030
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x44a097
mov eax, dword [esi + 4]
push 1
push 0x591b85
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x591b86
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x44a070
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44db70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push edi
xor edi, edi
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae edx, edi
test eax, eax
js 0x44dbbc
push ebx
push esi
lea ebx, [ebp + 0xc]
xor ecx, ecx
lea ebx, [ebx + 4]
bts ecx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
cmp eax, 0x40
mov eax, dword [ebx]
cmovae esi, ecx
or edi, ecx
or edx, esi
test eax, eax
jns 0x44db98
pop esi
pop ebx
mov eax, edi
pop edi
pop ebp
ret
Function at 0x451660
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x1505
push edi
xor edi, edi
test esi, esi
jne 0x451679
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov dl, byte [esi]
test dl, dl
je 0x45169c
nop
mov eax, ecx
lea esi, [esi + 1]
shld edi, ecx, 5
xor edi, edi
shl ecx, 5
add ecx, eax
movzx eax, dl
cdq
mov dl, byte [esi]
add ecx, eax
test dl, dl
jne 0x451680
pop edi
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4524b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x18], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
jb 0x452589
mov eax, dword [ebp + 0x14]
ja 0x4524d5
test eax, eax
je 0x452589
mov eax, dword [ebp - 0xc]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp - 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
nop word [eax + eax]
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x10]
mov dl, byte [esi + eax]
mov byte [ebp - 1], dl
jne 0x45251a
mov ax, word [edi + 0x14]
or ax, 2
movzx eax, ax
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor dl, cl
mov byte [ebp - 1], dl
test ebx, ebx
je 0x452521
mov byte [esi + ebx], dl
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi + 0xc]
not eax
push eax
call fcn.0045a090
not eax
mov dword [edi + 0xc], eax
movzx eax, al
add eax, dword [edi + 0x10]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [edi + 0x10], eax
shr eax, 0x18
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
mov eax, dword [edi + 0x14]
not eax
push eax
call fcn.0045a090
mov ecx, dword [ebp - 8]
add esp, 0x18
add esi, 1
not eax
mov dword [edi + 0x14], eax
adc ecx, 0
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp + 0x18]
jb 0x4524f0
ja 0x452586
cmp esi, dword [ebp + 0x14]
jb 0x4524f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455420
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0xc]
push esi
mov esi, dword [ebp + 8]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x45545f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00455540
push eax
push 5
push dword [ebp + 0x10]
call fcn.0044c880
add esp, 0x10
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0
push 0x989680
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0055e460
mov edi, eax
mov eax, edx
sub edi, 0xb6109100
push esi
sbb eax, 2
xor ebx, ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov ecx, 1
cmp eax, ecx
lea eax, [ebp - 0x14]
push eax
push esi
cmove ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4554c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00455540
push eax
push 5
push dword [ebp + 0x10]
call fcn.0044c880
add esp, 0x10
or eax, 0xffffffff
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
push esi
call fcn.004508f0
mov eax, dword [ebp - 4]
add esp, 4
or dword [esi], 0x10
mov dword [esi + 0x28], edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 0x70]
mov eax, ecx
mov edx, dword [edi + 0x74]
or eax, edx
je 0x455514
sub ecx, dword [edi + 0x68]
mov eax, dword [esi + 4]
sbb edx, dword [edi + 0x6c]
or dword [esi], 4
pop edi
mov dword [esi + 4], eax
xor eax, eax
pop ebx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop esi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x45552d
mov eax, dword [ebp - 0x14]
or dword [esi], 4
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esi + 4], eax
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x455b50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00457990
add esp, 0xc
lea eax, [edi + 0x128]
pop edi
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.004579f0
Function at 0x4577f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push esi
push edi
push 0xa0
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00584f50
lea eax, [ebp - 0xe8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00457bc0
lea eax, [ebp - 0x228]
mov ecx, 0x28
push eax
push dword [ebp + 0x14]
lea esi, [ebp - 0xe8]
push dword [ebp + 0x10]
lea edi, [ebp - 0x228]
rep movsd dword es:[edi], dword [esi]
call fcn.004579f0
mov ecx, dword [ebp + 0x20]
mov eax, 0xcccccccd
dec ecx
add esp, 0x24
mul ecx
mov eax, edx
shr eax, 4
add eax, 1
mov dword [ebp - 0x10], eax
je 0x457982
push ebx
mov edx, 1
mov dword [ebp - 8], 0
lea ebx, [ebp - 0x38]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ebx
nop word [eax + eax]
mov eax, edx
mov dword [ebp - 0x28], 0
shr eax, 0x18
lea esi, [ebp - 0x228]
mov byte [ebp - 0x24], al
lea edi, [ebp - 0x188]
mov eax, edx
mov byte [ebp - 0x21], dl
shr eax, 0x10
mov ecx, 0x28
mov byte [ebp - 0x23], al
xorps xmm0, xmm0
mov eax, edx
shr eax, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x18]
mov byte [ebp - 0x22], al
mov eax, 4
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
test ecx, ecx
je 0x457943
mov ebx, ecx
nop
lea ecx, [ebp - 0x188]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004579f0
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.00457ae0
movups xmm0, xmmword [ebp - 0x24]
add esp, 0x18
mov eax, 0x10
movups xmm1, xmmword [ebp - 0x48]
pxor xmm1, xmm0
movups xmmword [ebp - 0x38], xmm1
nop dword [eax + eax]
mov cl, byte [ebp + eax - 0x24]
xor byte [ebp + eax - 0x38], cl
inc eax
cmp eax, 0x14
jb 0x457910
lea esi, [ebp - 0xe8]
mov ecx, 0x28
lea edi, [ebp - 0x188]
rep movsd dword es:[edi], dword [esi]
sub ebx, 1
je 0x457940
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x48], xmm0
jmp 0x4578d0
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
xor edx, edx
mov esi, dword [ebp + 0x1c]
mov ecx, edi
nop dword [eax]
cmp ecx, dword [ebp + 0x20]
jae 0x457962
mov al, byte [ebx + ecx]
inc edx
mov byte [ecx + esi], al
inc ecx
cmp edx, 0x14
jb 0x457950
mov edx, dword [ebp - 4]
add edi, 0x14
inc edx
mov dword [ebp - 8], edi
sub ebx, 0x14
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ebx
lea eax, [edx - 1]
cmp eax, dword [ebp - 0x10]
jb 0x457880
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4579f0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x457ac1
cmp eax, 0x40
jbe 0x457a22
lea eax, [esi + 0x40]
push eax
push esi
call fcn.00457e20
add esp, 8
mov dword [esi + 0x9c], 0x14
mov ecx, dword [esi + 0x9c]
cmp ecx, 0x40
jae 0x457a43
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.00584f50
add esp, 0xc
movaps xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [esi + eax*4]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esi + eax*4], xmm1
movups xmm0, xmmword [esi + eax*4 + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esi + eax*4 + 0x10], xmm1
add eax, 8
cmp eax, 0x10
jb 0x457a50
lea eax, [esi + 0x40]
mov dword [eax + 4], 0
push eax
push 0x40
push esi
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
call fcn.00457f30
add esp, 0xc
mov dword [esi + 0x9c], 0xffffffff
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x457ad8
lea eax, [esi + 0x40]
pop esi
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], ecx
pop ebp
jmp fcn.00457f30
pop esi
pop ebp
ret

Function at 0x457ae0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp dword [edi + 0x9c], 0xffffffff
je 0x457b01
push edi
push 0
push 0
call fcn.004579f0
add esp, 0xc
lea esi, [edi + 0x40]
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00457e20
movaps xmm2, xmmword [0x593ec0]
add esp, 8
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [edi + eax*4]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + eax*4], xmm1
movups xmm0, xmmword [edi + eax*4 + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + eax*4 + 0x10], xmm1
add eax, 8
cmp eax, 0x10
jb 0x457b20
push esi
push 0x40
push edi
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0xc3d2e1f0
call fcn.00457f30
push esi
lea eax, [ebp - 0x14]
push 0x14
push eax
call fcn.00457f30
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00457e20
mov eax, dword [ebp + 0xc]
add esp, 0x20
pop edi
pop esi
test eax, eax
je 0x457bb3
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.005849d0
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x457bc0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + 0x9c]
cmp ecx, 0xffffffff
jne 0x457bd7
or eax, ecx
pop esi
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ecx + edi]
cmp eax, 0x40
jbe 0x457c47
cmp ecx, 0x40
ja 0x457c2b
lea eax, [esi + 0x40]
mov dword [eax + 4], 0
push eax
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
push dword [esi + 0x9c]
push esi
call fcn.00457f30
add esp, 0xc
lea eax, [esi + 0x40]
push eax
push edi
push dword [ebp + 8]
call fcn.00457f30
add dword [esi + 0x9c], edi
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
ret
push edi
push dword [ebp + 8]
lea eax, [ecx + esi]
push eax
call fcn.005849d0
add dword [esi + 0x9c], edi
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x457c70
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
add esi, 0x1c
mov ecx, dword [esi]
lea esi, [esi + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
and ecx, 0xff00ff
and eax, 0xff00ff00
or eax, ecx
mov dword [ebp + edx*4 - 0x150], eax
inc edx
cmp edx, 0x10
jb 0x457c84
lea eax, [ebp - 0x148]
mov edx, 0x40
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x457cb6
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov eax, dword [ecx + 8]
mov esi, eax
mov ebx, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
nop
mov ecx, ebx
mov edx, esi
not ecx
rol esi, 5
and ecx, eax
mov eax, edi
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0xc]
add esi, ecx
add eax, 0x5a827999
mov ecx, dword [ebp - 8]
add esi, dword [ebp + ecx*4 - 0x150]
inc ecx
add esi, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
ror edi, 2
mov ebx, edx
cmp ecx, 0x14
jb 0x457cf0
mov edx, 0x14
xor eax, edi
mov ecx, esi
xor eax, ebx
rol esi, 5
add esi, eax
mov eax, dword [ebp - 0xc]
add esi, dword [ebp + edx*4 - 0x150]
add eax, 0x6ed9eba1
add esi, eax
inc edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
ror edi, 2
mov ebx, ecx
cmp edx, 0x28
jb 0x457d37
mov dword [ebp - 8], 0x28
mov ecx, edi
mov edx, esi
xor ecx, ebx
rol esi, 5
add esi, dword [ebp - 0xc]
and ecx, eax
mov eax, edi
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 8]
add ecx, 0x8f1bbcdc
add ecx, dword [ebp + eax*4 - 0x150]
mov eax, edi
mov edi, ebx
add esi, ecx
mov ecx, dword [ebp - 4]
mov ebx, edx
mov edx, dword [ebp - 8]
inc edx
ror edi, 2
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
cmp edx, 0x3c
jb 0x457d72
mov edx, 0x3c
nop dword [eax + eax]
xor eax, edi
mov dword [ebp - 8], esi
xor eax, ebx
rol esi, 5
add eax, 0xca62c1d6
add esi, ecx
add eax, dword [ebp + edx*4 - 0x150]
inc edx
mov ecx, dword [ebp - 4]
add esi, eax
mov eax, edi
mov edi, ebx
mov ebx, dword [ebp - 8]
ror edi, 2
mov dword [ebp - 4], eax
cmp edx, 0x50
jb 0x457dc0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
add eax, esi
mov ecx, dword [ebp + 8]
add dword [ecx + 0x10], edi
mov dword [ecx + 8], eax
mov eax, ebx
add dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
add dword [ecx + 0x14], eax
mov eax, dword [ebp - 0xc]
add dword [ecx + 0x18], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458150
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x458173
xor al, al
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movzx eax, word [ebp + 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x45816d
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret
Function at 0x45a090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45a09c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0045a0b0
Function at 0x45ba00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x2c]
nop dword [eax]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, esi
sub edx, dword [edi + 0x6c]
mov dword [ebp + 8], edx
cmp dword [edi + 0x6c], eax
jb 0x45ba8f
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.005849d0
mov edx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x45ba5f
sub eax, esi
jmp 0x45ba61
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x45ba50
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x45ba80
sub eax, esi
jmp 0x45ba82
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x45ba71
mov edx, dword [ebp + 8]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x45bb44
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x45babc
xor eax, eax
jmp 0x45bb08
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x45bad9
push ecx
push dword [ebx]
push dword [ebx + 0x30]
call fcn.0045bea0
jmp 0x45bae9
cmp eax, 2
jne 0x45baf2
push ecx
push dword [ebx]
push dword [ebx + 0x30]
call fcn.0045a090
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebx + 0x30], eax
push ecx
push dword [ebx]
push dword [ebp - 4]
call fcn.005849d0
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [ebx], eax
add dword [ebx + 8], eax
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
cmp ebx, 3
jb 0x45bb30
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x45bb44
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x45ba10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret