joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ceb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6555d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea ecx, [esp + 4]
call fcn.004dfe70
mov ecx, dword [esp + 0x30]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0x30], 0
call fcn.00553d90
add esp, 8
lea ecx, [esp + 4]
call fcn.005a8750
cmp eax, 0x20
jbe 0x5ceb7b
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.004e0890
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ecx, [esp + 4]
mov byte [esp + 3], 0
call fcn.005a8750
cmp eax, 0x20
jae 0x5cebac
lea edx, [esp + 3]
push 1
push edx
lea ecx, [esp + 0xc]
call fcn.004e0f50
lea ecx, [esp + 4]
call fcn.005a8750
cmp eax, 0x20
jb 0x5ceb8e
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.004e0070
lea ecx, [esp + 0xc]
call fcn.004dda10
mov edi, dword [esp + 0x3c]
mov ecx, 8
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc]
call fcn.004e0890
mov ecx, dword [esp + 0x28]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x5cec00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6555f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
lea ecx, [esp + 4]
call fcn.004dfe70
mov eax, dword [esp + 0x30]
push 0x20
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004e1260
lea ecx, [esp + 4]
call fcn.004e0070
push 0x20
lea ecx, [esp + 8]
call fcn.004dda10
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.00553320
add esp, 0xc
lea ecx, [esp + 4]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
call fcn.004e0890
mov ecx, dword [esp + 0x20]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x5d4220
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, ecx
push ebx
push esi
xor ecx, ecx
push edi
sub edx, eax
mov esi, 8
mov edi, dword [edx + eax]
mov ebx, dword [eax]
xor edi, ebx
add eax, 4
or ecx, edi
dec esi
jne 0x5d4232
xor eax, eax
pop edi
test ecx, ecx
pop esi
pop ebx
sete al
ret 4
Function at 0x5da3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x656198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
lea ecx, [esp + 8]
call fcn.004dfe70
mov ecx, dword [esp + 0x34]
lea eax, [esp + 8]
push eax
mov dword [esp + 0x30], 0
call fcn.00625d40
test al, al
jne 0x5da451
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004e0890
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 8]
call fcn.005a8750
mov edi, dword [esp + 0x38]
mov esi, eax
push edi
push esi
call fcn.005da3a0
add esp, 8
test esi, esi
jne 0x5da492
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004e0890
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push ebx
push esi
lea ecx, [esp + 0x10]
call fcn.004dda10
push eax
mov ecx, edi
call fcn.004e1260
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.004e0890
mov ecx, dword [esp + 0x28]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x5dd240
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65631b
push eax
mov eax, dword [esp + 0x24]
mov dword fs:[0], esp
sub esp, 0xa54
test eax, eax
jne 0x5dd27a
xor al, al
mov ecx, dword [esp + 0xa54]
mov dword fs:[0], ecx
add esp, 0xa60
ret
push ebx
push ebp
mov ebp, dword [esp + 0xa7c]
push esi
cmp ebp, 3
push edi
mov ebx, 0x40
je 0x5dd294
cmp ebp, 2
jne 0x5dd299
mov ebx, 0x80
push ebp
call fcn.0055d340
mov edx, dword [esp + 0xa84]
add esp, 4
mov esi, eax
cmp edx, ebx
mov dword [esp + 0x10], esi
jle 0x5dd2e3
mov ecx, dword [esp + 0xa7c]
lea eax, [esp + 0x15c]
push eax
push ebp
push edx
push ecx
call fcn.0055d6f0
lea edx, [esp + 0x16c]
add esp, 0x10
mov dword [esp + 0xa7c], edx
cmp esi, ebx
mov edx, esi
jle 0x5dd2e3
mov edx, ebx
mov ecx, ebx
xor eax, eax
mov esi, ecx
lea edi, [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebx
xor eax, eax
lea edi, [esp + 0x98]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0xa7c]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
lea edi, [esp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa7c]
mov ecx, edx
lea edi, [esp + 0x98]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jle 0x5dd36e
mov dl, byte [esp + eax + 0x14]
mov cl, byte [esp + eax + 0x98]
xor dl, 0x36
xor cl, 0x5c
mov byte [esp + eax + 0x14], dl
mov byte [esp + eax + 0x98], cl
inc eax
cmp eax, ebx
jl 0x5dd34d
lea ecx, [esp + 0x25c]
call fcn.004e07d0
mov ecx, dword [esp + 0xa74]
mov edx, dword [esp + 0xa78]
lea eax, [esp + 0x14]
mov dword [esp + 0x264], ecx
mov dword [esp + 0x260], eax
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x260]
push ebp
push ecx
mov dword [esp + 0xa78], 0
mov dword [esp + 0xa6c], 2
mov dword [esp + 0x66c], ebx
mov dword [esp + 0x670], edx
call fcn.0055d4e0
mov ecx, ebx
lea esi, [esp + 0xa4]
mov edx, ecx
lea edi, [esp + 0x1a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esi, [esp + 0x128]
mov edx, ecx
lea edi, [esp + ebx + 0x1a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add eax, ebx
and ecx, 3
lea edx, [esp + 0x1a8]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa94]
push ecx
push ebp
push eax
push edx
call fcn.0055d6f0
add esp, 0x1c
lea ecx, [esp + 0x25c]
mov dword [esp + 0xa6c], 0xffffffff
call fcn.004e0810
mov ecx, dword [esp + 0xa64]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xa60
ret
Function at 0x5dd470
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x24c
test eax, eax
jne 0x5dd487
xor al, al
add esp, 0x24c
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x26c]
mov ebx, 0x40
cmp edi, 3
je 0x5dd4a1
cmp edi, 2
jne 0x5dd4a6
mov ebx, 0x80
push edi
call fcn.0055d340
mov edx, dword [esp + 0x26c]
add esp, 4
mov esi, eax
cmp edx, ebx
mov dword [esp + 0x10], esi
jle 0x5dd4eb
mov ecx, dword [esp + 0x264]
lea eax, [esp + 0x15c]
push eax
push edi
push edx
push ecx
call fcn.0055d6f0
add esp, 0x10
cmp esi, ebx
lea ebp, [esp + 0x15c]
mov edx, esi
jle 0x5dd4f2
mov edx, ebx
jmp 0x5dd4f2
mov ebp, dword [esp + 0x264]
mov ecx, ebx
xor eax, eax
mov esi, ecx
lea edi, [esp + 0x98]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebx
xor eax, eax
lea edi, [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
lea edi, [esp + 0x98]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov esi, ebp
lea edi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jle 0x5dd573
mov dl, byte [esp + eax + 0x98]
mov cl, byte [esp + eax + 0x14]
xor dl, 0x36
xor cl, 0x5c
mov byte [esp + eax + 0x98], dl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, ebx
jl 0x5dd552
mov ebp, dword [esp + 0x26c]
mov eax, dword [esp + 0x260]
lea edx, [esp + 0x11c]
lea ecx, [esp + 0x98]
push edx
push ebp
push eax
mov dword [eax + 4], ecx
mov dword [eax + 0x404], ebx
call fcn.0055d4e0
mov ecx, ebx
lea esi, [esp + 0x20]
mov eax, ecx
lea edi, [esp + 0x1a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esi, [esp + 0x128]
mov edx, ecx
lea edi, [esp + ebx + 0x1a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add eax, ebx
and ecx, 3
lea edx, [esp + 0x1a8]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x27c]
push ecx
push ebp
push eax
push edx
call fcn.0055d6f0
add esp, 0x1c
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret

Function at 0x5dd860
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0x67452301
mov dword [ecx + 8], eax
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 + 0xc], eax
ret
Function at 0x5df270
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x656568
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
test ebx, ebx
push edi
mov esi, ecx
je 0x5df3fc
push esi
lea ecx, [esp + 0x14]
call fcn.004eea40
mov ecx, dword [esi + 0x370]
mov dword [esp + 0x34], 0
inc ecx
mov eax, ecx
mov dword [esi + 0x370], ecx
cmp eax, 0xa
je 0x5df2c9
cmp dword [esi + 0x36c], 0x40
jb 0x5df2fe
mov ebp, dword [esp + 0x44]
mov ecx, esi
push ebp
call fcn.005dedf0
test al, al
jne 0x5df302
mov eax, dword [ebp]
push str.Reseed_failed.
mov ecx, ebp
call dword [eax + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.004eea90
xor al, al
jmp 0x5df3fe
mov ebp, dword [esp + 0x44]
cmp ebx, 0x10
jb 0x5df347
lea ebp, [esi + 0x358]
lea edi, [esi + 0xa8]
mov edx, dword [edi]
lea eax, [esp + 0x1c]
push eax
push ebp
mov ecx, edi
call dword [edx + 0x10]
lea ecx, [esp + 0x1c]
push 0x10
push ecx
mov ecx, dword [esp + 0x48]
call fcn.004e1260
test al, al
je 0x5df379
mov ecx, esi
sub ebx, 0x10
call fcn.005deca0
cmp ebx, 0x10
jae 0x5df313
mov ebp, dword [esp + 0x44]
test ebx, ebx
jbe 0x5df395
mov edx, dword [esi + 0xa8]
lea eax, [esp + 0x1c]
lea ecx, [esi + 0xa8]
push eax
lea eax, [esi + 0x358]
push eax
call dword [edx + 0x10]
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov ecx, dword [esp + 0x48]
call fcn.004e1260
test al, al
jne 0x5df38e
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.004eea90
xor al, al
jmp 0x5df3fe
mov ecx, esi
call fcn.005deca0
mov edx, dword [esi + 0xa8]
lea edi, [esi + 0xa8]
lea eax, [esi + 0x338]
lea ebx, [esi + 0x358]
push eax
push ebx
mov ecx, edi
call dword [edx + 0x10]
mov ecx, esi
call fcn.005deca0
mov edx, dword [edi]
lea eax, [esi + 0x348]
push eax
push ebx
mov ecx, edi
call dword [edx + 0x10]
mov ecx, esi
call fcn.005deca0
push ebp
mov ecx, esi
call fcn.005ded30
xor ecx, ecx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x10]
call fcn.004eea90
mov al, 1
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x5df7a0
Capabilities:
Get socket status

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, ecx
push edi
mov dword [ebx], 0xffffffff
mov eax, dword [esi + 0x80c]
lea edi, [esi + 8]
xor ecx, ecx
test eax, eax
mov dword [edi], eax
jbe 0x5df7dc
lea eax, [esi + 0xc]
mov edx, dword [eax + 0x804]
inc ecx
mov dword [eax], edx
mov edx, dword [esi + 0x80c]
add eax, 4
cmp ecx, edx
jb 0x5df7c6
cmp dword [edi], 0
jne 0x5df7fa
mov ecx, dword [esp + 0x20]
push str.No_sockets_exists_for_fdSetSelect.
mov eax, dword [ecx]
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x10
mov ecx, dword [esp + 0x18]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [esp + 0xc], edx
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
sub ecx, edx
lea eax, [ecx + ecx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x1c]
test al, al
je 0x5df83e
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push edi
jmp 0x5df848
lea edx, [esp + 0xc]
push edx
push 0
push edi
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x5df877
mov ecx, dword [esp + 0x20]
push str.select_system_call_failed.
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, esi
call fcn.005df4a0
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x10
cmp dword [edi], 0
jne 0x5df88e
mov ecx, esi
call fcn.005df4a0
pop edi
pop esi
mov al, 1
pop ebx
add esp, 8
ret 0x10
call fcn.0053a4b0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x5df8a8
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x10
mov edi, dword [edi]
test edi, edi
jle 0x5df8f3
push ebp
lea ebp, [esi + 0xc]
mov edx, dword [esi + 0x80c]
xor eax, eax
test edx, edx
jle 0x5df8e8
mov ebx, dword [ebp]
lea ecx, [esi + 0x810]
cmp ebx, dword [ecx]
je 0x5df8d5
inc eax
add ecx, 4
cmp eax, edx
jl 0x5df8c7
jmp 0x5df8e8
mov ecx, dword [esi + 4]
push eax
call fcn.0053a680
mov ecx, dword [esp + 0x20]
push eax
call fcn.0053a880
add ebp, 4
dec edi
jne 0x5df8b2
mov ebx, dword [esp + 0x20]
pop ebp
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5df900
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 4], ebx
pop edi
pop esi
mov al, 1
pop ebx
add esp, 8
ret 0x10
Function at 0x5dfb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6565c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.005f94d0
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.004dfe70
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.004dfe70
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 2
mov dword [esi + 0x6c], ebx
call fcn.004dfe70
lea ecx, [esi + 0x94]
mov byte [esp + 0x14], 3
mov byte [esi + 0x8e], bl
mov byte [esi + 0x8f], bl
mov byte [esi + 0x90], bl
mov byte [esi + 0x91], bl
call fcn.004dfe70
mov ecx, dword [esp + 0xc]
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov dword [esi], vtable.TlsServerHello.0
mov byte [esi + 0x8c], bl
mov byte [esi + 0x8d], bl
mov dword [esi + 0x28], 2
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5dfcf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x656677
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.005f94d0
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.004dfe70
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.004dfe70
lea ecx, [esi + 0x6c]
mov byte [esp + 0x14], 2
call fcn.004dfe70
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 3
call fcn.004dfe70
lea ecx, [esi + 0xa4]
mov byte [esp + 0x14], 4
call fcn.004dfe70
mov ecx, dword [esp + 0xc]
mov byte [esi + 0xc0], bl
mov dword [esi + 0xc4], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi], vtable.TlsServerKeyExchange.0
mov dword [esi + 0x28], 0xc
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5e4b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x657128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [esp + 0x30]
push str.processEncryptedExtensions
push esi
lea ecx, [esp + 0xc]
call fcn.004f0370
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], 0
test ecx, ecx
je 0x5e4bd8
mov eax, dword [esp + 0x24]
cmp eax, 2
jb 0x5e4bd8
xor edx, edx
sub eax, 2
mov dh, byte [ecx]
mov dl, byte [ecx + 1]
mov ecx, edx
cmp eax, ecx
jae 0x5e4bb3
mov eax, dword [esi]
push str.Incomplete_EncrytpedExtensions_handshake_message.
mov ecx, esi
call dword [eax + 0x14]
jmp 0x5e4be4
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004f03e0
mov al, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
mov edx, dword [esi]
push str.Invalid_EncrytpedExtensions_handshake_message.
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004f03e0
mov ecx, dword [esp + 0x10]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14

