joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100543e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate___START_
push eax
call fcn.10077b60
mov ecx, dword [esi + 0x50]
push ebx
push str._CORE__XWSSLClient::connectXgate__IN_ip:__s_
push ecx
call fcn.10077b60
mov ebp, dword [esp + 0x40]
mov edx, dword [esi + 0x50]
push ebp
push str._CORE__XWSSLClient::connectXgate__IN_port:__d_
push edx
call fcn.10077b60
add esp, 0x20
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov edi, eax
cmp edi, 0xffffffff
mov dword [esi + 0x40], edi
jne 0x1005447d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate__socket_create_fail__GetLastError:_d_
push eax
call fcn.10077b60
mov ecx, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate___END_
push ecx
call fcn.10077b60
add esp, 0x14
or eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10090e24
add esp, 0x14
ret 8
xor eax, eax
mov dword [esp + 0x10], eax
push ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x14], 2
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x100544ba
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [esp + 0x1c]
push edx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
jmp 0x100544c4
push ebx
call sub.WS2_32.dll_inet_addr
mov dword [esp + 0x14], eax
push ebp
call sub.WS2_32.dll_htons
mov word [esp + 0x12], ax
push 0x10
lea eax, [esp + 0x14]
push eax
push edi
call sub.WS2_32.dll_connect
test eax, eax
je 0x10054527
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x50]
push eax
push str._CORE__XWSSLClient::connectXgate__connect_fail__GetLastError:_d_
push ecx
call fcn.10077b60
add esp, 0xc
push edi
call sub.WS2_32.dll_closesocket
mov edx, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate___END_
push edx
call fcn.10077b60
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10090e24
add esp, 0x14
ret 8
mov eax, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate___COMPLETE_
push eax
call fcn.10077b60
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10090e24
add esp, 0x14
ret 8
Function at 0x10055080
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x1009aa5d
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push ebx
mov dword [esp + 0x1b4], ebx
call fcn.100779c0
add esp, 4
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1009fc09
mov dword [esi + 0x50], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.10065760
mov dword [esi + 0x48], eax
call fcn.10031f80
push 0x10
mov dword [esi + 0x44], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x24
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0x1b0], 1
je 0x1005512b
mov ecx, eax
call fcn.10066cd0
jmp 0x1005512d
xor eax, eax
mov ecx, esi
mov byte [esp + 0x1b0], bl
mov dword [esi + 0x4c], eax
mov dword [esi + 0x1c], 0x100ca814
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi], sym.XecureMacuxCSM.dll_private:_int___thiscall_XWSSLClient::getUserCert_struct__SFSSL_DATALIST___struct__SFSSL_DATALIST____struct_SFSSL_DATA____unsigned_char___void____struct_SFSSL_VSC____struct_SFSSL_PKCS11___struct_SFSSL_SECURITY_OPTION__
mov dword [esi + 4], sym.XecureMacuxCSM.dll_private:_int___thiscall_XWSSLClient::verifyUserCert_struct__SFSSL_DATALIST___struct_SFSSL_SECURITY_OPTION__
call sym.XecureMacuxCSM.dll_private:_int___thiscall_XWSSLClient::initSSLClientConfig_void_
lea eax, [esp + 0x14]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x1005517f
mov ecx, dword [esi + 0x50]
push str._FATAL__winsock_start_error
push ecx
call fcn.10077ad0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.10090e24
add esp, 0x1a8
ret
Function at 0x100554e0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
call fcn.100779c0
mov ebx, eax
push str._CORE__AcceptResponse___START_
push ebx
xor edi, edi
call fcn.10077b60
push 0x100
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1005551b
mov eax, dword [esp + 0x18]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
push 0x100
push 0
push esi
call sub.MSVCR80.dll_memset
push str._CORE__AcceptResponse__InternetReadFile_start
push ebx
call fcn.10077b60
mov ebp, dword [esp + 0x2c]
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
push 0xff
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100555a2
mov edx, dword [esp + 0x10]
push edx
push str._CORE__AcceptResponse__InternetReadFile___d_
push ebx
call fcn.10077b60
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x100555a2
add edi, eax
lea eax, [edi + 0x100]
push eax
push esi
mov byte [esi + edi], 0
call dword [sym.imp.MSVCR80.dll_realloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100555f1
lea ecx, [esp + 0x10]
push ecx
push 0xff
lea edx, [esi + edi]
push edx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10055551
mov edi, dword [esp + 0x1c]
push esi
push str._CORE__AcceptResponse__Data__s_
push ebx
mov dword [edi], esi
call fcn.10077b60
mov eax, dword [edi]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100555c0
sub eax, edx
push eax
push str._CORE__AcceptResponse___END__ResponseLen:_d__
push ebx
call fcn.10077b60
mov eax, dword [edi]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100555e0
pop ebp
pop edi
pop esi
sub eax, edx
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x1c]
push str._CORE__AcceptResponse___END__Response:NULL__
push ebx
mov dword [eax], 0
call fcn.10077b60
add esp, 8
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10056590
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1009ac5a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.XWSSLMng.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov byte [esp + 0x1c], 2
call fcn.100589b0
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x1009fc09
mov dword [esi + 4], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.10065760
mov dword [esi + 8], eax
call sym.XecureMacuxCSM.dll_public:_static_class_XWSSLClient____cdecl_XWSSLClient::getInstance_void_
mov dword [esi + 0xc], eax
call fcn.10031f80
push 0x10
mov dword [esi + 0x10], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x24
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x1c], 3
je 0x10056648
mov ecx, eax
call fcn.10066cd0
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
mov dword [esi + 0x14], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x10058a70
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x10058b60
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
jl 0x10058af2
movzx eax, byte [esi + 2]
xor edx, edx
mov dh, byte [esi]
add ecx, 1
add ecx, 1
add ecx, 1
mov dl, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 3], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 2], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], al
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x10058b4b
movzx edx, byte [esi]
shl edx, 0x10
cmp edi, 2
jne 0x10058b04
xor eax, eax
mov ah, byte [esi + 1]
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
add ecx, 1
cmp edi, 1
jne 0x10058b36
lea edx, [edi + 0x3c]
jmp 0x10058b43
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
add ecx, 1
mov byte [ecx], 0x3d
sub edi, 3
add ecx, 1
add ebp, 4
add esi, 3
test edi, edi
jg 0x10058a90
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x1005ea50
Capabilities:
Get socket status
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x118
push esi
mov esi, dword [esp + 0x130]
test esi, esi
mov dword [esp + 4], 1
mov dword [esp + 8], 0x2733
mov dword [esp + 0x10], esi
jne 0x1005eaa3
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x124]
push eax
mov eax, dword [esp + 0x124]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
pop esi
add esp, 0x118
ret
push edi
push 0
call dword [sym.imp.MSVCR80.dll__time64]
mov edi, dword [esp + 0x128]
add esp, 4
lea ecx, [esp + 8]
push ecx
push 0x8004667e
add eax, esi
push edi
mov dword [esp + 0x1c], eax
call sub.WS2_32.dll_ioctlsocket
test eax, eax
mov dword [esp + 8], 0
je 0x1005eae9
call sub.WS2_32.dll_WSAGetLastError
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x118
ret
mov edx, dword [esp + 0x128]
push ebx
mov ebx, dword [esp + 0x134]
push ebp
mov ebp, dword [esp + 0x134]
push ebx
push ebp
push edx
push edi
call sub.WS2_32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005eb8e
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
mov dword [esp + 0x14], eax
jne 0x1005eb8e
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x40
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 0
call sub.WS2_32.dll_select
mov esi, eax
cmp esi, 0xffffffff
je 0x1005eb85
test esi, esi
je 0x1005ebba
mov edx, dword [esp + 0x130]
push ebx
push ebp
push edx
push edi
call sub.WS2_32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005eb8e
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
mov dword [esp + 0x14], eax
jne 0x1005eb8e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1005eb20
call sub.WS2_32.dll_WSAGetLastError
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
push ecx
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
cmp esi, 0xffffffff
jne 0x1005ebad
mov edx, dword [esp + 0x14]
push edx
call sub.WS2_32.dll_WSASetLastError
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0x118
ret
lea eax, [esp + 0x10]
push eax
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
push 0
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
cmp eax, dword [esp + 0x18]
jb 0x1005eb8e
push 0x2714
call sub.WS2_32.dll_WSASetLastError
pop ebp
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x118
ret
Function at 0x1005ec00
Capabilities:
Get socket status
Receive data
Receive data on socket
Set socket configuration

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x128]
test eax, eax
mov dword [esp + 4], 1
mov dword [esp], 0x2733
mov dword [esp + 8], eax
jne 0x1005ec50
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push eax
mov eax, dword [esp + 0x11c]
push ecx
push edx
push eax
call sub.WS2_32.dll_recv
add esp, 0x114
ret
push edi
push 0
call dword [sym.imp.MSVCR80.dll__time64]
mov edi, dword [esp + 0x120]
add esp, 4
lea ecx, [esp + 8]
push ecx
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
test eax, eax
mov dword [esp + 8], 0
je 0x1005ec8f
call sub.WS2_32.dll_WSAGetLastError
or eax, 0xffffffff
pop edi
add esp, 0x114
ret
mov edx, dword [esp + 0x120]
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
mov ebp, dword [esp + 0x12c]
push esi
push ebx
push ebp
push edx
push edi
call sub.WS2_32.dll_recv
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005ed47
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
mov dword [esp + 0x10], eax
jne 0x1005ed47
lea eax, [esp + 0x18]
push eax
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0x40
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0
call sub.WS2_32.dll_select
mov esi, eax
cmp esi, 0xffffffff
je 0x1005ed3e
test esi, esi
jne 0x1005ed27
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
push 0x2733
call sub.WS2_32.dll_WSASetLastError
pop esi
pop ebp
pop ebx
or eax, 0xffffffff
pop edi
add esp, 0x114
ret
mov eax, dword [esp + 0x12c]
push ebx
push ebp
push eax
push edi
call sub.WS2_32.dll_recv
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005ed47
call sub.WS2_32.dll_WSAGetLastError
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
cmp esi, 0xffffffff
jne 0x1005ed66
mov edx, dword [esp + 0x10]
push edx
call sub.WS2_32.dll_WSASetLastError
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x114
ret
Function at 0x100605b0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x37c8
call fcn.10090e60
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0x37c4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x37d4]
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x14], ebp
xor edi, edi
jmp 0x100605e0
push edi
lea eax, [esp + 0x28]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
cmp dword [ebp], ebx
jne 0x10060790
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1006061d
push eax
jmp 0x1006078a
xor eax, eax
push 0x2710
lea edx, [esp + 0x10c8]
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
lea eax, [esp + 0x14]
push eax
push 0x2710
lea ecx, [esp + 0x10d0]
push ecx
push 0xc
lea edx, [esp + 0x2c]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10060783
push 0x3e7
lea eax, [esp + 0x129]
push ebx
push eax
mov byte [esp + 0x130], bl
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x10dc]
lea ecx, [esp + 0xce8]
push ecx
push ebx
push edx
lea eax, [esp + 0x10dc]
push eax
call fcn.10060430
mov edx, dword [esp + 0x10f0]
lea ecx, [esp + 0x528]
push ecx
push ebx
push edx
lea eax, [esp + 0x10ec]
push eax
call fcn.10060430
mov edx, dword [esp + 0x1104]
lea ecx, [esp + 0x920]
push ecx
push ebx
push edx
lea eax, [esp + 0x10fc]
push eax
call fcn.10060430
mov edx, dword [esp + 0x1118]
lea ecx, [esp + 0x160]
push ecx
push 1
push edx
lea eax, [esp + 0x110c]
push eax
call fcn.10060430
add esp, 0x4c
cmp byte [ebp + 4], bl
jne 0x10060746
movsx ecx, byte [esp + 0x124]
push ecx
call dword [sym.imp.MSVCR80.dll_isalnum]
add esp, 4
test eax, eax
jne 0x100607bd
movsx edx, byte [esp + 0x137]
push edx
call dword [sym.imp.MSVCR80.dll_isalnum]
add esp, 4
test eax, eax
jne 0x100607bd
push 0x2710
lea eax, [esp + 0x10c8]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
lea ecx, [esp + 0x14]
push ecx
push 0x2710
lea edx, [esp + 0x10d0]
push edx
push ebx
push ebx
push 0x700a0
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10060790
jmp 0x10060789
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
add ebp, 0x84
cmp edi, 4
jl 0x100605e0
xor eax, eax
mov ecx, dword [esp + 0x37d4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10090e24
add esp, 0x37c8
ret
mov eax, dword [esp + 0x14]
imul edi, edi, 0x84
add edi, eax
push 0x80
lea ebp, [edi + 4]
push ebx
push ebp
call sub.MSVCR80.dll_memset
push 0x7f
lea ecx, [esp + 0x134]
push ecx
push ebp
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0x18
push esi
mov dword [edi], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x100607a4
Function at 0x10061480
Capabilities:
Encode data using xor

Disassembly:
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10061485
sub eax, edx
mov edx, eax
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x100614bb
push edi
jmp 0x100614a0
movsx edi, byte [ecx + esi]
add edi, eax
imul edi, edi, 0x401
mov eax, edi
shr edi, 6
add ecx, 1
xor eax, edi
cmp ecx, edx
jl 0x100614a0
pop edi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x10062680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009b249
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
push ecx
push 6
push 0x1c
add edi, 0x1c
push edi
lea edx, [esi + 0x1c]
push edx
mov dword [esp + 0x30], 0
call fcn.100912aa
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x10067f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009bfcb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + 8]
lea esi, [ecx + 4]
mov ecx, dword [eax + 4]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.10067ba0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.10067de0
mov eax, dword [esi + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x10067fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009bffb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
lea esi, [edi + 4]
mov ecx, esi
mov dword [edi], 0
call fcn.100673a0
mov dword [esi + 4], eax
mov byte [eax + 0xa5], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], 0
push 0
mov dword [esp + 0x20], 0
call fcn.100779c0
add esp, 4
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x1009fc09
mov dword [edi + 0x10], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.10065760
mov dword [edi + 0x14], eax
add esp, 0x20
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x10069140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009c168
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.10068b00
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.10069030
mov eax, dword [esi + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret