joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486b03
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0
cmp eax, 0xffffffff
jne 0x486b2d
push 0x2719
jmp 0x486b77
and dword [ebp + 8], 0
and dword [ebp - 4], 0
push esi
push dword [ebp + 0x18]
lea ecx, [ebp - 4]
push dword [ebp + 0x14]
push ecx
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov dword [ebp + 0x18], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
jne 0x486b66
mov eax, 0x274d
cmp dword [ebp + 0x18], 0
je 0x486b81
cmp eax, 0x3e5
je 0x486b81
push dword [ebp + 8]
push eax
mov edi, dword [edi + 4]
call fcn.0044676b
jmp 0x486b8a
push esi
mov esi, dword [edi + 4]
call fcn.00446665
pop edi
pop esi
leave
ret 0x14

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

Disassembly:
mov eax, 0x62400e
call fcn.0060ebd0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp + 0xc]
mov dword [ebx + 0x18], 0x487711
call fcn.004af6ad
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 4]
push 7
lea edi, [ebx + 0x30]
pop ecx
lea esi, [ebp + 0x14]
mov dword [ebx + 0x2c], eax
rep movsd dword es:[edi], dword [esi]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0xc]
push eax
call fcn.0044a645
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 0x28

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

Disassembly:
mov eax, 0x623fed
call fcn.0060ebd0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
push eax
lea ecx, [ebp + 0x10]
mov dword [ebx + 0x18], 0x4877ea
call fcn.004af6ad
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 4]
push 7
lea edi, [ebx + 0x34]
pop ecx
lea esi, [ebp + 0x18]
mov dword [ebx + 0x30], eax
rep movsd dword es:[edi], dword [esi]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x10]
push eax
call fcn.0044a645
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 0x2c
Function at 0x49f7e5
Capabilities:
Create thread

Disassembly:
mov eax, 0x62bff5
call fcn.0060ebd0
sub esp, 0x64
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x10
mov dword [esi + 8], ebx
call fcn.005a6b1c
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x49f82b
mov dword [eax], vtable.boost::asio::detail::win_thread::func_base.0
mov byte [ebp - 4], 1
mov dword [eax], vtable.boost::asio::detail::win_thread::func_class_boost::asio::detail::resolver_service_class_boost::asio::ip::udp_::work_io_service_runner_.0
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov byte [ebp - 4], bl
mov edi, eax
jmp 0x49f82d
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 2
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [ebp - 0x10], eax
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x49f87a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
call fcn.005dcfc0
push str.thread.entry_event
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.0040fcac
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
call fcn.004111d7
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 8], eax
mov dword [edi + 8], eax
cmp dword [esi + 8], ebx
jne 0x49f8bc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.005dcfc0
push str.thread.exit_event
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.0040fcac
mov byte [ebp - 4], 4
jmp 0x49f871
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push 0x4461f9
push ebx
push ebx
mov dword [ebp - 0x14], ebx
call fcn.005af07f
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x49f919
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x18], eax
call edi
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x49f8f9
push esi
call edi
call fcn.005dcfc0
push str.thread
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x70]
push eax
call fcn.0040fcac
mov byte [ebp - 4], 5
jmp 0x49f871
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4a0e3d
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ecx, ecx
mov esi, eax
lea eax, [esi + 0xd8]
inc ecx
push edi
cmp byte [eax], cl
je 0x4a0eed
mov byte [eax], cl
mov dword [ebp - 4], ecx
call fcn.005dcfc0
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
mov ebx, dword [esi + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4a0e83
cmp eax, dword [ebp - 0x1c]
je 0x4a0e88
call fcn.005a6714
cmp dword [ebp - 8], ebx
je 0x4a0eed
lea esi, [ebp - 0xc]
call fcn.00411fef
cmp dword [eax], 0
jne 0x4a0ee3
call fcn.00411fef
mov esi, eax
call fcn.00439c27
add eax, 8
mov edi, dword [eax]
cmp edi, 0xffffffff
jne 0x4a0eb7
call fcn.005dcfc0
jmp 0x4a0ee3
lea esi, [ebp - 0x14]
call fcn.00448146
push 4
lea eax, [ebp - 4]
push eax
push 0x20
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push eax
call fcn.0044812d
pop ecx
test eax, eax
jne 0x4a0ee3
call fcn.00448146
lea esi, [ebp - 0xc]
call fcn.004b089d
jmp 0x4a0e77
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
mov eax, 0x62babf
call fcn.0060ebd0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp + 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x4a9219
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.004af6ad
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x30], eax
lea eax, [esi + 0x34]
push eax
lea edi, [ebp + 0x18]
call fcn.004a8b68
mov byte [ebp - 4], bl
lea eax, [ebp + 0x10]
push eax
call fcn.0044a645
or dword [ebp - 4], 0xffffffff
mov eax, edi
push eax
call fcn.004a8a30
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x34
Function at 0x4ad47a
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x62b8e6
call fcn.0060ebd0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], 1
xor ebx, ebx
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp + 0xc]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x4ad502
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.004af6ad
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
lea edi, [ebp + 0x14]
call fcn.004a8b68
mov byte [ebp - 4], bl
lea eax, [ebp + 0xc]
push eax
call fcn.0044a645
or dword [ebp - 4], 0xffffffff
mov eax, edi
push eax
call fcn.004a8a30
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x30
Function at 0x4b3af0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x62d20c
call fcn.0060ebd0
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp + 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x4b3cb7
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.004af6ad
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x30], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.004b2fa9
mov byte [ebp - 4], bl
lea eax, [ebp + 0x10]
push eax
call fcn.0044a645
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x18]
push eax
call fcn.004b006c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x20

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