Function at 0x5e4c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x657148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [esp + 0x30]
push str.processNewSessionTicket
push esi
lea ecx, [esp + 0xc]
call fcn.004f0370
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], 0
test ecx, ecx
je 0x5e4c98
mov eax, dword [esp + 0x24]
cmp eax, 2
jb 0x5e4c98
xor edx, edx
sub eax, 2
mov dh, byte [ecx]
mov dl, byte [ecx + 1]
mov ecx, edx
cmp eax, ecx
jae 0x5e4c73
mov eax, dword [esi]
push str.Incomplete_NewSessionTicket_handshake_message.
mov ecx, esi
call dword [eax + 0x14]
jmp 0x5e4ca4
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004f03e0
mov al, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
mov edx, dword [esi]
push str.Invalid_NewSessionTicket_handshake_message.
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004f03e0
mov ecx, dword [esp + 0x10]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x5e5420
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x657188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
push str.createRandom
push edi
lea ecx, [esp + 0x14]
call fcn.004f0370
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
mov ecx, esi
call fcn.004dd9e0
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov ecx, eax
mov edx, eax
sar ecx, 0x18
mov byte [esp + 0x34], cl
mov ecx, eax
sar edx, 0x10
add esp, 4
mov byte [esp + 0x31], dl
sar ecx, 8
lea edx, [esp + 0x30]
mov byte [esp + 0x32], cl
push 4
push edx
mov ecx, esi
mov byte [esp + 0x3b], al
call fcn.004e1260
push esi
push 0x1c
call fcn.0055c550
mov bl, al
add esp, 8
test bl, bl
jne 0x5e54b6
mov eax, dword [edi]
push str.Failed_to_generate_random_bytes.
mov ecx, edi
call dword [eax + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004f03e0
mov ecx, dword [esp + 0x18]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc

Function at 0x5e57c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6571c8
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push str.processSupportedVersionsExtension
push eax
lea ecx, [esp + 0xc]
call fcn.004f0370
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5e5832
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5e5832
xor ecx, ecx
xor edx, edx
mov cl, byte [eax]
inc eax
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 4]
mov dl, byte [eax]
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 0x30], edx
call fcn.004f03e0
mov al, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004f03e0
mov ecx, dword [esp + 0x10]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x5e8250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x657498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
mov esi, ecx
push str.buildFinished
push edi
lea ecx, [esp + 0x14]
call fcn.004f0370
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x20], 0
test bl, bl
je 0x5e82ac
mov ecx, dword [esi + 0x3d4]
test ecx, ecx
je 0x5e829f
call fcn.004d7f00
call fcn.005e02a0
mov dword [esi + 0x3d4], eax
jmp 0x5e82c6
mov ecx, dword [esi + 0x3c0]
test ecx, ecx
je 0x5e82bb
call fcn.004d7f00
call fcn.005e02a0
mov dword [esi + 0x3c0], eax
test eax, eax
jne 0x5e82f1
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004f03e0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
mov edx, dword [esp + 0x30]
lea ecx, [eax + 0x6c]
add eax, 0x2c
push ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push edi
push ebx
push 1
push edx
push eax
push ecx
mov ecx, esi
call fcn.005e80f0
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.004f03e0
mov ecx, dword [esp + 0x18]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14

Function at 0x5e8340
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6574b8
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x1c
test al, al
push ebx
push esi
push edi
mov esi, ecx
je 0x5e836d
mov ebx, dword [esi + 0x3d4]
jmp 0x5e8373
mov ebx, dword [esi + 0x3c0]
lea ecx, [esp + 0xc]
call fcn.004dfe70
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0xc]
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x38], 0
call fcn.005e0610
mov al, byte [edi + 0x123]
test al, al
je 0x5e83f0
lea ecx, [esp + 0xc]
push ecx
push str.handshakeHashData_out
mov ecx, edi
call fcn.004ef410
lea ecx, [esp + 0xc]
call fcn.005a8750
push eax
push str.hashedDataLen
mov ecx, edi
call fcn.004effe0
lea ecx, [esp + 0xc]
call fcn.005a8750
push eax
lea ecx, [esp + 0x10]
call fcn.004dda10
push eax
push 0x6b7a10
push str.sha1
push str.handshakeDataSha1
mov ecx, edi
call fcn.004ef320
lea edx, [esp + 0xc]
lea ecx, [esi + 0x2e8]
push edx
call fcn.004de6c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
push edi
push eax
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x40]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.005f45e0
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.004e0890
mov ecx, dword [esp + 0x28]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x18
Function at 0x5ef750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x657b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, dword [esp + 0x38]
mov esi, ecx
push str.validateServerCerts
push edi
lea ecx, [esp + 0x10]
call fcn.004f0370
mov eax, dword [esi + 0x3b4]
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x5ef7cd
mov al, byte [edi + 0x121]
test al, al
je 0x5ef7a7
mov eax, dword [edi]
push str.There_are_no_server_certificates_to_validate.
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004f03e0
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ebx
push edi
push ecx
mov ecx, dword [esp + 0x38]
push 0
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push ecx
push eax
mov ecx, esi
call fcn.005ef820
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.004f03e0
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18