joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4033
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x68683c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
push eax
call fcn.00471c50
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.SocketParams.0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov word [esi + 0x1c], bx
mov byte [esi + 0x1e], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
call fcn.0044f8c0
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 1
mov word [esi + 0xa4], bx
mov dword [esi + 0xa8], ebx
mov word [esi + 0xac], 1
call fcn.0044f8c0
mov dword [esi + 0x124], ebx
mov ecx, dword [0x677574]
mov dword [esi + 0xa8], ecx
mov byte [esi + 8], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c0830
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret

Function at 0x4c0860
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], vtable._ckMd5.0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret

Function at 0x4c0a60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.0044daa0
push eax
mov ecx, edi
call fcn.0044da90
push eax
mov ecx, esi
call fcn.004c08a0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.004c0990
pop edi
pop esi
pop ebp
ret 8

Function at 0x4c0ac0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.004c08a0
mov edx, dword [ebp + 0x10]
push edx
mov ecx, esi
call fcn.004c0990
pop esi
pop ebp
ret 0xc
Function at 0x4c0b10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
cmp dword [edi + 0x804], ebx
jbe 0x4c0b70
add edi, 4
lea ebx, [ebx]
mov eax, dword [edi + 0x400]
mov ecx, dword [edi]
push eax
push ecx
mov ecx, esi
call fcn.004c08a0
mov edx, dword [ebp + 8]
inc ebx
add edi, 4
cmp ebx, dword [edx + 0x804]
jb 0x4c0b50
mov eax, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.004c0990
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4c0b90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.004078c0
push eax
mov ecx, edi
call fcn.0041b6d0
push eax
mov ecx, esi
call fcn.004c08a0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.004c0990
pop edi
pop esi
pop ebp
ret 8

Function at 0x4c0bf0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
push 0x4e28
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 4], 0x67452301
mov dword [ebx + 8], 0xefcdab89
mov dword [ebx + 0xc], 0x98badcfe
mov dword [ebx + 0x10], 0x10325476
call fcn.00422360
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x4c0c3d
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], edi
mov byte [ebp - 1], 1
call fcn.0046fb70
test al, al
jne 0x4c0cc9
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push edi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push 0x4e20
push esi
call fcn.00470d70
test al, al
je 0x4c0cc9
mov eax, dword [ebp - 8]
test eax, eax
je 0x4c0ca8
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4c0c86
push eax
push esi
call fcn.0041ca10
mov eax, dword [ebp - 8]
push eax
push esi
mov ecx, ebx
call fcn.004c08a0
test edi, edi
je 0x4c0ca8
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
push edx
push 0
push eax
mov ecx, edi
call fcn.0046f020
test al, al
jne 0x4c0cb6
mov ecx, dword [ebp + 8]
call fcn.0046fb70
test al, al
je 0x4c0c53
jmp 0x4c0cc9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.Digest_MD5_aborted_by_application
call eax
mov byte [ebp - 1], 0
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp + 0x14]
add esp, 4
push ecx
mov ecx, ebx
call fcn.004c0990
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4d1930
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0x6119a407
je 0x4d1950
push 0
call fcn.0040b200
add esp, 4
xor eax, eax
pop esi
pop ebp
ret 4
mov ecx, dword [ebp + 8]
call fcn.0044da90
mov edx, eax
movsx ecx, byte [edx]
mov eax, 0x1505
test ecx, ecx
je 0x4d1979
push edi
mov edi, eax
shl edi, 5
inc edx
add edi, ecx
movsx ecx, byte [edx]
add eax, edi
test ecx, ecx
jne 0x4d1967
pop edi
xor edx, edx
div dword [esi + 0xc]
pop esi
mov eax, edx
pop ebp
ret 4
Function at 0x4fc280
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd8b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x68683c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jl 0x4fc2e9
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4fc2e9
mov eax, dword [ebp + 0x14]
push str.getEntropy
push eax
lea ecx, [ebp - 0x18]
call fcn.0045a1b0
mov dword [ebp - 4], 0
xor bl, bl
call fcn.0044d010
mov esi, eax
test esi, esi
jne 0x4fc2fd
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0045a240
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x4fc30f
mov bl, 1
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0045a240
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fddd0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 0x14], 0xefcdab89
mov dword [ecx + 0x18], 0x98badcfe
mov dword [ecx + 0x1c], 0x10325476
mov dword [ecx + 0x20], 0xc3d2e1f0
mov dword [ecx + 0x24], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
Function at 0x500520
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba018
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x68683c]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
xor eax, eax
push 0x40
xor esi, esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x78], vtable._ckSha1.0
call sub.MSVCR100.dll_memset
push 0x4e28
mov dword [ebp - 4], esi
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00422360
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x5005de
xor al, al
jmp 0x50068e
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x79], 1
call fcn.0046fb70
test al, al
jne 0x500671
push ebx
push edi
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x84]
push 0x4e20
push esi
call fcn.00470d70
test al, al
je 0x500671
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x50064e
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x50062e
push eax
push esi
call fcn.0041ca10
mov eax, dword [ebp - 0x80]
push eax
push esi
lea ecx, [ebp - 0x78]
call fcn.004fe3f0
test edi, edi
je 0x50064e
mov edx, dword [ebp - 0x80]
push ebx
push 0
push edx
mov ecx, edi
call fcn.0046f020
test al, al
jne 0x50065f
mov ecx, dword [ebp - 0x84]
call fcn.0046fb70
test al, al
je 0x5005f8
jmp 0x500671
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push str.Digest_SHA1_aborted_by_application
mov ecx, ebx
call edx
mov byte [ebp - 0x79], 0
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x88]
add esp, 4
push 0
push eax
lea ecx, [ebp - 0x78]
call fcn.00500170
mov al, byte [ebp - 0x79]
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.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x500720
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x80
lea eax, [esi + 8]
push ebx
push eax
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
call fcn.00421f20
push 0x40
lea edi, [esi + 0x88]
push ebx
push edi
call fcn.00421f20
push 0x10
lea ebx, [esi + 0xc8]
push 0
push ebx
call fcn.00421f20
mov ecx, dword [ebp + 8]
add esp, 0x24
test ecx, ecx
je 0x500906
cmp ecx, 0x40
ja 0x500906
mov eax, dword [ebp + 0x10]
cmp eax, 0x40
ja 0x500906
mov dword [esi + 0xdc], ecx
mov edx, eax
xor edx, 0x10100
mov dword [edi], 0xf3bcc908
mov dword [edi + 4], 0x6a09e667
mov dword [esi + 0x90], 0x84caa73b
mov dword [esi + 0x94], 0xbb67ae85
mov dword [esi + 0x98], 0xfe94f82b
mov dword [esi + 0x9c], 0x3c6ef372
mov dword [esi + 0xa0], 0x5f1d36f1
mov dword [esi + 0xa4], 0xa54ff53a
mov dword [esi + 0xa8], 0xade682d1
mov dword [esi + 0xac], 0x510e527f
mov dword [esi + 0xb0], 0x2b3e6c1f
mov dword [esi + 0xb4], 0x9b05688c
mov dword [esi + 0xb8], 0xfb41bd6b
mov dword [esi + 0xbc], 0x1f83d9ab
mov dword [esi + 0xc0], 0x137e2179
mov dword [esi + 0xc4], 0x5be0cd19
shl edx, 8
xor edx, ecx
xor dword [edi], edx
xor ecx, ecx
xor dword [edi + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], ecx
mov dword [esi + 0xd8], ecx
cmp eax, 0x80
jae 0x500873
mov edi, 0x80
sub edi, eax
push edi
lea edx, [eax + esi + 8]
push ecx
push edx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0xc
xor ecx, ecx
cmp eax, ecx
jbe 0x5008fd
xor edi, edi
cmp eax, ecx
jbe 0x5008f3
jmp 0x500892
xor ecx, ecx
cmp dword [esi + 0xd8], 0x80
jne 0x5008d8
add dword [ebx], 0x80
adc dword [ebx + 4], ecx
cmp dword [ebx + 4], ecx
ja 0x5008c3
jb 0x5008b6
cmp dword [ebx], 0x80
jae 0x5008c3
add dword [esi + 0xd0], 1
adc dword [esi + 0xd4], ecx
push ecx
mov ecx, esi
call fcn.004feb70
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xd8], 0
mov edx, dword [ebp + 0xc]
mov dl, byte [edi + edx]
mov ecx, dword [esi + 0xd8]
mov byte [esi + ecx + 8], dl
inc dword [esi + 0xd8]
inc edi
cmp edi, eax
jb 0x500890
mov dword [esi + 0xd8], 0x80
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
Function at 0x500a10
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba088
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x68683c]
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 edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x14
mov ecx, edi
call fcn.004209c0
mov ebx, eax
test ebx, ebx
je 0x500ad8
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x78], vtable._ckSha1.0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov ecx, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
call fcn.004078c0
push eax
mov ecx, esi
call fcn.0041b6d0
push eax
lea ecx, [ebp - 0x78]
call fcn.004fe3f0
push 0
push ebx
lea ecx, [ebp - 0x78]
call fcn.00500170
push 0x14
mov ecx, edi
call fcn.0041b6e0
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.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x500b00
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba0c6
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x68683c]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp byte [0x688052], bl
jne 0x500bd6
lea ecx, [ebp - 0x1ac]
call fcn.0046dee0
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 4], ebx
call fcn.0041b9a0
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x1c8]
push ecx
push edx
push esi
push 1
mov byte [ebp - 4], 1
call fcn.004f63f0
add esp, 0x14
lea ecx, [ebp - 0x1c8]
test al, al
je 0x500bbc
push 0x14
call fcn.0041b6d0
push eax
push edi
call fcn.00421f50
add esp, 0xc
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], bl
call fcn.0041c170
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 4], 0xffffffff
call fcn.0046df00
jmp 0x500c40
mov byte [ebp - 4], bl
call fcn.0041c170
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 4], 0xffffffff
call fcn.0046df00
xor eax, eax
push 0x40
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x50]
push ebx
push eax
mov dword [ebp - 0x78], vtable._ckSha1.0
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push ecx
push esi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.004fe3f0
push ebx
push edi
lea ecx, [ebp - 0x78]
call fcn.00500170
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.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x500c60
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x688052], 0
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x70], esi
jne 0x500c9c
push eax
push esi
push 1
push edi
call fcn.004f6150
add esp, 0x10
test al, al
jne 0x500d2e
xor eax, eax
push ebx
push 0x40
xor ebx, ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
push ebx
push eax
mov dword [ebp - 0x6c], vtable._ckSha1.0
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0xc3d2e1f0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
cmp dword [edi + 0x804], ebx
jbe 0x500d23
lea esi, [edi + 4]
lea ecx, [ecx]
mov ecx, dword [esi + 0x400]
mov edx, dword [esi]
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.004fe3f0
inc ebx
add esi, 4
cmp ebx, dword [edi + 0x804]
jb 0x500d00
mov esi, dword [ebp - 0x70]
xor ebx, ebx
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00500170
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret
Function at 0x5028a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
movzx edi, byte [ebp + 0xc]
mov byte [ecx + edi*8 + 0xcf], 0
movzx eax, byte [ecx + 0x198]
mov byte [eax + ecx + 0xd0], 6
or byte [ecx + edi*8 + 0xcf], 0x80
mov dl, byte [ecx + 0x198]
inc dl
movzx esi, dl
lea eax, [edi*8 - 1]
lea ebx, [ecx + 8]
cmp esi, eax
jge 0x5028f3
inc dl
mov byte [esi + ecx + 0xd0], 0
movzx esi, dl
cmp esi, eax
jl 0x5028e2
cmp byte [ebp + 0xc], 0
jbe 0x502917
mov ecx, ebx
jmp 0x502900
mov edx, dword [ecx + 0xc8]
mov eax, dword [ecx + 0xcc]
xor dword [ecx], edx
xor dword [ecx + 4], eax
add ecx, 8
dec edi
jne 0x502900
mov eax, ebx
call fcn.00500d40
mov dl, byte [ebp + 0x10]
test dl, dl
je 0x502939
mov ecx, dword [ebp + 8]
sub eax, ecx
movzx esi, dl
lea ecx, [ecx]
mov dl, byte [eax + ecx]
mov byte [ecx], dl
inc ecx
dec esi
jne 0x502930
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x502940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov cl, byte [esi + 0x198]
push edi
test cl, cl
je 0x5029f8
mov al, byte [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add al, al
add al, al
add al, al
sub al, cl
movzx edi, al
cmp edi, edx
jbe 0x50296d
mov al, dl
mov ebx, dword [ebp + 8]
movzx ecx, cl
xor dl, dl
lea ecx, [ecx + esi + 0xd0]
test al, al
je 0x50299c
movzx eax, al
mov edi, ebx
sub edi, ecx
mov dl, al
lea esp, [esp]
mov bl, byte [edi + ecx]
mov byte [ecx], bl
inc ecx
dec eax
jne 0x502990
mov ebx, dword [ebp + 8]
add byte [esi + 0x198], dl
movzx ecx, byte [ebp + 0x10]
movzx eax, dl
sub dword [ebp + 0xc], eax
add ebx, eax
movzx eax, byte [esi + 0x198]
lea edx, [ecx*8]
cmp eax, edx
jne 0x5029fb
cmp byte [ebp + 0x10], 0
jbe 0x5029e7
lea eax, [esi + 8]
lea esp, [esp]
mov edx, dword [eax + 0xc8]
xor dword [eax], edx
mov edx, dword [eax + 0xcc]
xor dword [eax + 4], edx
add eax, 8
dec ecx
jne 0x5029d0
lea eax, [esi + 8]
call fcn.00500d40
mov byte [esi + 0x198], 0
jmp 0x5029fb
mov ebx, dword [ebp + 8]
movzx edi, byte [ebp + 0x10]
lea eax, [edi*8]
mov dword [ebp + 8], edi
cmp dword [ebp + 0xc], eax
jb 0x502a53
lea eax, [esi + 8]
jmp 0x502a16
mov edi, dword [ebp + 8]
cmp byte [ebp + 0x10], 0
jbe 0x502a36
mov edx, ebx
mov ecx, eax
mov eax, dword [edx]
xor dword [ecx], eax
mov eax, dword [edx + 4]
xor dword [ecx + 4], eax
add edx, 8
add ecx, 8
dec edi
jne 0x502a20
mov edi, dword [ebp + 8]
lea eax, [esi + 8]
call fcn.00500d40
mov edx, dword [ebp + 0xc]
lea ecx, [edi*8]
sub edx, ecx
add ebx, ecx
mov dword [ebp + 0xc], edx
cmp edx, ecx
jae 0x502a13
xor cl, cl
cmp dword [ebp + 0xc], 0
jbe 0x502a74
xor eax, eax
lea ecx, [ecx]
mov dl, byte [eax + ebx]
inc cl
mov byte [eax + esi + 0xd0], dl
movzx eax, cl
cmp eax, dword [ebp + 0xc]
jb 0x502a60
add byte [esi + 0x198], cl
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x503220
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
cmp byte [0x688788], 0
jne 0x50344b
mov eax, 0xff00ff00
mov dword [0x688790], eax
mov dword [0x688794], eax
mov eax, 0xff00ff
mov dword [0x688798], eax
mov dword [0x68879c], eax
mov eax, 0xffff0000
push esi
mov dword [0x6887a0], eax
mov dword [0x6887a4], eax
mov eax, 0xffff
push edi
mov dword [0x6887a8], eax
mov dword [0x6887ac], eax
mov dword [0x6884c8], 0xc1059ed8
mov dword [0x6884cc], 0xcbbb9d5d
mov dword [0x6884d0], 0x367cd507
mov dword [0x6884d4], 0x629a292a
mov dword [0x6884d8], 0x3070dd17
mov dword [0x6884dc], 0x9159015a
mov dword [0x6884e0], 0xf70e5939
mov dword [0x6884e4], 0x152fecd8
mov dword [0x6884e8], 0xffc00b31
mov dword [0x6884ec], 0x67332667
mov dword [0x6884f0], 0x68581511
mov dword [0x6884f4], 0x8eb44a87
mov dword [0x6884f8], 0x64f98fa7
mov dword [0x6884fc], 0xdb0c2e0d
mov dword [0x688500], 0xbefa4fa4
mov dword [0x688504], 0x47b5481d
mov edi, 0x688510
mov esi, 0x61aed8
mov eax, dword [esi - 8]
mov edx, dword [esi - 4]
mov cl, 0x20
call fcn.005a7580
or eax, dword [esi]
or edx, dword [esi + 4]
mov dword [edi - 8], eax
mov eax, dword [esi + 8]
mov dword [edi - 4], edx
mov edx, dword [esi + 0xc]
mov cl, 0x20
call fcn.005a7580
or eax, dword [esi + 0x10]
or edx, dword [esi + 0x14]
mov dword [edi], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 4], edx
mov edx, dword [esi + 0x1c]
mov cl, 0x20
call fcn.005a7580
or eax, dword [esi + 0x20]
or edx, dword [esi + 0x24]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0xc], edx
mov edx, dword [esi + 0x2c]
mov cl, 0x20
call fcn.005a7580
or eax, dword [esi + 0x30]
or edx, dword [esi + 0x34]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x14], edx
mov edx, dword [esi + 0x3c]
mov cl, 0x20
call fcn.005a7580
or eax, dword [esi + 0x40]
or edx, dword [esi + 0x44]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
add esi, 0x50
add edi, 0x28
cmp esi, 0x61b3d8
jl 0x503315
pop edi
mov dword [0x688488], 0xf3bcc908
mov dword [0x68848c], 0x6a09e667
mov dword [0x688490], 0x84caa73b
mov dword [0x688494], 0xbb67ae85
mov dword [0x688498], 0xfe94f82b
mov dword [0x68849c], 0x3c6ef372
mov dword [0x6884a0], 0x5f1d36f1
mov dword [0x6884a4], 0xa54ff53a
mov dword [0x6884a8], 0xade682d1
mov dword [0x6884ac], 0x510e527f
mov dword [0x6884b0], 0x2b3e6c1f
mov dword [0x6884b4], 0x9b05688c
mov dword [0x6884b8], 0xfb41bd6b
mov dword [0x6884bc], 0x1f83d9ab
mov dword [0x6884c0], 0x137e2179
mov dword [0x6884c4], 0x5be0cd19
mov byte [0x688788], 1
pop esi
ret