Disassembly:
mov eax, 0x62b3f6
call fcn.0060ebd0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], 1
xor ebx, ebx
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp + 0xc]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 0x4b414b
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.004af6ad
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
lea edi, [ebp + 0x14]
call fcn.004b354d
mov byte [ebp - 4], bl
lea eax, [ebp + 0xc]
push eax
call fcn.0044a645
or dword [ebp - 4], 0xffffffff
mov eax, edi
push eax
call fcn.004b19d7
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x34
Function at 0x4bcfb2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x620397
call fcn.0060ebd0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebx], vtable.libtorrent::alert.0
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
push edi
mov dword [ebx + 0xc], eax
and dword [ebp - 4], 0
lea ecx, [esi + 0x10]
lea eax, [ebx + 0x10]
mov dword [ebx], vtable.libtorrent::dht_announce_alert.0
call fcn.00424ad2
mov eax, dword [esi + 0x2c]
push 5
add esi, 0x30
lea edi, [ebx + 0x30]
pop ecx
mov dword [ebx + 0x2c], eax
rep movsd dword es:[edi], dword [esi]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4c55f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62cf71
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.004c58b0
mov esi, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.004d1580
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], 1
test ecx, ecx
je 0x4c567a
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

Function at 0x4c6880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x621878
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.005a6b81
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x4c68da
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4c8090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x62b189
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.004c68f0
lea eax, [esi + 0x18]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov cl, byte [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov byte [esp + 0x1c], 5
mov byte [esi + 0x28], cl
push 0xffffffffffffffff
lea ecx, [esi + 0x34]
mov dword [esi], vtable.CryptoPP::HashFilter.0
mov dword [esi + 4], vtable.CryptoPP::HashFilter.1.0
mov dword [esi + 0x24], eax
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401a17
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
lea ecx, [esi + 0x50]
mov byte [esp + 0x20], 6
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401a17
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov byte [esp + 0x1c], 7
jge 0x4c814e
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4c8160
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x18

Function at 0x4c86c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62cdb1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.004c8760
push eax
mov ecx, esi
call fcn.004d1580
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], 1
test ecx, ecx
je 0x4c8742
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x4cfa60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6258d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov edi, edx
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.005a6b81
add esp, 4
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d02e0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4d03d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62b0fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004d0550
xor eax, eax
mov dword [esp + 0x14], 1
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4d0670
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
call fcn.004d0840
lea eax, [esi + 0x60]
mov dword [eax + 0x48], 0x10
mov byte [eax + 0x41], 1
mov dword [eax + 0x4c], eax
mov eax, dword [esi + 0xac]
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 eax, esi
pop esi
ret
Function at 0x4d51a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62ccf0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6ea244]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
push 0x6f00d0
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], vtable.CryptoPP::ArraySink.1.0
mov dword [esp + 0x20], vtable.CryptoPP::ArraySink.0
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005acc10
mov esp, ebp
pop ebp
ret 8

Function at 0x4d52f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62ccc0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6ea244]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ecx]
xor edx, edx
push 1
push 0x6f00d0
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], eax
push edx
mov edx, dword [esi + 0x80]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.1.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.0
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005acc10
mov esp, ebp
pop ebp
ret 8
Function at 0x4da119
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
xor ecx, ecx
inc ecx
cmp dword [esi + ecx*4], eax
jne 0x4da133
inc ecx
cmp ecx, 0x10
jl 0x4da128
cmp ecx, 0x10
jne 0x4da1a8
movzx edx, byte [esi + 2]
movzx ecx, byte [esi + 1]
movzx eax, al
lea esi, [edx + edx]
add eax, eax
movzx dx, byte [eax + 0x722590]
movzx ax, byte [eax + 0x722591]
add ecx, ecx
movzx bx, byte [ecx + 0x722390]
movzx cx, byte [ecx + 0x722391]
shl dx, 6
or dx, bx
movzx bx, byte [esi + 0x722590]
shl ax, 6
or ax, cx
movzx cx, byte [esi + 0x722591]
shl dx, 5
or dx, bx
shl ax, 5
or ax, cx
mov dword [ebp - 8], 0xaaaaaaaa
movzx edx, dx
movzx ebx, ax
jmp 0x4da239
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.004d9b62
mov eax, dword [ebp - 4]
add esp, 0xc
cmp ax, word [ebp - 0xc]
je 0x4da1dd
push dword [ebp - 0xc]
lea ecx, [ebp - 0x24]
call fcn.004d9a4f
push esi
lea ecx, [ebp - 0x24]
call fcn.004d9a7f
pop ecx
pop ecx
mov dword [ebp - 8], eax
jmp 0x4da1e1
and dword [ebp - 8], 0
and dword [ebp - 0x10], 0
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
mov dword [ebp - 0x14], edx
call fcn.004d9e08
mov ebx, dword [ebp - 0xc]
pop ecx
pop ecx
test eax, eax
je 0x4da236
mov eax, dword [ebp - 4]
cmp ax, bx
je 0x4da232
push ebx
lea ecx, [ebp - 0x24]
call fcn.004d9a4f
push esi
lea ecx, [ebp - 0x24]
call fcn.004d9a7f
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x14]
je 0x4da236
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 1
jl 0x4da1e5
jmp 0x4da236
and dword [ebp - 8], 0
mov edx, dword [ebp - 4]
cmp dx, bx
jae 0x4da257
movzx eax, bx
movzx eax, ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx ebx, dx
mov edx, dword [ebp - 4]
xor eax, 0x55555555
jmp 0x4da25a
mov eax, dword [ebp - 8]
mov ecx, eax
shr ecx, 8
mov byte [edi + 5], cl
mov ecx, eax
mov byte [edi + 2], bl
shr ebx, 8
mov byte [edi], dl
shr edx, 8
shr ecx, 0x10
mov byte [edi + 4], al
shr eax, 0x18
pop esi
mov byte [edi + 3], bl
mov byte [edi + 1], dl
mov byte [edi + 6], cl
mov byte [edi + 7], al
pop ebx
leave
ret
Function at 0x4e8cfb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
cmp dword [ebx + 0x60], eax
jne 0x4e8d1b
mov ecx, dword [ebx + 0x4080]
add ecx, dword [ebx + 0x7c]
je 0x4e8d1e
xor eax, eax
inc eax
mov esi, ebx
mov dword [ebx + 0x8534], eax
call fcn.004dc220
test eax, eax
je 0x4e8d37
or eax, 0xffffffff
jmp 0x4e8e95
mov esi, dword [ebx + 0x8598]
push edi
mov edi, dword [ebx + 0x74]
call fcn.004dc95c
mov eax, dword [ebx + 0x85c0]
xor esi, esi
cmp eax, esi
jbe 0x4e8e92
shl eax, 2
push eax
call fcn.005a6c5e
pop ecx
mov dword [ebx + 0x87ec], eax
cmp eax, esi
je 0x4e8e99
mov ecx, dword [ebx + 0x85c0]
shl ecx, 2
push ecx
push esi
push eax
call fcn.005a90b0
add esp, 0xc
mov dword [ebp + 8], esi
cmp dword [ebx + 0x85c0], esi
jbe 0x4e8e92
mov eax, dword [ebx + 0x85e4]
imul eax, dword [ebx + 0x64]
imul eax, dword [ebx + 0x85e0]
cmp eax, 0x4000000
jb 0x4e8e52
lea eax, [ebp - 0x410]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
xor esi, esi
cmp eax, esi
je 0x4e8e99
cmp eax, edi
jae 0x4e8e99
lea eax, [ebp - 0x208]
push eax
push esi
push 0x69247c
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
je 0x4e8e99
lea edx, [ebp - 0x208]
lea eax, [ebp - 0x207]
cmp word [ebp + esi*2 - 0x208], 0
je 0x4e8e25
mov cl, byte [eax - 1]
test cl, cl
je 0x4e8e15
mov byte [edx], cl
inc edx
mov cl, byte [eax]
test cl, cl
je 0x4e8e1e
mov byte [edx], cl
inc edx
inc esi
inc eax
inc eax
cmp esi, edi
jb 0x4e8e00
mov byte [ebp + esi - 0x208], 0
mov esi, dword [ebp + 8]
push 0x692484
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebx + 0x87ec]
shl esi, 2
add eax, esi
push eax
call fcn.004dbd6a
add esp, 0xc
jmp 0x4e8e65
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x87ec]
shl esi, 2
add eax, esi
call fcn.004dbf88
test eax, eax
jne 0x4e8e99
mov eax, dword [ebx + 0x87ec]
mov ecx, dword [ebx + 0x85bc]
mov edi, dword [eax + esi]
mov esi, dword [ecx + esi]
call fcn.004dc95c
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 0x85c0]
jb 0x4e8d91
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
or eax, 0xffffffff
jmp 0x4e8e94