joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ad050
Capabilities:
Initialize winhttp library

Disassembly:
push ecx
mov eax, dword [0x85a7d0]
test eax, eax
jne 0x5ad174
push esi
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [0x85a7cc], eax
test eax, eax
jne 0x5ad0b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004f4dc0
test eax, eax
je 0x5ad0a1
push str.WinHttpOpen_failed.
push 1
push 0xf3
push str._HTTPAPI_Init
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_adaptershttpapi_winhttp.c
push 0
call eax
add esp, 0x18
push esi
call fcn.004f4ca0
add esp, 4
mov eax, 0x10
pop esi
pop ecx
ret
push 4
lea ecx, [esp + 8]
mov dword [esp + 8], 0xa80
push ecx
push 0x54
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x5ad0ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004f4dc0
test eax, eax
je 0x5ad135
push str.unable_to_WinHttpSetOption__WINHTTP_OPTION_SECURE_PROTOCOLS_
push 1
push 0x103
jmp 0x5ad124
push 0
push 0x30
push 0x5ad190
push dword [0x85a7cc]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x5ad15c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004f4dc0
test eax, eax
je 0x5ad135
push str.WinHttpSetStatusCallback_failed.
push 1
push 0x10a
push str._HTTPAPI_Init
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_adaptershttpapi_winhttp.c
push 0
call eax
add esp, 0x18
push esi
call fcn.004f4ca0
add esp, 4
push dword [0x85a7cc]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [0x85a7cc], 0
mov eax, 0x10
pop esi
pop ecx
ret
inc dword [0x85a7d0]
mov eax, 1
mov dword [0x85a7c8], 1
pop esi
pop ecx
ret
inc eax
mov dword [0x85a7d0], eax
mov eax, 1
pop ecx
ret

Function at 0x5b01d0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ecx
push esi
push dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push dword [esp + 0x14]
mov dword [esp + 0xc], 1
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x5b0228
call fcn.004f4dc0
mov esi, eax
test esi, esi
je 0x5b0220
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Failure:_connect_failure__d.
push 1
push 0xbe
push str._connect_socket
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_adapters_socketio_win32.c
push 0
call esi
add esp, 0x1c
mov eax, 0xbf
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x5b0274
call fcn.004f4dc0
mov esi, eax
test esi, esi
je 0x5b026c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Failure:_ioctlsocket_failure__d.
push 1
push 0xc3
push str._connect_socket
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_adapters_socketio_win32.c
push 0
call esi
add esp, 0x1c
mov eax, 0xc4
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x5b0610
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x330
mov eax, dword [0x83e264]
xor eax, esp
mov dword [esp + 0x32c], eax
mov eax, dword [esp + 0x338]
push ebx
mov ebx, dword [esp + 0x338]
push ebp
push esi
mov esi, dword [esp + 0x34c]
push edi
mov edi, dword [esp + 0x354]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x358]
push ebx
mov dword [esp + 0x1c], eax
call fcn.005b1e20
mov ebp, eax
push ebx
mov dword [esp + 0x2c], ebp
call fcn.005b1e50
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
cmp edi, ebp
jle 0x5b06d6
lea eax, [esp + 0x194]
push ebx
push eax
call fcn.005b1f20
add esp, 8
test eax, eax
jne 0x5b0806
push edi
lea eax, [esp + 0x198]
push esi
push eax
call fcn.005b1ea0
add esp, 0xc
test eax, eax
jne 0x5b0806
lea eax, [esp + 0x27c]
push eax
lea eax, [esp + 0x198]
push eax
call fcn.005b1fa0
add esp, 8
test eax, eax
jne 0x5b0806
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x27c]
xor ebx, ebx
test edi, edi
jle 0x5b0711
lea eax, [esp + 0x2bc]
sub esi, eax
nop word [eax + eax]
lea ecx, [esp + 0x2bc]
add ecx, ebx
mov dl, byte [esi + ecx]
mov al, dl
xor dl, 0x5c
mov byte [esp + ebx + 0x114], dl
xor al, 0x36
inc ebx
mov byte [ecx], al
cmp ebx, edi
jl 0x5b06f0
cmp ebx, ebp
jge 0x5b0740
mov esi, ebp
lea eax, [esp + 0x114]
sub esi, ebx
lea edi, [esp + 0x2bc]
push esi
add eax, ebx
add edi, ebx
push 0x5c
push eax
call fcn.00520480
push esi
push 0x36
push edi
call fcn.00520480
add esp, 0x18
push dword [esp + 0x344]
lea eax, [esp + 0x30]
push eax
call fcn.005b1f20
add esp, 8
test eax, eax
jne 0x5b0806
push ebp
lea eax, [esp + 0x2c0]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005b1ea0
add esp, 0xc
test eax, eax
jne 0x5b0806
push dword [esp + 0x34c]
lea eax, [esp + 0x30]
push dword [esp + 0x18]
push eax
call fcn.005b1ea0
add esp, 0xc
test eax, eax
jne 0x5b0806
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.005b1fa0
add esp, 8
test eax, eax
jne 0x5b0806
push dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
call fcn.005b1f20
add esp, 8
test eax, eax
jne 0x5b0806
push dword [esp + 0x24]
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005b1ea0
add esp, 0xc
test eax, eax
jne 0x5b0806
push dword [esp + 0x20]
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.005b1ea0
add esp, 0xc
test eax, eax
jne 0x5b0806
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.005b1fa0
add esp, 8
test eax, eax
je 0x5b080b
mov eax, 1
mov ecx, dword [esp + 0x33c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051deb6
add esp, 0x330
ret
Function at 0x5b0830
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 8]
push 0
push 0
push eax
push 0
push 7
push dword [esp + 0x28]
mov dword [esp + 0x20], 0
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x5b0895
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004f4dc0
test eax, eax
je 0x5b0886
push str.Failed_determine_crypt_value_size
push 1
push 0x2d
push str._convert_cert_to_binary
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_adaptersx509_schannel.c
push 0
call eax
add esp, 0x18
push esi
call fcn.004f4ca0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ecx
ret
push dword [esp + 8]
call fcn.0053dc5a
mov esi, eax
add esp, 4
test esi, esi
jne 0x5b08d3
call fcn.004f4dc0
test eax, eax
je 0x5b093a
push str.unable_to_allocate_memory_for_crypt_value
push 1
push 0x35
push str._convert_cert_to_binary
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_adaptersx509_schannel.c
push esi
call eax
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ecx
ret
push 0
push 0
lea eax, [esp + 0x10]
push eax
push esi
push 7
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x5b092c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.004f4dc0
test eax, eax
je 0x5b0917
push str.Failed_convert_crypt_value_to_binary
push 1
push 0x3c
push str._convert_cert_to_binary
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_adaptersx509_schannel.c
push 0
call eax
add esp, 0x18
push edi
call fcn.004f4ca0
push esi
call fcn.00531f15
add esp, 8
xor eax, eax
pop edi
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5b093a
mov eax, dword [esp + 8]
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ecx
ret
Function at 0x5b1cc0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x38
mov eax, dword [0x83e264]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, dword [esp + 0x40]
test esi, esi
jne 0x5b1d0b
call fcn.004f4dc0
test eax, eax
je 0x5b1cf9
push str.NULL_dns
push 1
push 0x53
push str._dns_resolver_is_lookup_complete
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_srcdns_resolver_sync.c
push esi
call eax
add esp, 0x18
xor al, al
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0051deb6
add esp, 0x38
ret
cmp byte [esi + 0xc], 0
jne 0x5b1e05
push dword [esi + 4]
xorps xmm0, xmm0
mov dword [esp + 8], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 0
push 0x78d64c
push eax
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
call fcn.004e45b0
add esp, 0xc
test eax, eax
jns 0x5b1d88
call fcn.004f4dc0
test eax, eax
je 0x5b1d88
push str.Failure:_sprintf_failed_to_encode_the_port.
push 1
push 0x74
push str._dns_resolver_is_lookup_complete
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_srcdns_resolver_sync.c
push 0
call eax
add esp, 0x18
push edi
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edi, eax
test edi, edi
jne 0x5b1dd2
mov ecx, dword [esp + 8]
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x5b1dc9
mov eax, dword [ecx + 4]
sub eax, 2
jne 0x5b1dc2
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 4]
mov dword [esi + 8], eax
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x5b1db1
cmp dword [esi + 8], 0
sete al
jmp 0x5b1dfd
call fcn.004f4dc0
test eax, eax
je 0x5b1dfb
push edi
push dword [esi]
push str.Failed_DNS_lookup_for__s:__d
push 1
push 0x8e
push str._dns_resolver_is_lookup_complete
push str.C:Userslaurence_liuDesktop_vcpkg_2023.02.24_buildtrees_azure_c_shared_utility_src10753faee5_044a82ff07.clean_srcdns_resolver_sync.c
push 1
call eax
add esp, 0x20
mov al, 1
mov byte [esi + 0xd], al
mov byte [esi + 0xc], 1
pop edi
mov ecx, dword [esp + 0x38]
mov al, 1
pop esi
xor ecx, esp
call fcn.0051deb6
add esp, 0x38
ret
Function at 0x5b21d0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
sub esp, 0x154
mov eax, dword [0x83e264]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
mov ebp, dword [esp + 0x160]
push esi
push edi
mov dword [esp + 0x1c], ebp
xor esi, esi
lea edx, [ebp + 0x1f]
nop dword [eax + eax]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esp + esi*4 + 0x20], ecx
inc esi
cmp esi, 0x10
jl 0x5b2200
lea eax, [esp + 0x28]
mov edx, 0x40
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x5b2235
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp]
mov edi, dword [ebp + 4]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ebp, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov ecx, edi
mov eax, esi
not ecx
and eax, edi
and ecx, ebx
mov edx, ebp
xor ecx, eax
rol edx, 5
mov eax, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x10]
add eax, 0x5a827999
mov dword [esp + 0x14], ebx
mov ebx, esi
mov esi, edi
mov edi, ebp
ror esi, 2
add edx, dword [esp + ecx*4 + 0x20]
inc ecx
add edx, eax
mov dword [esp + 0x10], ecx
mov ebp, edx
cmp ecx, 0x14
jl 0x5b2267
mov dword [esp + 0x18], ebp
mov ecx, edx
mov dword [esp + 0x10], 0x14
mov eax, ebx
rol edx, 5
xor eax, esi
xor eax, edi
add edx, eax
mov eax, dword [esp + 0x10]
add edx, dword [esp + eax*4 + 0x20]
mov eax, dword [esp + 0x14]
add eax, 0x6ed9eba1
mov dword [esp + 0x14], ebx
add edx, eax
mov ebx, esi
mov eax, dword [esp + 0x10]
mov esi, edi
inc eax
ror esi, 2
mov dword [esp + 0x10], eax
mov edi, ecx
mov ecx, edx
cmp eax, 0x28
jl 0x5b22b4
mov dword [esp + 0x18], ecx
mov ebp, edx
mov dword [esp + 0x10], 0x28
nop dword [eax]
mov ecx, esi
rol edx, 5
xor ecx, edi
mov eax, esi
and eax, edi
and ecx, ebx
xor ecx, eax
add edx, 0x8f1bbcdc
mov eax, dword [esp + 0x10]
add edx, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
mov ebx, esi
mov esi, edi
mov edi, ebp
add ecx, dword [esp + eax*4 + 0x20]
inc eax
add edx, ecx
ror esi, 2
mov dword [esp + 0x10], eax
mov ebp, edx
cmp eax, 0x3c
jl 0x5b2300
mov dword [esp + 0x18], ebp
mov ecx, edx
mov dword [esp + 0x10], 0x3c
nop word [eax + eax]
mov ebp, dword [esp + 0x10]
mov eax, ebx
xor eax, esi
rol edx, 5
add edx, dword [esp + 0x14]
xor eax, edi
add eax, 0xca62c1d6
mov dword [esp + 0x14], ebx
add eax, dword [esp + ebp*4 + 0x20]
mov ebx, esi
add edx, eax
mov esi, edi
mov eax, ebp
ror esi, 2
mov ebp, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x10], eax
mov edi, ecx
mov ecx, edx
cmp eax, 0x50
jl 0x5b2350
add dword [ebp + 4], edi
mov eax, dword [esp + 0x14]
add dword [ebp + 0x10], eax
xor eax, eax
add dword [ebp + 8], esi
add dword [ebp + 0xc], ebx
add dword [ebp], edx
mov ecx, dword [esp + 0x160]
pop edi
pop esi
mov word [ebp + 0x1c], ax
pop ebp
pop ebx
xor ecx, esp
call fcn.0051deb6
add esp, 0x154
ret
Function at 0x5b23c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x5b23ce
mov eax, 1
ret
xor ecx, ecx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov word [eax + 0x1c], cx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
ret
Function at 0x5b2710
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x124
mov eax, dword [0x83e264]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
push esi
push edi
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 0x2b]
xor esi, esi
nop dword [eax + eax]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esp + esi*4 + 0x30], ecx
inc esi
cmp esi, 0x10
jl 0x5b2740
lea eax, [esp + 0x68]
mov ebp, 0x30
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebp, 1
jne 0x5b2775
mov eax, dword [ebx]
mov edi, eax
mov edx, dword [ebx + 0x14]
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c]
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
jmp 0x5b27f4
mov edx, dword [esp + 0x14]
mov esi, ebp
mov eax, ebp
rol eax, 7
and edx, ebp
ror esi, 0xb
mov ecx, ebp
xor esi, eax
not ecx
and ecx, dword [esp + 0x18]
mov eax, ebp
ror eax, 6
xor ecx, edx
xor esi, eax
mov edx, edi
ror edx, 0xd
mov eax, edi
rol eax, 0xa
add esi, ecx
add esi, dword [ebx + 0x78d710]
xor edx, eax
add esi, dword [esp + ebx + 0x30]
mov eax, edi
add esi, dword [esp + 0x24]
add ebx, 4
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [esp + 0x10]
xor ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
add edx, ecx
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], eax
lea edi, [edx + esi]
mov eax, dword [esp + 0x10]
add ebp, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
cmp ebx, 0x100
jl 0x5b27f0
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, edi
pop edi
add dword [ebx + 0x10], ebp
add dword [ebx + 4], ecx
mov ecx, dword [esp + 0x12c]
mov dword [ebx], eax
mov eax, dword [esp + 0xc]
add dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
add dword [ebx + 0xc], eax
mov eax, dword [esp + 0x10]
add dword [ebx + 0x14], eax
mov eax, dword [esp + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [esp + 0x20]
add dword [ebx + 0x1c], eax
xor eax, eax
pop esi
pop ebp
mov word [ebx + 0x28], ax
pop ebx
xor ecx, esp
call fcn.0051deb6
add esp, 0x124
ret

Function at 0x5b2bd0
Capabilities:
Hash data using sha384

Disassembly:
push 0x841d80
push dword [esp + 8]
call fcn.005b32e0
add esp, 8
ret
Function at 0x5b34c0
Capabilities:
Hash data using sha512

Disassembly:
push 0x841dc0
push dword [esp + 8]
call fcn.005b32e0
add esp, 8
ret
Function at 0x5d5bb0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x85b9bc], 0
jne 0x5d5bbe
call fcn.005e1d80
cmp byte [0x85b9c6], 0
je 0x5d5bdc
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.005e2c00
add esp, 0x10
ret
jmp fcn.005d3f20

Function at 0x5dc850
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7317f9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x8597c8]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x85b944]
cmp eax, dword [ecx + 0x20]
jg 0x5dc8c9
push 0
push dword [ebp + 0xc]
push esi
push dword [0x85b940]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x5dc910
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 8
push 0x85b944
call fcn.0051e16d
add esp, 4
cmp dword [0x85b944], 0xffffffff
jne 0x5dc898
mov ecx, 0x85b940
mov dword [ebp - 4], 0
call fcn.005dc310
push 0x7368b0
call fcn.0051e47f
push 0x85b944
mov dword [ebp - 4], 0xffffffff
call fcn.0051e123
add esp, 8
jmp 0x5dc898
push eax
call fcn.005dc950
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x791364
lea ecx, [ebp - 0x28]
call fcn.00489630
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.005dc450
push 0x838aec
lea eax, [ebp - 0x50]
push eax
call fcn.00520690
int3
Function at 0x5dc970
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x731849
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], ebx
test ebx, ebx
jne 0x5dc9b2
xor esi, esi
jmp 0x5dc9bd
push ebx
call fcn.005bcf60
add esp, 4
mov esi, eax
mov dword [ebp - 0x5c], esi
push 1
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.005b7cb0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], vtable.CryptoPP::NonblockingRng.0
call fcn.005dc310
mov eax, dword fs:[0x2c]
mov ecx, dword [0x8597c8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x85b944]
cmp eax, dword [ecx + 0x20]
jg 0x5dca74
push 0
push ebx
push esi
push dword [0x85b940]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x5dcabc
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0
mov dword [ebp - 0x58], vtable.CryptoPP::NonblockingRng.0
test eax, eax
je 0x5dca31
push 0
push eax
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov eax, dword [edi]
mov ecx, edi
push ebx
push esi
call dword [eax + 0x10]
mov dword [ebp - 4], 5
test esi, esi
je 0x5dca56
xor al, al
mov edi, esi
mov ecx, ebx
rep stosb byte es:[edi], al
push esi
call fcn.004e44f0
add esp, 4
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.0051deb6
mov esp, ebp
pop ebp
ret 8
push 0x85b944
call fcn.0051e16d
add esp, 4
cmp dword [0x85b944], 0xffffffff
jne 0x5dca00
mov ecx, 0x85b940
mov byte [ebp - 4], 2
call fcn.005dc310
push 0x7368b0
call fcn.0051e47f
push 0x85b944
mov byte [ebp - 4], 1
call fcn.0051e123
add esp, 8
jmp 0x5dca00
push eax
call fcn.005dc950
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x791364
lea ecx, [ebp - 0x28]
call fcn.00489630
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.005dc450
push 0x838aec
lea eax, [ebp - 0x50]
push eax
call fcn.00520690
int3
Function at 0x5ddfb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
mov edx, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
push edi
cmp eax, 4
jb 0x5ddfe8
mov edi, eax
shr edi, 2
nop
mov ecx, dword [esi]
sub eax, 4
xor ecx, dword [edx]
add esi, 4
or ebx, ecx
add edx, 4
sub edi, 1
jne 0x5ddfd0
mov dword [esp + 0x24], eax
mov edi, ebx
mov ecx, ebx
shr edi, 8
xor ebp, ebp
or edi, ebx
shr ecx, 0x10
and edi, 0xff00
or edi, ecx
movzx ecx, bl
shr edi, 8
or edi, ecx
mov dword [esp + 0x10], edi
test eax, eax
je 0x5de0d7
cmp eax, 8
jb 0x5de0bc
mov ebx, eax
lea ecx, [edx + 4]
mov edi, esi
and ebx, 0xfffffff8
sub edi, edx
xorps xmm4, xmm4
mov dword [esp + 0x14], edi
xorps xmm3, xmm3
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
nop dword [eax]
movd xmm2, dword [esi + ebp]
lea ecx, [ecx + 8]
movd xmm1, dword [ecx - 0xc]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
add ebp, 8
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [ecx - 8]
punpcklbw xmm1, xmm0
por xmm4, xmm2
movd xmm2, dword [eax + ecx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp ebp, ebx
jb 0x5de040
mov eax, dword [esp + 0x24]
por xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd ecx, xmm3
or edi, ecx
cmp ebp, eax
jae 0x5de0d7
sub esi, edx
lea ebx, [edx + ebp]
sub eax, ebp
movzx edx, byte [ebx + esi]
lea ebx, [ebx + 1]
movzx ecx, byte [ebx - 1]
xor edx, ecx
or edi, edx
sub eax, 1
jne 0x5de0c3
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret