joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bce0
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.00626ba0
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.00484170
add esp, 8
test eax, eax
je 0x47be06
mov edx, 0x47bcb0
mov ecx, 0x7138c8
call fcn.00483380
neg eax
sbb eax, eax
test dword [0x7138bc], eax
je 0x47be06
call esi
push dword [0x713cd4]
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 0x47be06
test edi, edi
jne 0x47bde3
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xffffffffffffffff
push dword [0x713cd4]
call esi
test eax, eax
je 0x47be06
push 0x188
mov dword [0x70b32c], edi
call fcn.00630d7d
mov edi, eax
add esp, 4
test edi, edi
je 0x47bdfc
push 0x188
push 0
push edi
call fcn.00629cd0
add esp, 0xc
xor ecx, ecx
push 0
push 0
call fcn.00484170
add esp, 8
test eax, eax
je 0x47bdf5
mov ecx, 1
call fcn.004833d0
test eax, eax
je 0x47bdf5
push edi
mov dword [eax + 4], 1
push dword [0x713cd4]
call esi
test eax, eax
je 0x47bdf5
push 0
push 2
xor ecx, ecx
call fcn.00484170
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.0047b200
push 0
push dword [0x713cd4]
call esi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x481290
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.00629cd0
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 0x4833d0
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 [0x70b5ac]
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 0x48343e
test ebx, ebx
jne 0x48344c
push 0xc
mov dword [0x70b32c], ebx
call fcn.00630d7d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48344c
xorps xmm0, xmm0
movq qword [ebx], xmm0
push ebx
mov dword [ebx + 8], 0
push dword [0x70b5ac]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x48344c
push ebx
call fcn.0062d677
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push dword [0x70b5ac]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
mov eax, ebx
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
je 0x483b30
cmp dword [ebx], 0
je 0x483a75
call fcn.004b6720
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 0x483ac3
call ecx
push dword [0x713cd4]
mov esi, eax
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x483ab7
push 0
push dword [0x713cd4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, edi
call fcn.0047b200
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx + 8], 0
je 0x483b25
call ecx
push dword [0x7140a0]
mov esi, eax
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push dword [0x7140a0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, edi
call fcn.004aad70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x71409c]
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 [0x71409c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, edi
call fcn.004aad70
push ebx
call fcn.0062d677
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x485190
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2c
call fcn.00626ba0
mov eax, dword [0x70a514]
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 0x485202
sub eax, 2
je 0x485202
sub eax, 0x15
je 0x485202
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.0047b5e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
call fcn.00485330
cmp eax, 1
jne 0x4851ee
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 0x485244
test esi, esi
jne 0x485244
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 0x48529c
nop
cmp esi, 8
je 0x4852f7
mov eax, dword [esp + 0x14]
test eax, 0x400
je 0x4852b3
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 0x485260
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00626a7a
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.0047b5e0
test edi, edi
cmovne esi, edi
mov ecx, esi
call fcn.00484cb0
push eax
push 1
call fcn.0047be60
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00626a7a
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.0047b5e0
mov ecx, dword [esp + 0x40]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret

Function at 0x485330
Capabilities:
Initialize winsock library

Disassembly:
cmp dword [0x713e20], 0
jne 0x4853a9
push 0x190
push 0
push 0x713e28
mov dword [0x713e20], 1
call fcn.00629cd0
add esp, 0xc
push 0x713e28
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4853a9
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.0047b5e0
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.0047b5e0
add esp, 0x18
or eax, 0xffffffff
ret
mov eax, 1
ret
Function at 0x487880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00626ba0
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 0x4879be
test dword [eax*4 + 0x6a0b88], 0x2956
je 0x4879be
lea eax, [ebx + 8]
mov dword [ebx + 4], 0xc
push esi
push eax
mov dword [ebp - 0xc], eax
call fcn.00470fd0
mov edi, eax
add esp, 8
mov dword [ebx], edi
cmp edi, 0xffffffff
je 0x4879d2
mov ebx, dword [ebx + 8]
mov ecx, ebx
test edi, edi
jle 0x48791f
movzx eax, byte [ecx]
cmp eax, 0x80
jae 0x4878fb
test byte [eax*2 + 0x6a0648], 8
je 0x4878fb
dec edi
inc ecx
test edi, edi
jg 0x4878e1
test edi, edi
jle 0x48791f
lea eax, [ecx - 1]
add eax, edi
movzx edx, byte [eax]
cmp edx, 0x80
jae 0x48791f
test byte [edx*2 + 0x6a0648], 8
je 0x48791f
dec edi
dec eax
test edi, edi
jg 0x487904
xor esi, esi
mov eax, ebx
test edi, edi
jle 0x4879ab
nop dword [eax + eax]
mov dl, byte [ecx]
movzx eax, dl
mov byte [ebp - 1], dl
test eax, 0xffffff80
jne 0x48799d
cmp eax, 0x80
jae 0x487984
test byte [eax*2 + 0x6a0648], 8
je 0x48796c
mov byte [ebx], 0x20
movzx eax, byte [ecx + 1]
inc ecx
inc esi
cmp eax, 0x80
jae 0x4879a1
test byte [eax*2 + 0x6a0648], 8
jne 0x487953
jmp 0x4879a1
cmp eax, 0x80
jae 0x487984
test byte [eax*2 + 0x6a0648], 2
mov dword [ebp - 8], 1
jne 0x48798b
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 0x487930
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.0046f7b0
add esp, 4
test eax, eax
jne 0x4879db
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 0x48e8f0
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, ecx
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.00629cd0
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 0x48e950
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.00629cd0
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 0x48ed90
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 0x48ee40
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 0x48f9c0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
push 0x4c
push 0
lea eax, [esi + 0x14]
push eax
call fcn.00629cd0
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 0x4a5f60
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov cl, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
add ebx, esi
movzx eax, cl
and eax, 1
push edi
lea edi, [esi + edx]
test esi, esi
je 0x4a5f9e
nop dword [eax]
movzx edx, byte [edi - 1]
lea edi, [edi - 1]
movzx ecx, cl
lea ebx, [ebx - 1]
xor edx, ecx
mov cl, byte [ebp + 0xc]
add eax, edx
mov byte [ebx], al
shr eax, 8
sub esi, 1
jne 0x4a5f80
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4aa9e0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00479020
mov edi, eax
test edi, edi
je 0x4aaaaa
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 4]
cmp edi, edx
jbe 0x4aaa1f
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.0047b5e0
add esp, 0xc
jmp 0x4aaaaa
cmp dword [esi], 0
jne 0x4aaa32
push 0x312
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rand_rand_lib.c
push 0x44
jmp 0x4aaa0a
mov edx, edi
mov ecx, esi
call fcn.00478ef0
test eax, eax
je 0x4aaaaa
mov eax, dword [esi + 4]
add eax, dword [esi]
je 0x4aaaaa
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 0x4aaa82
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.0047b5e0
add esp, 0xc
jmp 0x4aaa96
test ebx, ebx
je 0x4aaa96
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 0x4aaaba
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0x10]
jb 0x4aaaba
test eax, eax
jne 0x4aaabe
mov ecx, dword [esi + 0x1c]
cmp ecx, dword [esi + 0x20]
jb 0x4aaaba
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x10]
jae 0x4aaabc
xor ecx, ecx
mov eax, ecx
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00626ba0
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
je 0x4ae570
mov cl, byte [edi]
test cl, cl
je 0x4ae570
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 0x4ae520
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 0x4b6120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.00626ba0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
call ebx
push dword [0x7140cc]
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 0x4b6268
push edi
push 0x100
xor ecx, ecx
call fcn.00484170
add esp, 8
test eax, eax
je 0x4b62d4
push edi
push edi
xor ecx, ecx
call fcn.00484170
add esp, 8
test eax, eax
je 0x4b62d4
lea ecx, [edi + 1]
call fcn.004833d0
test eax, eax
je 0x4b62d4
push 0xc
mov dword [eax], 1
mov dword [0x70b32c], edi
call fcn.00630d7d
mov esi, eax
add esp, 4
test esi, esi
je 0x4b6311
xorps xmm0, xmm0
mov dword [0x70b32c], edi
movq qword [esi], xmm0
push 0x14
mov dword [esi + 8], edi
call fcn.00630d7d
add esp, 4
test eax, eax
je 0x4b62dd
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 [0x7140cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4b6255
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.0047b5e0
add esp, 0xc
mov ecx, esi
call fcn.004b66d0
mov edi, dword [esi]
test edi, edi
je 0x4b62cb
push dword [edi + 4]
call fcn.0062d677
add esp, 4
push edi
call fcn.0062d677
add esp, 4
push esi
call fcn.0062d677
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
push dword [0x7140cc]
mov esi, eax
call dword [ebp - 4]
push esi
mov edi, eax
call dword [ebp - 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4b6288
mov edx, dword [ecx]
test edx, edx
je 0x4b6288
mov eax, dword [ecx + 4]
mov esi, dword [eax + edx*4 - 4]
lea eax, [edx - 1]
mov dword [ecx], eax
test esi, esi
jne 0x4b6339
mov eax, dword [edi + 8]
test eax, eax
je 0x4b6294
cmp dword [edi + 4], eax
jae 0x4b62d4
call fcn.004b60d0
mov esi, eax
test esi, esi
je 0x4b6339
push 0
push 0x4ee5e0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFiber]
mov dword [esi], eax
test eax, eax
jne 0x4b6336
push dword [esi + 0xc]
call fcn.0062d677
add esp, 4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
push esi
call fcn.0062d677
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.0047b5e0
add esp, 0xc
push esi
call fcn.0062d677
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.0047b5e0
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 0x4b6350
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 [0x7140cc]
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.0062d677
mov dword [ebx + 0xc], 0
add esp, 4
mov ecx, dword [edi]
test ecx, ecx
je 0x4b6396
push dword [ecx]
mov edx, ebx
call fcn.0046a070
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b6720
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
call ebx
push dword [0x7140cc]
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
je 0x4b677b
mov ecx, edi
call fcn.004b66d0
mov esi, dword [edi]
test esi, esi
je 0x4b6764
push dword [esi + 4]
call fcn.0062d677
push esi
call fcn.0062d677
add esp, 8
push edi
call fcn.0062d677
add esp, 4
push 0
push dword [0x7140cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
call ebx
push dword [0x7140c8]
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
je 0x4b67af
cmp dword [edi], 0
je 0x4b67af
cmp dword [edi + 4], 0
je 0x4b67af
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
mov dword [edi], 0
call ebx
push dword [0x7140c8]
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 [0x7140c8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4b67e3
push edi
call fcn.0062d677
add esp, 4
pop edi
pop esi
pop ebx
ret

Function at 0x4b67f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push 0
push 0x100
xor ecx, ecx
call fcn.00484170
add esp, 8
test eax, eax
je 0x4b6837
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x7140c8]
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
je 0x4b6837
mov eax, dword [edi + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bd1e0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 1
cmp esi, 0xffffffff
jne 0x4bd236
push 0x52
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
push 0x87
mov edx, 0x8a
lea ecx, [esi + 0x21]
call fcn.0047b5e0
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
shr eax, 3
and eax, 1
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jns 0x4bd28e
push 0xc3
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 5
push eax
lea ecx, [edx - 3]
call fcn.0047b5e0
add esp, 0xc
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
jne 0x4bd27b
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
test bl, 4
je 0x4bd2db
push 4
lea eax, [ebp - 8]
push eax
push 8
push 0xffff
push esi
call edi
test eax, eax
je 0x4bd2db
push 0x5c
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 0xe
push eax
lea ecx, [edx - 0xc]
call fcn.0047b5e0
push 0x5d
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
push 0x89
jmp 0x4bd36e
test bl, 0x10
je 0x4bd31a
push 4
lea eax, [ebp - 8]
push eax
push 1
push 6
push esi
call edi
test eax, eax
je 0x4bd31a
push 0x65
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 0xe
push eax
lea ecx, [edx - 0xc]
call fcn.0047b5e0
push 0x66
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
push 0x8a
jmp 0x4bd36e
mov edx, dword [ebp - 0x10]
mov edi, 0x10
mov eax, 0x1c
cmp word [edx], 2
cmove eax, edi
push eax
push edx
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4bd391
or ecx, eax
call fcn.004bd630
test eax, eax
jne 0x4bd27b
push 0x6e
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 2
push eax
mov ecx, edx
call fcn.0047b5e0
push 0x6f
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
push 0x67
mov edx, 0x8a
lea ecx, [edx - 0x6a]
call fcn.0047b5e0
add esp, 0x18
xor eax, eax
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00626a7a
mov esp, ebp
pop ebp
ret