joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d84b
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x102cc320
mov eax, 4
call fcn.10007996
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 1
push esi
xor edi, edi
call fcn.10023209
mov ebx, eax
push ebx
push esi
call fcn.1001d953
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x102cc3a9
push 0xf0000040
push 1
push edi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x102cc383
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.1000975a
push esi
call fcn.1001742c
mov edi, eax
add esp, 0x10
test edi, edi
je 0x102cc3a9
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 1
push esi
call fcn.10023209
mov ebx, eax
push ebx
push esi
call fcn.1001d953
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x102cc418
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x102cc3fe
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.1000975a
push esi
call fcn.1001742c
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x102cc3a1
push esi
call fcn.1001742c
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1000de63
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
jmp 0x1038e1b0
mov eax, 0x9c
call fcn.10007996
mov eax, dword [0x107b3de0]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
test edi, edi
je 0x1038e21d
cmp edi, eax
je 0x1038e211
test ebp, ebp
je 0x1038e290
test ebx, ebx
js 0x1038e290
mov dword [esp + 0x10], 1
mov dword [esi], edi
jmp 0x1038e223
test eax, eax
je 0x1038e290
mov edi, eax
push edi
call fcn.10017bc5
add esp, 4
test al, 2
jne 0x1038e290
test ebp, ebp
je 0x1038e39b
push edi
mov dword [esp + 0x14], 1
call fcn.100075cc
add esp, 4
cmp eax, 0x90
jg 0x1038e290
cmp eax, ebx
jge 0x1038e2ab
push dword [esp + 0x14]
push edi
push dword [esi + 4]
call fcn.10015c67
add esp, 0xc
test eax, eax
je 0x1038e290
push ebx
push ebp
push dword [esi + 4]
call fcn.10015596
add esp, 0xc
test eax, eax
je 0x1038e290
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.100144fc
add esp, 0xc
test eax, eax
jne 0x1038e2c7
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10010069
add esp, 0x9c
ret
cmp ebx, 0x90
ja 0x1038e290
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call fcn.10022417
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x90
je 0x1038e2ea
mov eax, 0x90
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call fcn.1001069a
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x1038e2f0
mov ebp, dword [esp + 0x14]
push ebp
push edi
push dword [esi + 8]
call fcn.10015c67
add esp, 0xc
test eax, eax
je 0x1038e3a8
push edi
call fcn.100075cc
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.10015596
add esp, 0x10
test eax, eax
je 0x1038e3a8
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x1038e340
push ebp
push edi
push dword [esi + 0xc]
call fcn.10015c67
add esp, 0xc
test eax, eax
je 0x1038e3a8
push edi
call fcn.100075cc
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call fcn.10015596
add esp, 0x10
test eax, eax
je 0x1038e3a8
push dword [esi + 8]
push dword [esi + 4]
call fcn.1000a600
xor ebp, ebp
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebp, ecx
jmp 0x1038e3aa
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1038e37f
jmp 0x1038e2ee
xor ebp, ebp
test ebx, ebx
je 0x1038e3c0
lea eax, [esp + 0x18]
push 0x90
push eax
call fcn.1003ada0
add esp, 8
mov eax, ebp
jmp 0x1038e292

Function at 0x1000e381
Capabilities:
Get geographical location

Disassembly:
jmp 0x100c3ed0
jmp sym.WsidClient.dll_public:_struct_UserInfo____thiscall_clmdep_msgpack::v1::object::convert_struct_UserInfo__struct_UserInfo__const
Function at 0x1000f777
Capabilities:
Encode data using xor

Disassembly:
jmp 0x101b9a18
sub esp, 0x68
mov eax, dword [0x107b3de0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push esi
mov esi, dword [esp + 0x7c]
mov ebp, ecx
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov edi, dword [esi + 0x10]
mov dword [esp + 0x10], esi
test edi, edi
je 0x101b9a98
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push 8
pop esi
mov eax, ebx
mov ecx, ebp
cdq
idiv edi
push edx
call fcn.1001756c
mov al, byte [eax]
mov byte [esp + ebx + 0x1c], al
inc ebx
cmp ebx, esi
jl 0x101b9a50
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
cmp edi, esi
jle 0x101b9a94
mov ebx, dword [esp + 0x10]
push esi
mov ecx, ebx
call fcn.1001756c
mov ecx, esi
and ecx, 7
mov al, byte [eax]
xor byte [esp + ecx + 0x1c], al
inc esi
cmp esi, edi
jl 0x101b9a78
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x101b9aa6
call fcn.1000b249
mov ecx, eax
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x101b9ab0
mov eax, dword [ebx]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x38]
push edx
push dword [esp + 0x8c]
xor edx, edx
push dword [ebx + 0x10]
cmp dword [esi + 0x10], edx
push eax
lea eax, [esp + 0x30]
cmove eax, edx
push eax
push ecx
push dword [ebp + 8]
call fcn.1001d8f4
add esp, 0x20
lea ecx, [esp + 0x34]
add eax, ecx
push dword [esp + 0x14]
push eax
mov eax, ecx
lea ecx, [ebp + 0x28]
push eax
call fcn.1001961e
mov ecx, ebp
call fcn.100253ba
test eax, eax
jne 0x101b9b07
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x38], eax
jmp 0x101b9b24
mov ecx, ebp
call fcn.100253ba
push dword [esp + 0x14]
lea ecx, [esp + 0x28]
add eax, ecx
push eax
mov eax, ecx
lea ecx, [ebp + 0x34]
push eax
call fcn.1001961e
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10010069
add esp, 0x68
ret 0xc
Function at 0x10010ded
Capabilities:
Get common file path

Disassembly:
jmp 0x10158310
push 0x60
mov eax, 0x10547aeb
call fcn.1002087e
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x68]
xor ebx, ebx
mov dword [ebp - 0x6c], esi
push 0x7fff
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], ebx
call fcn.10028853
push dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x101583b8
push dword [ebp - 0x64]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x101583cb
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
push esi
push edi
mov dword [ebp - 0x58], 1
call fcn.1001a14f
cmp dword [esi + 0x14], 0x10
pop ecx
pop ecx
mov ecx, esi
jb 0x10158384
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
cmp byte [eax + ecx - 1], 0x5c
je 0x101583a3
mov ebx, 0x1059087c
push ebx
call fcn.10027093
pop ecx
push eax
push ebx
mov ecx, esi
call sym.WsidClient.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__const__unsigned_int_
cmp byte [ebp - 0x5c], 0
je 0x101583b0
push edi
call fcn.1001a334
pop ecx
mov eax, esi
call fcn.1002a0c2
ret
push str.Cannot_get_temporary_directory_path
lea ecx, [ebp - 0x28]
call sym.WsidClient.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__const_
mov byte [ebp - 4], 3
jmp 0x101583dc
push str.Cannot_get_system_directory_long_path_name
lea ecx, [ebp - 0x28]
call sym.WsidClient.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__const_
mov byte [ebp - 4], 2
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.10015460
push 0x1067bdc4
lea eax, [ebp - 0x54]
push eax
call fcn.10029a3c
int3

Function at 0x10012b1b
Capabilities:
Terminate process

Disassembly:
jmp 0x10410cf4
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x10410d05
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.100231ff
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x100134cb
Capabilities:
Query environment variable

Disassembly:
jmp 0x10474539
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1047454a
pop esi
ret
push ebx
push edi
push esi
call fcn.10474420
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100176de
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10474572
push ebx
push esi
push edi
call fcn.10022417
add esp, 0xc
push 0
call fcn.100278db
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x10013534
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x1015a4be
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x1015a4e0
push 0
push 0x9f
push str.E:2020poco_poco_1.10.1Foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.1000d404
add esp, 0x10
lea eax, [esi + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x1015a4eb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1015a4fe
shr eax, 4
and al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.1001fb1d
int3

Function at 0x10013cd2
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x101cd7e0
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x194
push 0xffffffffffffffff
push 0x1055b9ec
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x107b3de0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov eax, 1
lock xadd dword [0x107c43c0], eax
inc eax
mov ebx, 0x107c43c4
cmp eax, 1
jne 0x101cd847
lea eax, [ebp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
xor edi, edi
lock xadd dword [ebx], edi
test edi, edi
jne 0x101cd8b5
mov dword [ebp - 4], edi
push 0x20
call fcn.1000abe1
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x101cd876
push 0xffffffffffffffff
push edi
push esi
mov ecx, eax
call fcn.1000df53
jmp 0x101cd878
xor eax, eax
mov byte [ebp - 4], 0
mov ecx, eax
mov dword [esi + 4], eax
call fcn.10006a32
mov dword [esi + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.10010069
lea esp, [ebp + 0x194]
pop ebp
ret
call fcn.1000f3c6
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push str.winsock
push eax
mov dword [ebp - 0x18], edi
call fcn.1000b523
int3
Function at 0x10015366
Capabilities:
Hash data using sha224

Disassembly:
jmp 0x1031a8a0
push esi
mov esi, dword [esp + 8]
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.1001069a
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov eax, 1
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
ret

Function at 0x10017b98
Capabilities:
Query environment variable

Disassembly:
jmp 0x102c1090
mov eax, 8
call fcn.10007996
cmp dword [0x107c7e50], 0
jne 0x102c11d9
push ebx
push ebp
push esi
push edi
push 0x30
push 0x107c7df0
push str.OPENSSL_ia32cap
mov dword [0x107c7e50], 1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x102c11b2
movzx esi, word [0x107c7df0]
xor eax, eax
cmp esi, 0x7e
mov ebp, 2
cmove eax, ebp
add eax, 0x107c7df0
push eax
call fcn.102c1880
add esp, 4
mov edi, eax
mov ebx, edx
cmp esi, 0x7e
jne 0x102c1126
push 0x107ca810
mov esi, edi
call fcn.1003aa80
not edi
not ebx
and esi, 0x1000000
add esp, 4
and edi, eax
and ebx, edx
or esi, 0
je 0x102c1141
and ebx, 0xedfff7fd
jmp 0x102c1141
cmp word [0x107c7df0], 0x3a
jne 0x102c1141
push 0x107ca810
call fcn.1003aa80
add esp, 4
mov edi, eax
mov ebx, edx
movzx eax, word [0x107c7df0]
mov ecx, 0x107c7df0
test ax, ax
je 0x102c1162
add ecx, ebp
cmp ax, 0x3a
je 0x102c1178
movzx eax, word [ecx]
test ax, ax
jne 0x102c1152
mov dword [0x107ca818], 0
mov dword [0x107ca81c], 0
jmp 0x102c11c3
movzx esi, word [ecx]
xor eax, eax
cmp esi, 0x7e
cmove eax, ebp
add eax, ecx
push eax
call fcn.102c1880
add esp, 4
cmp esi, 0x7e
jne 0x102c11a5
not eax
not edx
and dword [0x107ca818], eax
and dword [0x107ca81c], edx
jmp 0x102c11c3
mov dword [0x107ca818], eax
mov dword [0x107ca81c], edx
jmp 0x102c11c3
push 0x107ca810
call fcn.1003aa80
add esp, 4
mov edi, eax
mov ebx, edx
or edi, 0x400
mov dword [0x107ca814], ebx
mov dword [0x107ca810], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100184b2
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x101ddd00
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push dword [0x107c43bc]
mov edi, dword [esp + 0x18]
mov ebp, ecx
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x101ddd2c
cmp dword [eax], esi
je 0x101ddd69
mov eax, dword [eax + 8]
test eax, eax
jne 0x101ddd21
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
je 0x101dddb8
mov dword [ebx + 0x14], 0
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x101ddd9d
mov dword [ecx + 0x14], ebx
mov dword [eax + 0x40], ebx
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
mov esi, dword [eax + 4]
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x101ddd38
mov eax, dword [edi]
cmp byte [eax + 0x38], 0
jne 0x101ddd38
mov byte [eax + 0x38], 1
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], ebx
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
mov byte [eax + 0x38], 1
mov eax, dword [edi]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi]
add eax, 0x44
mov dword [ebx + 0x14], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x101ddde0
mov dword [ecx + 0x14], ebx
jmp 0x101ddde2
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov ecx, dword [ebp + 0x14]
push 0
push dword [edi]
call fcn.10012616
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8

Function at 0x10018d68
Capabilities:
Encode data using xor

Disassembly:
jmp 0x102b9200
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
test edi, edi
je 0x102b9259
mov al, byte [edi]
test al, al
je 0x102b9259
push ebx
mov ebx, 0x100
nop dword [eax + eax]
movsx eax, al
push eax
call fcn.10003e95
or eax, ebx
lea edi, [edi + 1]
mov ecx, eax
add esp, 4
shr ecx, 2
add ebx, 0x100
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol esi, cl
xor esi, eax
mov al, byte [edi]
test al, al
jne 0x102b9220
mov eax, esi
pop ebx
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x1001917d
Capabilities:
Get mac address on windows

Disassembly:
jmp fcn.10175932
jmp 0x1017592d
jmp 0x10016a81
Function at 0x10019907
Capabilities:
Terminate thread

Disassembly:
jmp 0x101e1ef0
sub esp, 8
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x107c43cc
lock xadd dword [ecx], eax
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x101e1f3e
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
push 0x10028100
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret

Function at 0x10019f3d
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1029e320
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x1029e360
push 0xc3
push str.crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call fcn.100050ab
add esp, 0x14
xor eax, eax
test esi, esi
pop esi
sete al
ret

Function at 0x1001b3bf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x104836cb
add byte [eax - 0x78b5b], al
inc dword [eax]

Function at 0x1001b9be
Capabilities:
Get geographical location

Disassembly:
jmp 0x100da070
sub esp, 0x50
push dword [esp + 0x54]
lea eax, [ecx + 0xd8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 4], eax
lea eax, [ecx + 0xc0]
mov dword [esp + 0xc], eax
lea eax, [ecx + 0xa8]
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x90]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x78]
mov dword [esp + 0x24], eax
lea eax, [ecx + 0x60]
mov dword [esp + 0x2c], eax
lea eax, [ecx + 0x48]
mov dword [esp + 0x34], eax
lea eax, [ecx + 0x30]
mov dword [esp + 0x3c], eax
lea eax, [ecx + 0x18]
lea ecx, [esp + 4]
mov dword [esp + 8], str.login_type
mov dword [esp + 0x10], str.nickname
mov dword [esp + 0x18], str.mobile
mov dword [esp + 0x20], str.avatar_md5
mov dword [esp + 0x28], str.country
mov dword [esp + 0x30], str.lastname
mov dword [esp + 0x38], str.firstname
mov dword [esp + 0x40], str.avatar
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], str.email
mov dword [esp + 0x50], 0x1058db18
call sym.WsidClient.dll__msgpack_unpack___define_map___BY03__CBDV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std____BY05__C
add esp, 0x50
ret 4
Function at 0x1001ccd8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x10482fb6
inc edx
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.10481b44
jmp 0x1048302b
push dword [ecx + 0x73]
fstp xword [edx - 0x73]
test esp, edx
clc
invalid
stc
invalid
Function at 0x1001e80d
Capabilities:
Get geographical location

