joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4afe60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
call fcn.0042f3d0
mov ecx, dword [ebp + 8]
push eax
call fcn.0042f430
push eax
mov ecx, edi
call fcn.004affc0
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004afec0
pop edi
pop ebp
ret 8

Function at 0x4aff90
Capabilities:
Hash data with md5

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

Function at 0x4b18d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xa70]
test eax, eax
je 0x4b18e5
mov ecx, eax
pop ebp
jmp fcn.00577f90
cmp dword [ecx + 0xa7c], 2
jne 0x4b18fa
add ecx, 0x164
pop ebp
jmp fcn.0056ea50
add ecx, 0x720
pop ebp
jmp fcn.004ff030
Function at 0x4b23d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 8
push edi
mov edi, dword [ebp + 0x18]
mov byte [eax], 0
cmp byte [edi + 8], 0
jne 0x4b23fd
mov ecx, dword [ebp + 0x1c]
push dword [0x689f1c]
mov eax, dword [ecx]
call dword [eax + 0x14]
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x18
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ecx - 0x78]
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x1c]
test ebx, ebx
jne 0x4b2452
mov eax, dword [ecx + 0x9f8]
push esi
push edi
test eax, eax
je 0x4b2424
mov ecx, eax
call fcn.00577f90
jmp 0x4b2445
cmp dword [ecx + 0xa04], 2
jne 0x4b243a
add ecx, 0xec
call fcn.0056ea50
jmp 0x4b2445
add ecx, 0x6a8
call fcn.004ff030
test al, al
je 0x4b251c
mov ebx, 0x7530
mov ecx, dword [ebp + 8]
call fcn.00402f80
mov ecx, dword [ebp - 4]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
push esi
call fcn.004b1f30
mov byte [ebp + 0x1b], al
test al, al
je 0x4b251c
mov ecx, esi
call fcn.00402f80
cmp eax, dword [ebp + 0x10]
jbe 0x4b249f
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp + 0x14]
pop esi
pop ebx
pop edi
mov byte [ecx], al
mov al, 1
mov esp, ebp
pop ebp
ret 0x18
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 8], eax
xor esi, esi
nop dword [eax]
mov ecx, dword [ebp + 8]
call fcn.00402f80
cmp eax, dword [ebp + 0x10]
jne 0x4b24f1
cmp esi, ebx
jae 0x4b24f1
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b1f30
mov byte [ebp + 0x1b], al
call sub.KERNEL32.DLL_GetTickCount
mov esi, eax
mov eax, dword [ebp - 8]
cmp esi, eax
jb 0x4b251c
sub esi, eax
cmp esi, ebx
jae 0x4b250b
cmp byte [ebp + 0x1b], 0
jne 0x4b24b0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp + 0x14]
pop esi
pop ebx
pop edi
mov byte [ecx], al
mov al, byte [ebp + 0x1b]
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x1c]
push str.Timed_out......
mov eax, dword [ecx]
call dword [eax + 0x14]
mov byte [edi + 0x14], 1
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4b3e40
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xa70]
test eax, eax
je 0x4b3e55
mov ecx, eax
pop ebp
jmp fcn.0057e540
cmp dword [ecx + 0xa7c], 2
jne 0x4b3e6a
add ecx, 0x164
pop ebp
jmp fcn.0056f130
add ecx, 0x720
pop ebp
jmp fcn.005011c0
Function at 0x4be990
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x68cc00]
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 [ecx + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x4bea38
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4bea34
test edi, edi
je 0x4bea34
push 0x74
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x84]
call fcn.0042a910
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0
call fcn.0042b9c0
mov esi, dword [edi]
lea ecx, [ebp - 0x84]
call fcn.0042f430
push eax
mov ecx, edi
call dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, edi
push str.Failed_to_get_file_size__32_
call dword [eax + 0x14]
lea ecx, [ebp - 0x84]
call fcn.0042a960
mov eax, ebx
jmp 0x4bea55
mov eax, dword [ecx + 4]
test eax, eax
je 0x4bea52
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__filelength]
add esp, 8
jmp 0x4bea55
or eax, 0xffffffff
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.005af618
mov esp, ebp
pop ebp
ret 4

Function at 0x4bea80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5befc0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x4beb74
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4beb66
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x4beb66
test edi, edi
je 0x4beb44
push 0x74
lea eax, [ebp - 0x88]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.0042a910
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.0042b9c0
mov esi, dword [edi]
lea ecx, [ebp - 0x88]
call fcn.0042f430
push eax
mov ecx, edi
call dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, edi
push str.Failed_to_get_file_size__64_
call dword [eax + 0x14]
lea ecx, [ebp - 0x88]
call fcn.0042a960
or eax, 0xffffffff
or edx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 0x14]
push esi
call fcn.0045efa0
add esp, 8
jmp 0x4beb49
mov eax, dword [esi + 4]
test eax, eax
je 0x4beb44
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push dword [esi + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__filelengthi64]
add esp, 0xc
jmp 0x4beb49
Function at 0x4beca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edx, ecx
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov byte [eax], 0
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [edi], 0
test ebx, ebx
jne 0x4becfe
test ecx, ecx
je 0x4bee4d
mov eax, dword [ecx]
push str.NULL_buf_pointer.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4bee62
mov dword [ebp - 0x18], 0x10000
cmp esi, 0x10000
mov byte [eax], 0
mov ecx, esi
cmova ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], eax
test ebx, ebx
je 0x4bee37
mov edx, dword [edx + 8]
cmp edx, 0xffffffff
je 0x4bed88
push eax
lea eax, [ebp - 8]
push eax
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x4bed7f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x26
je 0x4bedbb
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4bee48
push eax
call fcn.004492f0
mov eax, dword [ebp - 8]
add dword [edi], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4bedc4
jmp 0x4bedbe
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 4]
test edx, edx
je 0x4bee0c
push edx
push ecx
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x1c]
je 0x4bedc4
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 4
test eax, eax
jne 0x4bede6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 1
add dword [edi], eax
sub esi, eax
add ebx, eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x4bee62
test esi, esi
je 0x4bee62
mov edx, dword [ebp - 0x14]
jmp 0x4bed10
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4bee48
call fcn.00449020
mov eax, dword [ebp - 8]
add dword [edi], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4bee4b
mov eax, dword [ecx]
push str.No_file_is_open.
call dword [eax + 0x14]
mov eax, dword [ebp - 8]
add dword [edi], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4bee4b
mov eax, dword [ecx]
push str.NULL_buf_or_bufSize
call dword [eax + 0x14]
mov eax, dword [ebp - 8]
add dword [edi], eax
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4bf310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, ecx
mov ecx, dword [ebp + 0x18]
push ebx
push esi
cmp dword [eax + 8], 0xffffffff
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], ecx
jne 0x4bf36a
cmp dword [eax + 4], 0
jne 0x4bf36a
test ecx, ecx
je 0x4bf47f
mov eax, dword [ecx]
push str.Failed_to_write_because_file_is_not_open.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
test edi, edi
je 0x4bf37b
mov dword [edi], 0
mov dword [edi + 4], 0
mov ebx, dword [ebp + 0xc]
mov eax, ebx
mov esi, dword [ebp + 0x10]
or eax, esi
mov dword [ebp - 0x14], esi
je 0x4bf459
mov ecx, dword [ebp - 8]
test esi, esi
jl 0x4bf3a6
jg 0x4bf39f
cmp ebx, 0x989680
jbe 0x4bf3a6
mov esi, 0x989680
jmp 0x4bf3a8
mov esi, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x4bf410
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4bf3d4
mov ecx, dword [ebp - 8]
cmp ecx, esi
je 0x4bf432
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4bf47f
mov eax, dword [ebx]
mov ecx, ebx
push 1
push str.WriteFileError
call dword [eax + 0x24]
mov ecx, ebx
call fcn.00449020
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x4bf435
push eax
push 1
push esi
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x4bf46e
mov ecx, esi
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, esi
sub ebx, esi
mov esi, dword [ebp - 0x14]
sbb esi, 0
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
test edi, edi
je 0x4bf44f
add dword [edi], ecx
adc dword [edi + 4], 0
mov eax, ebx
or eax, esi
jne 0x4bf391
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4bf47f
mov eax, dword [ecx]
push str.fwrite_failed.
call dword [eax + 0x14]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005af618
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4c4600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf12b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x68cc00]
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 + 0x10]
mov ecx, dword [ebp + 0x2c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x28]
push 0x118
mov dword [ebp - 0x1a4], eax
push 0
mov dword [eax], 0
lea eax, [ebp - 0x19c]
push eax
mov dword [ebp - 0x1c0], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x19c]
call fcn.004038e0
push esi
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], 0
call fcn.00404550
push 0x5c
push 0x2f
lea ecx, [ebp - 0x19c]
call fcn.00407210
lea ecx, [ebp - 0x19c]
call fcn.00406d30
mov ebx, eax
call fcn.004be8e0
mov esi, eax
test esi, esi
je 0x4c4825
xor edi, edi
mov byte [ebp - 0x19d], 0
nop word [eax + eax]
push dword [ebp - 0x1a8]
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
push dword [ebp - 0x1b8]
push dword [ebp - 0x1bc]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi + 8], eax
cmp edi, 3
jge 0x4c4748
cmp eax, 0xffffffff
jne 0x4c4748
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx], eax
cmp eax, 0x20
jne 0x4c4748
push 0x32
inc edi
call fcn.00447b80
add esp, 4
jmp 0x4c46f0
cmp dword [esi + 8], 0xffffffff
jne 0x4c4827
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x1a4]
mov dword [ecx], eax
cmp eax, 2
jne 0x4c47a9
cmp byte [ebp - 0x19d], 0
jne 0x4c47a9
lea eax, [ebp - 0x19c]
push eax
call fcn.0043d3c0
add esp, 4
test al, al
je 0x4c47a9
lea eax, [ebp - 0x19c]
mov byte [ebp - 0x19d], 1
push eax
call fcn.0043dac0
add esp, 4
lea ecx, [ebp - 0x19c]
call fcn.00406d30
mov ebx, eax
jmp 0x4c46f0
mov ebx, dword [ebp - 0x1c0]
test ebx, ebx
je 0x4c481d
push 0x74
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x84]
call fcn.0042a910
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0042b9c0
mov eax, dword [ebx]
mov ecx, ebx
push str.Failed_to_open_file__3_
call dword [eax + 0x14]
lea eax, [ebp - 0x19c]
mov ecx, ebx
push eax
push str.filePath
call fcn.00448ce0
lea eax, [ebp - 0x84]
mov ecx, ebx
push eax
push str.osErrorInfo
call fcn.00448ae0
lea ecx, [ebp - 0x84]
call fcn.0042a960
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor esi, esi
lea ecx, [ebp - 0x19c]
call fcn.00403970
mov eax, esi
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.005af618
mov esp, ebp
pop ebp
ret
Function at 0x4c9560
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9b5d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
jl 0x4c9607
test esi, esi
je 0x4c9607
push str.getEntropy
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00447f50
mov dword [ebp - 4], 0
xor bl, bl
call fcn.00447270
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4c95d8
lea ecx, [ebp - 0x1c]
call fcn.00448050
mov al, bl
jmp 0x4c9609
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 0x20]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [ebp - 0x1c]
call fcn.00448050
mov al, bl
jmp 0x4c9609
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret
Function at 0x4d5d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c08b4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x68cc00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x40
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.005af62b
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x4d5dc4
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.0042a000
mov dword [esi], vtable.TreeNode.0
mov eax, esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov word [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [esi + 0x3c], 0xce
mov byte [esi + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov eax, esi
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 0x4d9300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0c16
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x68cc00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov dword [esi], vtable._ckSymSettings.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x100
call fcn.00434a70
lea ecx, [esi + 0x34]
mov dword [ebp - 4], 0
mov dword [esi + 0x30], 0
call fcn.00434a70
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.00434a70
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 2
call fcn.00434a70
mov dword [esi + 0x88], 0
mov eax, esi
mov byte [esi + 0xac], 1
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xc8], 0x80
mov byte [esi + 0xcc], 0
mov byte [esi + 0x2c], 1
mov byte [esi + 0x4c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e2e10
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
push 0x80
push 0
lea eax, [esi + 8]
mov dword [esi + 0xd8], 0
push eax
mov dword [esi + 0xdc], 0
call fcn.0040de90
push 0x40
lea ebx, [esi + 0x88]
push 0
push ebx
call fcn.0040de90
push 0x10
lea eax, [esi + 0xc8]
push 0
push eax
call fcn.0040de90
mov eax, dword [ebp + 8]
add esp, 0x24
test eax, eax
je 0x4e2f9c
cmp eax, 0x40
ja 0x4e2f9c
mov edi, dword [ebp + 0x10]
cmp edi, 0x40
ja 0x4e2f9c
mov dword [esi + 0xdc], eax
mov ecx, edi
xor ecx, 0x10100
mov dword [esi + 0x90], 0x84caa73b
shl ecx, 8
xor ecx, eax
mov dword [esi + 0x94], 0xbb67ae85
xor eax, eax
mov dword [esi + 0x98], 0xfe94f82b
xor eax, 0x6a09e667
mov dword [esi + 0x9c], 0x3c6ef372
mov dword [ebx + 4], eax
xor ecx, 0xf3bcc908
mov dword [ebx], ecx
mov eax, 0x80
mov dword [esi + 0xa0], 0x5f1d36f1
lea ecx, [edi + 8]
mov dword [esi + 0xa4], 0xa54ff53a
sub eax, edi
mov dword [esi + 0xa8], 0xade682d1
add ecx, esi
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
mov dword [esi + 0xc8], 0
push eax
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
push 0
mov dword [esi + 0xd4], 0
push ecx
mov dword [esi + 0xd8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x4e2f93
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004e3870
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 0x4e2fb0
Capabilities:
Hash data using sha1

Disassembly:
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], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
ret
Function at 0x4e3520
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x68f7d0], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x70], eax
jne 0x4e355b
push ecx
push eax
push 1
push ebx
call fcn.004c5ed0
add esp, 0x10
test al, al
jne 0x4e35ec
push edi
push 0x40
lea eax, [ebp - 0x44]
mov dword [ebp - 0x6c], vtable._ckSha1.0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push 0
push eax
movups xmmword [ebp - 0x5c], xmm0
call sub.VCRUNTIME140.dll_memset
xor edi, edi
mov dword [ebp - 0x5c], 0x67452301
add esp, 0xc
mov dword [ebp - 0x58], 0xefcdab89
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0xc3d2e1f0
mov dword [ebp - 0x48], 0
movlpd qword [ebp - 0x64], xmm0
cmp dword [ebx + 0x804], edi
jbe 0x4e35de
push esi
lea esi, [ebx + 4]
push dword [esi + 0x400]
lea ecx, [ebp - 0x6c]
push dword [esi]
call fcn.004e2ff0
inc edi
lea esi, [esi + 4]
cmp edi, dword [ebx + 0x804]
jb 0x4e35c1
pop esi
push 0
push dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
call fcn.004e2c20
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005af618
mov esp, ebp
pop ebp
ret

Function at 0x4e3600
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1268
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x68f7d0], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
jne 0x4e36e0
push 0x138
lea eax, [ebp - 0x1cc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1cc]
call fcn.00449930
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
call fcn.00434a70
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0xc]
push edi
push 1
call fcn.004c5b50
add esp, 0x14
lea ecx, [ebp - 0x2c]
test al, al
je 0x4e36d0
push 0x14
call fcn.00438c00
push eax
push esi
call fcn.0040de60
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00434c90
lea ecx, [ebp - 0x1cc]
call fcn.00449950
jmp 0x4e3760
call fcn.00434c90
lea ecx, [ebp - 0x1cc]
call fcn.00449950
push 0x40
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x94], vtable._ckSha1.0
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
push 0
push eax
movups xmmword [ebp - 0x84], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x84], 0x67452301
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0xefcdab89
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x7c], 0x98badcfe
mov dword [ebp - 0x78], 0x10325476
push dword [ebp + 0xc]
mov dword [ebp - 0x74], 0xc3d2e1f0
push edi
mov dword [ebp - 0x70], 0
movlpd qword [ebp - 0x8c], xmm0
call fcn.004e2ff0
push 0
push esi
lea ecx, [ebp - 0x94]
call fcn.004e2c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret