joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013bc70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10268318
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10310644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x1013bcb3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.1008b070
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1013bcdc
lea edx, [esi + 8]
jmp 0x1013bcde
xor edx, edx
mov ecx, ebx
call fcn.1004d050
test al, al
jne 0x1013bcf0
call fcn.1004b830
jmp 0x1013bcf2
xor eax, eax
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x1013bd13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1013bd13
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1013bd3c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1013bd51
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.101afe54
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101afab5
mov esp, ebp
pop ebp
ret 4

Function at 0x1013e530
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x10310644]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x1013e5b2
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x1013e5b2
test ecx, ecx
je 0x1013e5ae
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x1013e570
xor eax, eax
jmp 0x1013e5b7
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1013e5c1
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101afab5
add esp, 0xc
ret 0xc
Function at 0x1013e640
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x10310644]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1013e66e
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.101afab5
add esp, 8
ret 4
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x1013e657
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1013e6b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1013e6b4
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.101afab5
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, edi
mov dword [esi], eax
adc ecx, 0
xor eax, eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.101afab5
add esp, 8
ret 4

Function at 0x10148f30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10268910
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
lea eax, [esi + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [esi + 8], ecx
test ecx, ecx
je 0x10148f95
mov eax, dword [esi + 0x10]
pop esi
test eax, eax
je 0x10148f85
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x10148fc5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.cannot_create_thread
lea ecx, [ebp - 0x24]
call fcn.1004b980
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.1013fec0
push 0x10309360
lea eax, [ebp - 0x68]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x3c]
call fcn.1004b980
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x94]
call fcn.1013fec0
push 0x10309360
lea eax, [ebp - 0x94]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1014f990
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x1014f9af
push 0
push 0x5e
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_src_foundation_src_file_win32u.cpp
push str.__path.empty__
call fcn.1013ed50
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x1014f9ba
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1014f9e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x1014f9db.4
movzx eax, byte [eax + 0x1014f9fc]
jmp dword [eax*4 + 0x1014f9f4]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.1014fa10
nop
sbb eax, 0x90000000
loop 0x1014f9ef
adc al, 0x10
ljmp 0x100
Function at 0x1014fa10
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102690f8
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x1014fbe8
je case.0x1014fa5e.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x1014fa5e.4
movzx eax, byte [eax + 0x1014fc84]
jmp dword [eax*4 + 0x1014fc48]
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f770
push 0x103011d8
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f650
push 0x103012b0
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f720
push 0x10301190
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f340
push 0x103012f8
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f410
push 0x103013d0
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013ff90
push 0x10301340
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013fd50
push 0x10301388
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.sharing_violation
lea ecx, [ebp - 0x24]
call fcn.1004b980
mov dword [ebp - 4], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.1013f6a0
push 0x1030114c
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.lock_violation
lea ecx, [ebp - 0x24]
call fcn.1004b980
mov dword [ebp - 4], 1
jmp 0x1014fb2f
push str.EOF_reached
lea ecx, [ebp - 0x24]
call fcn.1004b980
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.1013fd20
push 0x10301388
jmp 0x1014fb44
push str.disk_is_full
lea ecx, [ebp - 0x24]
call fcn.1004b980
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.1013ff60
push 0x10301340
jmp 0x1014fb44
push str.negative_seek
lea ecx, [ebp - 0x24]
call fcn.1004b980
mov dword [ebp - 4], 4
jmp 0x1014fb2f
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.1013fc60
push 0x103010e0
jmp 0x1014fb44
cmp esi, 0x781
je case.0x1014fa5e.3
cmp esi, 0x1779
je 0x1014fc17
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.1013f6d0
push 0x1030114c
lea eax, [ebp - 0x90]
jmp 0x1014fb47
push 0x1779
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.1013f7c0
push 0x10301268
jmp 0x1014fb44
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.1013fc10
push 0x10301220
jmp 0x1014fb44
Function at 0x1014fd60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x1014fd82
push 0
push 0x9f
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_src_foundation_src_file_win32u.cpp
push str.__path.empty__
call fcn.1013ed50
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x1014fd8d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1014fda0
shr eax, 4
and al, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.1014fa10
int3

Function at 0x10150400
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10269168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
xor eax, eax
mov dword [ebp - 0x24], 0
push edi
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.10148480
push 0xfffe
mov dword [ebp - 0x1c], 0x7fff
mov dword [ebp - 0x18], 0x7fff
mov byte [ebp - 0x10], 1
call fcn.101aff88
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
push 0x7fff
cmovae ecx, dword [ebp - 0x34]
push edi
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10150553
cmp eax, 0x7ffe
jae 0x10150553
lea esi, [eax + 1]
cmp esi, 0x7fff
jb 0x101504b8
push 0
push 0x130
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_src_foundationincludepoco_buffer.h
push str.index____used
call fcn.1013ed50
add esp, 0x10
xor eax, eax
mov word [edi + esi*2], ax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], al
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.10148980
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
movups xmm0, xmmword [ebp - 0x4c]
add esp, 8
mov byte [ebp - 0x4c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
call fcn.1004b930
push edi
call fcn.101aff83
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 8
jb 0x1015056a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10150560
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10150560
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.1004d130
jmp 0x10150518
push edx
push ecx
call fcn.101afe54
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10153fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026939e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.101566d0
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.101afade
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.10145970
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x34], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x101580d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102698f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [edi]
mov dword [ebx], edx
mov eax, dword [edi + 4]
push edx
mov dword [ebx + 4], eax
call esi
mov al, byte [edi + 8]
mov byte [ebx + 8], al
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [edi + 0x10]
push ecx
mov dword [ebp - 4], 0
mov dword [ebx + 0x10], eax
call esi
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 1
call fcn.1013ecf0
mov ecx, dword [edi + 0x2c]
mov dword [ebx + 0x2c], ecx
mov eax, dword [edi + 0x30]
push ecx
mov dword [ebx + 0x30], eax
call esi
lea eax, [edi + 0x34]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x34]
call fcn.10157ed0
mov ecx, dword [edi + 0x40]
mov dword [ebx + 0x40], ecx
mov eax, dword [edi + 0x44]
push ecx
mov dword [ebx + 0x44], eax
call esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0xf
mov byte [ebx + 0x48], 0
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1017c790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026bbfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [esi + 4]
push eax
lea ecx, [edi + 4]
mov dword [edi], vtable.Poco::Data::MetaColumn.0
call fcn.1004d130
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov al, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
push dword [ebp + 0xc]
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 0
call fcn.1017d360
lea ebx, [edi + 0x38]
mov byte [ebp - 4], 1
push 8
mov dword [ebp + 8], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.101afade
mov dword [ebx], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebx]
mov dword [eax], ebx
mov edx, dword [edi + 0x34]
mov byte [ebp - 4], 2
test edx, edx
jne 0x1017c86a
push 0xc8
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_srcdataincludepocodatacolumn.h
push str._pData
call fcn.1013ef60
mov edx, dword [edi + 0x34]
add esp, 0xc
test edx, edx
je 0x1017c8b8
mov ecx, dword [edx + 0xc]
mov esi, dword [edx]
test ecx, ecx
jns 0x1017c88b
mov eax, ecx
neg eax
je 0x1017c88b
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub esi, eax
jmp 0x1017c893
mov eax, ecx
shr eax, 5
lea esi, [esi + eax*4]
and ecx, 0x1f
push ecx
push esi
push 0
push dword [edx]
mov ecx, ebx
call fcn.10170f60
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 0x40]
call fcn.1013fbd0
push 0x103094bc
lea eax, [ebp - 0x40]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1017d3e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026bf44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov ebx, ecx
push edi
push 0
mov dword [ebp - 0x14], ebx
lea eax, [ebx + 0xc]
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
push eax
mov dword [ebx], vtable.Poco::Data::StatementImpl.0
mov dword [ebx + 8], 0
call fcn.1017b7d0
add esp, 0xc
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x30]
mov dword [ebx + 0x24], eax
lea ecx, [edi + 0x50]
mov dword [ebx + 0x28], 3
mov dword [ebp + 8], edi
mov byte [ebp - 4], 1
mov dword [edi], 0x102e1138
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea esi, [edi + 4]
mov byte [ebp - 4], 2
push esi
mov ecx, edi
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [edi]
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 4
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
lea esi, [ebx + 0xd4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea edi, [ebx + 0xec]
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [ebx + 0x24]
mov byte [ebp - 4], 7
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x1017d595
push esi
push 1
mov ecx, esi
call fcn.1016bcd0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebx + 0x18]
push ecx
push 1
call fcn.1016b9f0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push edi
push 1
mov ecx, edi
call fcn.10138d80
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x24]
push 0
call fcn.10163ec0
push eax
lea ecx, [ebp - 0x44]
call fcn.10168a80
push 0x10303988
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x101a0900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10269ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 4], 0
test edi, edi
je 0x101a0962
push dword [esi + 0x10]
mov eax, dword [edi]
mov ecx, edi
push dword [esi + 0xc]
call dword [eax + 0x30]
lea ecx, [ebp - 0x14]
call fcn.10148dc0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40]
call fcn.1013fbd0
push 0x103094bc
lea eax, [ebp - 0x40]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x101b5cb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.102610d0
mov eax, dword [0x10310644]
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 0x101b5d1d
cmp edi, eax
je 0x101b5d11
test ebp, ebp
je 0x101b5d90
test ebx, ebx
js 0x101b5d90
mov dword [esp + 0x10], 1
mov dword [esi], edi
jmp 0x101b5d23
test eax, eax
je 0x101b5d90
mov edi, eax
push edi
call fcn.101b3730
add esp, 4
test al, 2
jne 0x101b5d90
test ebp, ebp
je 0x101b5e9b
push edi
mov dword [esp + 0x14], 1
call fcn.101b3b30
add esp, 4
cmp eax, 0x90
jg 0x101b5d90
cmp eax, ebx
jge 0x101b5dab
push dword [esp + 0x14]
push edi
push dword [esi + 4]
call fcn.101bd150
add esp, 0xc
test eax, eax
je 0x101b5d90
push ebx
push ebp
push dword [esi + 4]
call fcn.101bd2f0
add esp, 0xc
test eax, eax
je 0x101b5d90
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.101bd0b0
add esp, 0xc
test eax, eax
jne 0x101b5dc7
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101afab5
add esp, 0x9c
ret
cmp ebx, 0x90
ja 0x101b5d90
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x90
je 0x101b5dea
mov eax, 0x90
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
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 0x101b5df0
mov ebp, dword [esp + 0x14]
push ebp
push edi
push dword [esi + 8]
call fcn.101bd150
add esp, 0xc
test eax, eax
je 0x101b5ea8
push edi
call fcn.101b3b30
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.101bd2f0
add esp, 0x10
test eax, eax
je 0x101b5ea8
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 0x101b5e40
push ebp
push edi
push dword [esi + 0xc]
call fcn.101bd150
add esp, 0xc
test eax, eax
je 0x101b5ea8
push edi
call fcn.101b3b30
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call fcn.101bd2f0
add esp, 0x10
test eax, eax
je 0x101b5ea8
push dword [esi + 8]
push dword [esi + 4]
call fcn.101bd310
xor ebp, ebp
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebp, ecx
jmp 0x101b5eaa
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x101b5e7f
jmp 0x101b5dee
xor ebp, ebp
test ebx, ebx
je 0x101b5ec0
lea eax, [esp + 0x18]
push 0x90
push eax
call fcn.10001320
add esp, 8
mov eax, ebp
jmp 0x101b5d92