Disassembly:
jmp 0x100b7f80
sub esp, 0x60
push esi
mov esi, dword [esp + 0x68]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], esi
call sym.WsidClient.dll_public:_struct_clmdep_msgpack::v2::object___thiscall_clmdep_msgpack::v1::object::implicit_type::operator_struct_clmdep_msgpack::v2::object_struct_clmdep_msgpack::v2::object__void_
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], str.login_type
mov dword [esp + 0x20], str.nickname
mov dword [esp + 0x28], str.mobile
lea eax, [edx + 0xd8]
mov dword [esp + 0x30], str.avatar_md5
mov dword [esp + 0x14], eax
lea ecx, [edx + 0x18]
lea eax, [edx + 0xc0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x14]
lea eax, [edx + 0xa8]
mov dword [esp + 0x38], str.country
mov dword [esp + 0x24], eax
lea eax, [edx + 0x90]
mov dword [esp + 0x2c], eax
lea eax, [edx + 0x78]
mov dword [esp + 0x34], eax
lea eax, [edx + 0x60]
mov dword [esp + 0x3c], eax
lea eax, [edx + 0x48]
mov dword [esp + 0x44], eax
lea eax, [edx + 0x30]
mov dword [esp + 0x4c], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 0x44], str.lastname
mov dword [esp + 0x4c], str.firstname
mov dword [esp + 0x54], str.avatar
mov dword [esp + 0x5c], str.email
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0x1058db18
call sym.WsidClient.dll__msgpack_unpack___define_map___BY03__CBDV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std____BY05__C
mov eax, esi
pop esi
add esp, 0x60
ret
Function at 0x10022692
Capabilities:
Resolve dns

Disassembly:
jmp 0x101a3d3b
push 0x44
mov eax, 0x105524c8
call fcn.1002087e
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], edi
cmp dword [esi + 0x10], ebx
je 0x101a3dbf
push 0x20
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.1001069a
add esp, 0xc
mov dword [ebp - 0x50], 4
cmp dword [esi + 0x14], 0x10
jb 0x101a3d75
mov esi, dword [esi]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x101a3dbf
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax + 0x18]
push dword [eax + 0x18]
add eax, 8
push eax
call fcn.100023d8
push dword [ebp - 0x30]
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1001ef83
lea ecx, [ebp - 0x2c]
call fcn.1000a1b4
jmp 0x101a3dc6
mov ecx, edi
call fcn.10004066
mov eax, edi
call fcn.1002a0c2
ret

Function at 0x10022ee4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x1023ad60
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x1023ad6c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
ret

Function at 0x10023e25
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x1031adb0
push esi
mov esi, dword [esp + 8]
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.1001069a
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
ret
Function at 0x10026139
Capabilities:
Encode data using xor

Disassembly:
jmp 0x102b8ea0
push esi
mov esi, dword [esp + 8]
xor edx, edx
test esi, esi
je 0x102b8ee6
mov al, byte [esi]
test al, al
je 0x102b8ee6
push edi
mov edi, 0x100
movsx eax, al
lea esi, [esi + 1]
or eax, edi
add edi, 0x100
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol edx, cl
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x102b8eb7
mov eax, edx
shr eax, 0x10
pop edi
xor eax, edx
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x1002671f
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1029cc90
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xc]
mov edi, eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
ret

Function at 0x10026bd4
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x101c04d0
mov edx, dword [esp + 8]
movzx eax, byte [edx]
xor eax, dword [esp + 4]
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
ret