joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ca890
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594c95
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x61094c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.004caa80
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4ca923
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [edi + 8], 0xaaaaaaa
je 0x4caa6c
lea eax, [edi + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x14], 0
call fcn.00553f41
mov ecx, dword [ebx]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
add esp, 4
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 1
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x5e2fe0]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x5e2fe0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4caa0b
divss xmm0, xmm3
call fcn.004a6eb0
call fcn.00554630
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x4ca9ea
cmp ebx, 0x200
jae 0x4ca9e8
shl ebx, 3
cmp ebx, ecx
jae 0x4ca9ea
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.004cabc0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004caa80
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x4caa0e
mov edx, dword [ebp - 0x20]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x18]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x14]
jne 0x4caa3c
mov dword [ecx + eax*8], esi
jmp 0x4caa4b
cmp edi, edx
jne 0x4caa45
mov dword [ecx + eax*8], esi
jmp 0x4caa4f
cmp dword [ecx + eax*8 + 4], ebx
jne 0x4caa4f
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0053ecf2
int3
Function at 0x4cabc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4cad23
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004a6b00
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x4cacf6
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x4cac76
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4cace9
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x4cacb0
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x4caca8
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x4cace9
mov edi, eax
cmp dword [ebp - 4], eax
je 0x4cacc6
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x4cacff
cmp dword [ebp - 4], eax
jne 0x4cacb7
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x4cac22
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x4cace9
push str.invalid_hash_bucket_count
call fcn.0053ecf2
int3
Function at 0x4d0f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x61f190
push 0
call fcn.00553c3e
mov edi, eax
mov dword [ebp - 8], 1
test edi, edi
je 0x4d10dd
mov eax, dword [ebp + 8]
shr eax, 4
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
movzx eax, cx
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebx, eax
test ebx, ebx
je 0x4d0fcc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d0fcc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4d0fcc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [ebp + 8]
mov ecx, ebx
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4d0fc2
cmp esi, edx
jae 0x4d0fcc
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4d0fb0
cmp esi, edx
jae 0x4d0fcc
cmp word [esi], 0
jne 0x4d0fed
mov ecx, dword [ebp - 8]
push ecx
inc ecx
mov dword [ebp - 8], ecx
mov ecx, 0x61f190
call fcn.00553c3e
mov edi, eax
test edi, edi
je 0x4d10dd
mov eax, dword [ebp - 0xc]
jmp 0x4d0f70
test edi, edi
je 0x4d10dd
mov eax, dword [ebp - 0x10]
inc eax
push 6
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4d10dd
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d10dd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4d10dd
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and ebx, 0xf
jbe 0x4d105a
cmp esi, ecx
jae 0x4d10dd
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ebx, 1
jne 0x4d1044
cmp esi, ecx
jae 0x4d10dd
movzx eax, word [esi]
test ax, ax
je 0x4d10dd
push 0
push 0
push 0
push 0
push eax
lea ebx, [esi + 2]
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x4d10e8
mov ecx, dword [ebp - 4]
mov edx, 1
mov eax, dword [ecx]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x4d10a7
mov ecx, dword [ebp - 4]
push edi
call fcn.004d1100
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
push 0
push 0
push edi
push eax
movzx eax, word [esi]
push eax
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
cmp edi, dword [eax - 8]
jg 0x4d10e8
mov dword [eax - 0xc], edi
mov eax, dword [ecx]
mov byte [edi + eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0042d7b0
int3
Function at 0x4d1330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d1389
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4d1389
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4d137a
cmp esi, edx
jae 0x4d1389
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4d1368
cmp esi, edx
jae 0x4d1389
cmp word [esi], 0
je 0x4d1389
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4d2160
Capabilities:
Convert ip address from string
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11
push 2
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], eax
test ecx, ecx
je 0x4d2198
cmp ecx, 0xffffffff
je 0x4d2198
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
jne 0x4d224f
cmp word [esi + 4], 0
jne 0x4d224f
lea eax, [ebp - 8]
mov dword [ebp - 0xc], str.127.0.0.1
push eax
push str.127.0.0.1
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x4d21fa
push 5
call fcn.004deb80
add esp, 4
test eax, eax
je 0x4d224f
lea eax, [ebp - 0xc]
mov edx, str.E:BT38d8cfda_976b_47ad_8468_b269487b30aeScriptHostJavaScriptScriptablePluginsLoggingPlugin_srcSimpleIPv4UDPPacketSender.cpp
push eax
push str.Invalid_IP_Address_Format:__hs
push 0x38
push str.McAfee::Script::CSimpleIPv4UDPPacketSender::setServerAddr
mov ecx, 5
call fcn.00428a80
add esp, 0x10
jmp 0x4d224f
cmp eax, 0xffffffff
jne 0x4d2231
push 5
call fcn.004deb80
add esp, 4
test eax, eax
je 0x4d224f
lea eax, [ebp - 0xc]
mov edx, str.E:BT38d8cfda_976b_47ad_8468_b269487b30aeScriptHostJavaScriptScriptablePluginsLoggingPlugin_srcSimpleIPv4UDPPacketSender.cpp
push eax
push str.Failed_to_set_the_server_address_to__hs
push 0x3d
push str.McAfee::Script::CSimpleIPv4UDPPacketSender::setServerAddr
mov ecx, 5
call fcn.00428a80
add esp, 0x10
jmp 0x4d224f
mov eax, 2
push 0x202
mov word [esi + 4], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 6], ax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
push 0x10
lea eax, [esi + 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d22b7
push 5
call fcn.004deb80
add esp, 4
test eax, eax
je 0x4d22a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
lea ecx, [esi + 6]
lea eax, [ebp - 8]
mov edx, str.E:BT38d8cfda_976b_47ad_8468_b269487b30aeScriptHostJavaScriptScriptablePluginsLoggingPlugin_srcSimpleIPv4UDPPacketSender.cpp
push eax
push str.Failed_to_send_datagram__Last_Error:_0x_08X
push 0x4d
push str.McAfee::Script::CSimpleIPv4UDPPacketSender::sendBuffer
call fcn.00428a80
add esp, 0x10
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp + 0xc]
jae 0x4d22ec
push 1
call fcn.004deb80
add esp, 4
test eax, eax
je 0x4d22ec
mov eax, dword [ebp + 0xc]
sub eax, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0xc]
push eax
sub esp, 0xc
call fcn.004d2300
add esp, 0x18
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00553d2a
mov esp, ebp
pop ebp
ret 8
Function at 0x4d2ca0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4d2cd9
cmp dword [esi + 0xc], 0
jne 0x4d2cd9
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test eax, eax
mov dword [esi + 0xc], eax
pop esi
setne al
pop ebp
ret 0x18
xor al, al
pop esi
pop ebp
ret 0x18

Function at 0x4d2ce0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4d2cf0
xor al, al
pop ebp
ret 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
sete al
pop ebp
ret 0xc

Function at 0x4d2d60
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4d2d70
xor al, al
pop ebp
ret 0x10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0xffff
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
sete al
pop ebp
ret 0x10

Function at 0x4d2da0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x4d2dca
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d2dca
push 0
push eax
push 0
push 0
push 0x16
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
sete al
pop ebp
ret 4
xor al, al
pop ebp
ret 4

Function at 0x4d2dd0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x4d2e03
test eax, eax
je 0x4d2e03
cmp dword [ebp + 0xc], 0
je 0x4d2e03
push 0
lea edx, [ebp + 0xc]
push edx
push eax
push 0
push 0x16
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
sete al
pop ebp
ret 8
xor al, al
pop ebp
ret 8

Function at 0x4d2e10
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 0xc]
test esi, esi
je 0x4d2e88
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.005561e0
add esp, 0xc
mov dword [ebp - 0x108], 0xff
lea eax, [ebp - 0x108]
push 0
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0x13
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4d2e88
lea eax, [ebp - 0x104]
push eax
call fcn.0056010a
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
Function at 0x4d2ed0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x4d2f57
test esi, esi
je 0x4d2f57
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.005561e0
add esp, 0xc
mov dword [ebp - 0x88], 0x7f
lea eax, [ebp - 0x88]
push 0
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push 5
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4d2f57
lea eax, [ebp - 0x84]
push eax
call fcn.0056010a
add esp, 4
mov dword [esi], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.00553d2a
mov esp, ebp
pop ebp
ret 4

