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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.00663af0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], edx
cmp edx, ebx
je 0x46ed46
mov eax, dword [ebx + 4]
push esi
lea esi, [ecx - 1]
not ecx
shr ecx, 0x1f
shr esi, 0x1f
and esi, ecx
mov ecx, dword [edx + 4]
xor eax, ecx
dec esi
and eax, esi
mov dword [ebp - 0xc], esi
xor ecx, eax
mov dword [edx + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
movd xmm0, esi
and eax, esi
pshufd xmm4, xmm0, 0
xor ecx, eax
mov dword [edx + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, esi
and eax, 4
xor ecx, eax
mov dword [edx + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46ed45
push edi
cmp ecx, 4
jb 0x46ed20
mov esi, dword [edx]
lea edx, [ecx - 1]
mov edi, dword [ebx]
lea edx, [edi + edx*4]
mov dword [ebp + 8], edx
lea edx, [ecx - 1]
lea edx, [esi + edx*4]
mov dword [ebp - 4], edx
cmp edi, edx
mov edx, dword [ebp - 8]
ja 0x46ecb9
cmp dword [ebp + 8], esi
jae 0x46ed20
cmp edi, ebx
ja 0x46ecc2
cmp dword [ebp + 8], ebx
jae 0x46ed20
cmp edi, edx
ja 0x46eccb
cmp dword [ebp + 8], edx
jae 0x46ed20
cmp esi, ebx
ja 0x46ecd4
cmp dword [ebp - 4], ebx
jae 0x46ed20
cmp esi, edx
ja 0x46ecdd
cmp dword [ebp - 4], edx
jae 0x46ed20
mov dword [ebp + 8], ecx
and dword [ebp + 8], 0xfffffffc
movups xmm3, xmmword [edi + eax*4]
movups xmm2, xmmword [esi + eax*4]
movaps xmm1, xmm3
pxor xmm1, xmm2
pand xmm1, xmm4
movaps xmm0, xmm1
pxor xmm1, xmm3
pxor xmm0, xmm2
movups xmmword [esi + eax*4], xmm0
movups xmmword [edi + eax*4], xmm1
add eax, 4
cmp eax, dword [ebp + 8]
jl 0x46ece4
mov dword [ebp + 8], eax
cmp eax, ecx
jge 0x46ed44
nop dword [eax]
mov ecx, dword [edx]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
mov edi, dword [ecx + eax*4]
xor edi, edx
and edi, dword [ebp - 0xc]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
mov edx, dword [ebp - 8]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, dword [ebp + 0xc]
jl 0x46ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4718b0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov eax, dword [ecx + 4]
cmp eax, 0x18
jne 0x4718c1
mov edx, ecx
xor ecx, ecx
jmp fcn.004712e0
cmp eax, 0x17
jne 0x4718cf
mov edx, ecx
xor ecx, ecx
jmp fcn.004712e0
xor eax, eax
ret

Function at 0x4794e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 4
call fcn.00663af0
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [esp + 0xc], esi
call fcn.00479460
test eax, eax
je 0x47954f
cmp eax, 0x74f1f4
je 0x47954f
call fcn.00479460
test eax, eax
je 0x479529
mov eax, dword [eax + 4]
test eax, eax
je 0x479529
push ebx
push esi
call eax
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x64
push 0x3ae
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rand_rand_lib.c
push 0x65
lea ecx, [edx - 0x40]
call fcn.0047b7e0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x4aba80
mov ecx, 0x758258
call fcn.00483560
neg eax
sbb eax, eax
test dword [0x75825c], eax
je 0x479647
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x75824c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x479676
push edi
push edi
xor ecx, ecx
call fcn.00484340
add esp, 8
test eax, eax
je 0x479647
lea ecx, [edi + 1]
call fcn.004835b0
test eax, eax
je 0x479647
mov esi, dword [0x758254]
push esi
push ecx
mov dword [eax + 8], 1
call fcn.004aae10
mov edi, eax
add esp, 8
test edi, edi
je 0x479639
test esi, esi
jne 0x479650
cmp dword [edi + 0x64], esi
je 0x4795e9
mov eax, 0x81
mov ecx, 0x336
jmp 0x47961b
cmp dword [edi], 0
jne 0x479650
mov eax, dword [edi + 4]
test eax, eax
je 0x479606
cmp dword [eax], 0
jne 0x479606
mov eax, 0x82
mov ecx, 0x33d
jmp 0x47961b
call fcn.00483510
mov dword [edi], eax
test eax, eax
jne 0x479650
mov eax, 0x7e
mov ecx, 0x344
push ecx
mov edx, 0x77
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_randdrbg_lib.c
push eax
lea ecx, [edx - 0x53]
call fcn.0047b7e0
add esp, 0xc
mov ecx, edi
call fcn.004aaf40
push 0
push dword [0x75824c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov dword [edi + 0x58], 1
mov ecx, edi
mov dword [edi + 0x5c], 1
call fcn.004ab000
add esp, 4
push edi
push dword [0x75824c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.004ab890
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47bee0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 8
call fcn.00663af0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call esi
push 0
push 0x40000
xor ecx, ecx
mov dword [esp + 0x14], eax
call fcn.00484340
add esp, 8
test eax, eax
je 0x47c006
mov edx, 0x47beb0
mov ecx, 0x757a78
call fcn.00483560
neg eax
sbb eax, eax
test dword [0x757a6c], eax
je 0x47c006
call esi
push dword [0x757e84]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0xffffffff
je 0x47c006
test edi, edi
jne 0x47bfe3
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xffffffffffffffff
push dword [0x757e84]
call esi
test eax, eax
je 0x47c006
push 0x188
mov dword [0x74f4ac], edi
call fcn.0066dc36
mov edi, eax
add esp, 4
test edi, edi
je 0x47bffc
push 0x188
push 0
push edi
call fcn.00667150
add esp, 0xc
xor ecx, ecx
push 0
push 0
call fcn.00484340
add esp, 8
test eax, eax
je 0x47bff5
mov ecx, 1
call fcn.004835b0
test eax, eax
je 0x47bff5
push edi
mov dword [eax + 4], 1
push dword [0x757e84]
call esi
test eax, eax
je 0x47bff5
push 0
push 2
xor ecx, ecx
call fcn.00484340
add esp, 8
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0047b400
push 0
push dword [0x757e84]
call esi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x481480
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x10]
push eax
call fcn.00667150
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x4835b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x74f72c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x48361e
test ebx, ebx
jne 0x48362c
push 0xc
mov dword [0x74f4ac], ebx
call fcn.0066dc36
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48362c
xorps xmm0, xmm0
movq qword [ebx], xmm0
push ebx
mov dword [ebx + 8], 0
push dword [0x74f72c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x48362c
push ebx
call fcn.0066a657
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push dword [0x74f72c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x483c40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
je 0x483d10
cmp dword [ebx], 0
je 0x483c55
call fcn.004b6900
cmp dword [ebx + 4], 0
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
je 0x483ca3
call ecx
push dword [0x757e84]
mov esi, eax
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x483c97
push 0
push dword [0x757e84]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, edi
call fcn.0047b400
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx + 8], 0
je 0x483d05
call ecx
push dword [0x758250]
mov esi, eax
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push dword [0x758250]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, edi
call fcn.004aaf40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x75824c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push dword [0x75824c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, edi
call fcn.004aaf40
push ebx
call fcn.0066a657
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x485360
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2c
call fcn.00663af0
mov eax, dword [0x74e694]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 8], eax
mov eax, esi
mov dword [esp + 0xc], edx
push edi
sub eax, 0
je 0x4853d2
sub eax, 2
je 0x4853d2
sub eax, 0x15
je 0x4853d2
mov edx, 0x8f
push 0x297
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_addr.c
push 0x83
lea ecx, [edx - 0x6f]
call fcn.0047b7e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
call fcn.00485500
cmp eax, 1
jne 0x4853be
xor eax, eax
mov dword [esp + 0x18], esi
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
xor edi, edi
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x485414
test esi, esi
jne 0x485414
or eax, 0x400
mov dword [esp + 0x14], eax
push dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
je 0x48546c
nop
cmp esi, 8
je 0x4854c7
mov eax, dword [esp + 0x14]
test eax, 0x400
je 0x485483
push dword [esp + 0xc]
and eax, 0xfffffbff
mov edi, esi
or eax, 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x485430
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
mov edx, 0x8f
push 0x2da
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_addr.c
push 2
lea ecx, [edx - 0x6f]
call fcn.0047b7e0
test edi, edi
cmovne esi, edi
mov ecx, esi
call fcn.00484e80
push eax
push 1
call fcn.0047c060
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00663ada
mov esp, ebp
pop ebp
ret
mov edx, 0x8f
push 0x2cb
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_addr.c
push 0x41
lea ecx, [edx - 0x6f]
call fcn.0047b7e0
mov ecx, dword [esp + 0x40]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00663ada
mov esp, ebp
pop ebp
ret

Function at 0x485500
Capabilities:
Initialize winsock library

Disassembly:
cmp dword [0x757fd0], 0
jne 0x485579
push 0x190
push 0
push 0x757fd8
mov dword [0x757fd0], 1
call fcn.00667150
add esp, 0xc
push 0x757fd8
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x485579
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 9
push 0x87
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock.c
push eax
lea ecx, [edx - 7]
call fcn.0047b7e0
mov edx, 0x70
push 0x88
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock.c
push 0x7a
lea ecx, [edx - 0x50]
call fcn.0047b7e0
add esp, 0x18
or eax, 0xffffffff
ret
mov eax, 1
ret
Function at 0x487a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00663af0
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 4]
cmp eax, 0x1e
ja 0x487b8e
test dword [eax*4 + 0x6e24e8], 0x2956
je 0x487b8e
lea eax, [ebx + 8]
mov dword [ebx + 4], 0xc
push esi
push eax
mov dword [ebp - 0xc], eax
call fcn.004711c0
mov edi, eax
add esp, 8
mov dword [ebx], edi
cmp edi, 0xffffffff
je 0x487ba2
mov ebx, dword [ebx + 8]
mov ecx, ebx
test edi, edi
jle 0x487aef
movzx eax, byte [ecx]
cmp eax, 0x80
jae 0x487acb
test byte [eax*2 + 0x6e1fa8], 8
je 0x487acb
dec edi
inc ecx
test edi, edi
jg 0x487ab1
test edi, edi
jle 0x487aef
lea eax, [ecx - 1]
add eax, edi
movzx edx, byte [eax]
cmp edx, 0x80
jae 0x487aef
test byte [edx*2 + 0x6e1fa8], 8
je 0x487aef
dec edi
dec eax
test edi, edi
jg 0x487ad4
xor esi, esi
mov eax, ebx
test edi, edi
jle 0x487b7b
nop dword [eax + eax]
mov dl, byte [ecx]
movzx eax, dl
mov byte [ebp - 1], dl
test eax, 0xffffff80
jne 0x487b6d
cmp eax, 0x80
jae 0x487b54
test byte [eax*2 + 0x6e1fa8], 8
je 0x487b3c
mov byte [ebx], 0x20
movzx eax, byte [ecx + 1]
inc ecx
inc esi
cmp eax, 0x80
jae 0x487b71
test byte [eax*2 + 0x6e1fa8], 8
jne 0x487b23
jmp 0x487b71
cmp eax, 0x80
jae 0x487b54
test byte [eax*2 + 0x6e1fa8], 2
mov dword [ebp - 8], 1
jne 0x487b5b
mov dword [ebp - 8], 0
mov al, dl
xor al, 0x20
cmp dword [ebp - 8], 0
movzx edx, al
movzx eax, byte [ebp - 1]
cmove edx, eax
inc ecx
mov byte [ebx], dl
inc esi
inc ebx
cmp esi, edi
jl 0x487b00
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
sub ebx, eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword [eax], ebx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 4], eax
push dword [esi]
mov edx, dword [esi + 8]
call fcn.0046f9a0
add esp, 4
test eax, eax
jne 0x487bab
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
and dword [ebx + 0xc], 0x80
mov eax, dword [esi + 0xc]
pop edi
and eax, 0xffffff7f
or dword [ebx + 0xc], eax
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48eaa0
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, ecx
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.00667150
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov eax, 1
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
ret

Function at 0x48eb00
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.00667150
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
ret

Function at 0x48ef40
Capabilities:
Hash data using sha224

Disassembly:
mov dword [ecx], 0xc1059ed8
mov eax, 1
mov dword [ecx + 4], 0xcbbb9d5d
mov dword [ecx + 8], 0x367cd507
mov dword [ecx + 0xc], 0x629a292a
mov dword [ecx + 0x10], 0x3070dd17
mov dword [ecx + 0x14], 0x9159015a
mov dword [ecx + 0x18], 0xf70e5939
mov dword [ecx + 0x1c], 0x152fecd8
mov dword [ecx + 0x20], 0xffc00b31
mov dword [ecx + 0x24], 0x67332667
mov dword [ecx + 0x28], 0x68581511
mov dword [ecx + 0x2c], 0x8eb44a87
mov dword [ecx + 0x30], 0x64f98fa7
mov dword [ecx + 0x34], 0xdb0c2e0d
mov dword [ecx + 0x38], 0xbefa4fa4
mov dword [ecx + 0x3c], 0x47b5481d
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0xd0], 0
mov dword [ecx + 0xd4], 0x30
ret

Function at 0x48eff0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], 0xf3bcc908
mov eax, 1
mov dword [ecx + 4], 0x6a09e667
mov dword [ecx + 8], 0x84caa73b
mov dword [ecx + 0xc], 0xbb67ae85
mov dword [ecx + 0x10], 0xfe94f82b
mov dword [ecx + 0x14], 0x3c6ef372
mov dword [ecx + 0x18], 0x5f1d36f1
mov dword [ecx + 0x1c], 0xa54ff53a
mov dword [ecx + 0x20], 0xade682d1
mov dword [ecx + 0x24], 0x510e527f
mov dword [ecx + 0x28], 0x2b3e6c1f
mov dword [ecx + 0x2c], 0x9b05688c
mov dword [ecx + 0x30], 0xfb41bd6b
mov dword [ecx + 0x34], 0x1f83d9ab
mov dword [ecx + 0x38], 0x137e2179
mov dword [ecx + 0x3c], 0x5be0cd19
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0xd0], 0
mov dword [ecx + 0xd4], 0x40
ret

Function at 0x48fb70
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
push 0x4c
push 0
lea eax, [esi + 0x14]
push eax
call fcn.00667150
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
ret
Function at 0x4aabb0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00479220
mov edi, eax
test edi, edi
je 0x4aac7a
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 4]
cmp edi, edx
jbe 0x4aabef
push 0x30d
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rand_rand_lib.c
push 0x7d
mov edx, 0x71
lea ecx, [edx - 0x4d]
call fcn.0047b7e0
add esp, 0xc
jmp 0x4aac7a
cmp dword [esi], 0
jne 0x4aac02
push 0x312
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rand_rand_lib.c
push 0x44
jmp 0x4aabda
mov edx, edi
mov ecx, esi
call fcn.004790f0
test eax, eax
je 0x4aac7a
mov eax, dword [esi + 4]
add eax, dword [esi]
je 0x4aac7a
push 2
push edi
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov ecx, dword [esi + 4]
test eax, eax
mov eax, dword [esi + 0x18]
cmove ebx, edi
sub eax, ecx
cmp ebx, eax
jbe 0x4aac52
mov edx, 0x72
push 0x331
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rand_rand_lib.c
push 0x7d
lea ecx, [edx - 0x4e]
call fcn.0047b7e0
add esp, 0xc
jmp 0x4aac66
test ebx, ebx
je 0x4aac66
lea eax, [ecx + ebx]
mov dword [esi + 4], eax
lea eax, [ebx*8]
add dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x20]
jb 0x4aac8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0x10]
jb 0x4aac8a
test eax, eax
jne 0x4aac8e
mov ecx, dword [esi + 0x1c]
cmp ecx, dword [esi + 0x20]
jb 0x4aac8a
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x10]
jae 0x4aac8c
xor ecx, ecx
mov eax, ecx
pop edi
pop esi
pop ebx
ret

Function at 0x4ae6c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00663af0
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
je 0x4ae740
mov cl, byte [edi]
test cl, cl
je 0x4ae740
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [ebp - 4]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [ebp - 4], eax
test cl, cl
jne 0x4ae6f0
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4b6300
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.00663af0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
call ebx
push dword [0x75827c]
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
call eax
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov dword [ebp - 8], eax
call eax
test edi, edi
jne 0x4b6448
push edi
push 0x100
xor ecx, ecx
call fcn.00484340
add esp, 8
test eax, eax
je 0x4b64b4
push edi
push edi
xor ecx, ecx
call fcn.00484340
add esp, 8
test eax, eax
je 0x4b64b4
lea ecx, [edi + 1]
call fcn.004835b0
test eax, eax
je 0x4b64b4
push 0xc
mov dword [eax], 1
mov dword [0x74f4ac], edi
call fcn.0066dc36
mov esi, eax
add esp, 4
test esi, esi
je 0x4b64f1
xorps xmm0, xmm0
mov dword [0x74f4ac], edi
movq qword [esi], xmm0
push 0x14
mov dword [esi + 8], edi
call fcn.0066dc36
add esp, 4
test eax, eax
je 0x4b64bd
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
push esi
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], edi
push dword [0x75827c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4b6435
push 0x16d
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_async_async.c
push 0x65
lea edx, [edi + 0x65]
lea ecx, [edi + 0x33]
call fcn.0047b7e0
add esp, 0xc
mov ecx, esi
call fcn.004b68b0
mov edi, dword [esi]
test edi, edi
je 0x4b64ab
push dword [edi + 4]
call fcn.0066a657
add esp, 4
push edi
call fcn.0066a657
add esp, 4
push esi
call fcn.0066a657
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
push dword [0x75827c]
mov esi, eax
call dword [ebp - 4]
push esi
mov edi, eax
call dword [ebp - 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4b6468
mov edx, dword [ecx]
test edx, edx
je 0x4b6468
mov eax, dword [ecx + 4]
mov esi, dword [eax + edx*4 - 4]
lea eax, [edx - 1]
mov dword [ecx], eax
test esi, esi
jne 0x4b6519
mov eax, dword [edi + 8]
test eax, eax
je 0x4b6474
cmp dword [edi + 4], eax
jae 0x4b64b4
call fcn.004b62b0
mov esi, eax
test esi, esi
je 0x4b6519
push 0
push 0x4ee7f0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFiber]
mov dword [esi], eax
test eax, eax
jne 0x4b6516
push dword [esi + 0xc]
call fcn.0066a657
add esp, 4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
push esi
call fcn.0066a657
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x65
mov dword [esi], 0
push 0x154
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_async_async.c
push 0x41
lea ecx, [edx - 0x32]
call fcn.0047b7e0
add esp, 0xc
push esi
call fcn.0066a657
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x65
push 0x14e
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_async_async.c
push 0x41
lea ecx, [edx - 0x32]
call fcn.0047b7e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [edi + 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6530
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x75827c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebx + 0xc]
call fcn.0066a657
mov dword [ebx + 0xc], 0
add esp, 4
mov ecx, dword [edi]
test ecx, ecx
je 0x4b6576
push dword [ecx]
mov edx, ebx
call fcn.0046a260
add esp, 4
pop edi
pop esi
pop ebx
ret