Function at 0x4d2f70
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4d2f80
xor al, al
pop ebp
ret 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp eax, 1
sete al
pop ebp
ret 0xc
Function at 0x4dc1a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596305
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x61094c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004caa80
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4dc233
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 0xc
cmp dword [edi + 8], 0x71c71c7
je 0x4dc3ab
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.00553f41
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
lea eax, [edx + 2]
mov dword [ebp - 0x18], eax
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4dc290
sub edx, dword [ebp - 0x18]
sar edx, 1
push edx
push ecx
lea ecx, [esi + 0xc]
call fcn.00425790
mov dword [ebp - 4], 1
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x5e2fe0]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x5e2fe0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4dc34a
divss xmm0, xmm3
call fcn.004a6eb0
call fcn.00554630
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x4dc329
cmp ebx, 0x200
jae 0x4dc327
shl ebx, 3
cmp ebx, ecx
jae 0x4dc329
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.004cabc0
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004caa80
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x4dc34d
mov edx, dword [ebp - 0x28]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x20]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x1c]
jne 0x4dc37b
mov dword [ecx + eax*8], esi
jmp 0x4dc38a
cmp edi, edx
jne 0x4dc384
mov dword [ecx + eax*8], esi
jmp 0x4dc38e
cmp dword [ecx + eax*8 + 4], ebx
jne 0x4dc38e
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.unordered_map_set_too_long
call fcn.0053ecf2
int3
Function at 0x4dc8f9
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 8], esi
je 0x4dc98f
cmp dword [edi + 0xc], esi
je 0x4dc98f
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], esi
je 0x4dc948
test eax, eax
je 0x4dc94c
push esi
push eax
push dword [ebp + 8]
push dword [edi + 0xc]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
lea ecx, [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], vtable.McCryptoLib::CWinError.0
call fcn.004dc59a
test eax, eax
jne 0x4dc953
mov byte [edi + 4], 1
jmp 0x4dc98b
test eax, eax
je 0x4dc91e
mov eax, reloc.OLEAUT32.dll_VariantCopyInd
jmp 0x4dc994
lea ecx, [ebp - 8]
call fcn.004dc59a
mov ecx, eax
call fcn.004dc4d1
push eax
push str.McCryptoLib::CMcCryptoHashWin::AddToHash
push 0x90
push str.E:BT6fe319c2_d716_427d_b487_43780f257bfaCoreTechMcCryptoLib_srcwindowswin_hash.cpp
push str.__S:__d____S___s:_Error_trying_to_add_data_for_hashing
push 2
call fcn.004dc5b2
add esp, 0x18
lea ecx, [ebp - 8]
call fcn.004dc59a
mov esi, eax
mov eax, esi
jmp 0x4dc994
mov eax, reloc.WS2_32.dll_listen
pop edi
pop esi
leave
ret 8

Function at 0x4dfb60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5967dd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61094c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0x8000
push 0x5c2bf8
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x4dfbbd
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x4dfbd2
xor ecx, ecx
jmp 0x4dfbe6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dfbd7
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.004de900
test esi, esi
je 0x4dfbfb
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4e0a10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5969e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61094c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CoreTech::CBaseIniReader.0
mov dword [ebp - 4], 0
call fcn.004224a0
mov ebx, eax
test ebx, ebx
je 0x4e0b73
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x5a0478]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 1
call fcn.004224a0
mov ebx, eax
test ebx, ebx
je 0x4e0b73
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x5a0478]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi], vtable.CoreTech::CObfuscatedIniReader.0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0x11
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0xa
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x20], 0x3f400000
mov dword [edi + 0x24], 0x3e800000
mov dword [edi + 0x28], 0x40100000
mov dword [edi + 0x2c], 0x26
mov dword [edi + 0x30], 0
mov al, byte [ebp + 8]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0x11
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0xa
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x50], 0x3f400000
mov dword [edi + 0x54], 0x3e800000
mov dword [edi + 0x58], 0x40100000
mov dword [edi + 0x5c], 0x26
mov dword [edi + 0x60], 0
mov byte [edi + 0x74], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0042d7b0
int3
Function at 0x4e1d20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4e1d5b
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x8000
push 0x5c2bf8
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, dword [ebp - 4]
test eax, eax
jns 0x4e1d68
test esi, esi
je 0x4e1d5b
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
mov eax, 0x57
pop esi
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
push esi
push dword [ebp + 0xc]
push edi
call fcn.0056049d
add esp, 0x10
mov edi, eax
test esi, esi
je 0x4e1d84
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8