joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a260
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5099d8]
xor edx, edx
cmp eax, edx
jne 0x46a286
xor eax, eax
mov byte [eax + 0x5098d8], al
inc eax
cmp eax, 0x100
jl 0x46a26e
mov dword [0x5099d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5098d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46a317
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46a2ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x46a2b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46a320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46a373
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46a35a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49fe3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00471650
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4ad1e4
call fcn.00490a92
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x470dc3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00490a92
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x470dbc
push 0
mov ecx, eax
call fcn.00467ea0
mov dword [esi + 0xc], eax
jmp 0x470dc5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x470dc5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x10002c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101083a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10145df0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push edi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea eax, [esp + 0x2c]
push eax
lea edi, [esp + 0x60]
mov dword [esp + 0x58], ebx
call fcn.10008750
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.100b4550
push esi
mov ecx, eax
mov byte [esp + 0x58], 2
call fcn.10002af0
mov edi, 8
cmp dword [esp + 0x28], edi
jb 0x10002d10
mov edx, dword [esp + 0x14]
push edx
call fcn.100c5661
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp dword [esp + 0x44], edi
jb 0x10002d36
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100c5661
add esp, 4
xor edx, edx
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
jb 0x10002d5d
mov eax, dword [esp + 0x60]
push eax
call fcn.100c5661
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100c4be1
add esp, 0x4c
ret

Function at 0x1000a0a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x101071fb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1006a6ed
push 4
mov dword [esp + 0x24], 0
call fcn.100c5736
mov edi, eax
add esp, 4
test edi, edi
je 0x1000a122
call fcn.1006a2c7
mov dword [edi], eax
call fcn.1006a0cb
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.1006a51a
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x1000a117
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.1006a542
jmp 0x1000a124
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x1000dda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10108114
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esi + 0x28], 0x1011cc34
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x14], 0
push edi
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.10009880
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::bad_format_string__.0
mov dword [esi + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::bad_format_string__.1.0
mov edx, dword [eax + 4]
lea ecx, [esi + 0x14]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::bad_format_string__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea edx, [eax - 8]
mov dword [eax + esi + 0x24], edx
test edi, edi
je 0x1000de30
lea eax, [edi + 0x14]
jmp 0x1000de32
xor eax, eax
push eax
push ecx
call fcn.10002790
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x1000f970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1010aed0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x90]
lea eax, [esp + 0x14]
push eax
mov eax, ebp
call fcn.1000f890
xor ebx, ebx
push eax
mov dword [esp + 0x8c], ebx
call fcn.10008600
mov edx, dword [eax]
add esp, 4
mov ecx, eax
mov eax, dword [edx + 0x18]
push 0x20
call eax
mov dword [esp + 0x88], 0xffffffff
mov edi, dword [esp + 0x14]
mov byte [esp + 0x90], al
cmp edi, ebx
je 0x1000fa20
push ebx
lea ecx, [esp + 0x1c]
call fcn.1006a51a
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x1000f9fe
cmp eax, 0xffffffff
jae 0x1000f9fe
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.1006a542
cmp esi, ebx
je 0x1000fa20
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1000facc
mov cl, byte [esp + 0x90]
mov eax, 0xf
or esi, 0xffffffff
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x70], bl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 6
mov byte [esp + 0x60], cl
mov dword [esp + 0x64], 0x201
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x78], 0x7fffffff
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x90], 1
call fcn.100123d0
mov dword [esp + 0x88], esi
lea esi, [esp + 0x1c]
call fcn.1000d590
jmp 0x1000fb89
mov esi, dword [esp + 0x94]
cmp esi, eax
jbe 0x1000faf6
mov ecx, dword [esp + 0x90]
sub esp, 0x64
mov eax, esp
mov dword [esp + 0x7c], esp
push ecx
call fcn.1000dd00
mov ecx, esi
mov edx, ebp
call fcn.1000dab0
lea edi, [ebp + 0x18]
call fcn.10011810
xor edi, edi
cmp esi, ebx
jbe 0x1000fb89
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1000fb2c
call fcn.100c55dd
mov esi, dword [ebp + 0xc]
add esi, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 4]
mov dword [esi], 0xffffffff
mov dword [esi + 0x5c], 0x7fffffff
mov dword [esi + 0x60], ebx
call fcn.100074e0
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x20]
call fcn.100074e0
mov cl, byte [esp + 0x90]
add dword [esp + 0x14], 0x64
inc edi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 6
mov byte [esi + 0x44], cl
mov dword [esi + 0x48], 0x201
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
cmp edi, dword [esp + 0x94]
jb 0x1000fb0c
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x4c]
call fcn.100074e0
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8
Function at 0x10011990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10107f14
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esi + 0x28], 0x1011ccb4
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x14], 0
push edi
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.1000d6c0
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_few_args__.0
mov dword [esi + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_few_args__.1.0
mov edx, dword [eax + 4]
lea ecx, [esi + 0x14]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_few_args__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea edx, [eax - 8]
mov dword [eax + esi + 0x24], edx
test edi, edi
je 0x10011a20
lea eax, [edi + 0x14]
jmp 0x10011a22
xor eax, eax
push eax
push ecx
call fcn.10002790
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x10013960
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1010ae58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esi + 0x40]
mov ebx, dword [esi + 0x44]
cmp edi, ebx
jl 0x100139c9
test byte [esi + 0x68], 4
je 0x10013aae
lea ecx, [esp + 0x18]
call fcn.100c4c4d
mov dword [esp + 0x18], vtable.boost::io::too_many_args.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0
call fcn.10014d90
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x10013aae
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x100139f5
call fcn.100c55dd
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
cmp edx, dword [esi + 0x40]
jne 0x10013a89
cmp byte [esi + 0xb8], 0
je 0x10013a1d
lea ecx, [esi + 0xbc]
mov dword [esp + 0x14], ecx
jmp 0x10013a25
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10013a44
call fcn.100c55dd
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10013a66
call fcn.100c55dd
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea edx, [eax + ebx + 4]
push edx
mov edx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp + 8]
push edx
lea ecx, [esi + 0x6c]
push eax
call fcn.10014e00
add esp, 0x10
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x100139f5
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100147a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10107e18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10145df0]
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 fcn.10001890
mov dword [esi], vtable.boost::bad_function_call.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x100147ea
add edi, 0x28
jmp 0x100147ec
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x10014804
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
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 0x100149e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10107df4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esi + 0x28], 0x1011cc74
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x14], 0
push edi
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.10011590
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.0
mov dword [esi + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.1.0
mov edx, dword [eax + 4]
lea ecx, [esi + 0x14]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea edx, [eax - 8]
mov dword [eax + esi + 0x24], edx
test edi, edi
je 0x10014a70
lea eax, [edi + 0x14]
jmp 0x10014a72
xor eax, eax
push eax
push ecx
call fcn.10002790
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x100168e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010adf4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ebp, [edi + 8]
mov dword [ebp], 0x1011cd44
mov dword [edi + 0xc], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x1c]
push eax
push esi
lea ecx, [edi + 4]
mov dword [esp + 0x20], 1
mov dword [edi], esi
call fcn.10018d00
push esi
push esi
push edi
call fcn.10002970
add esp, 0xc
mov dword [esp + 0x2c], 1
mov ecx, dword [edi]
mov eax, ebp
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [eax + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.100025c0
mov eax, dword [esp + 0x1c]
push 0x20
mov ecx, esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
call fcn.10009b30
mov byte [esi + 0x30], al
cmp dword [esi + 0x28], ebx
jne 0x100169a7
mov eax, dword [esi + 8]
or eax, 4
push ebx
push eax
mov ecx, esi
call fcn.100022a0
mov dword [esi + 4], ebx
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
mov dword [edx + edi + 8], vtable.boost::io::basic_oaltstringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x10018190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10107cb4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esi + 0x28], 0x1011cd34
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x14], 0
push edi
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.10016170
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.0
mov dword [esi + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.1.0
mov edx, dword [eax + 4]
lea ecx, [esi + 0x14]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea edx, [eax - 8]
mov dword [eax + esi + 0x24], edx
test edi, edi
je 0x10018220
lea eax, [edi + 0x14]
jmp 0x10018222
xor eax, eax
push eax
push ecx
call fcn.10002790
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x10019c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10108fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10145df0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push edi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea eax, [esp + 0x2c]
push eax
lea edi, [esp + 0x60]
mov dword [esp + 0x58], ebx
call fcn.10008750
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.100b4550
push esi
mov ecx, eax
mov byte [esp + 0x58], 2
call fcn.10002af0
mov edi, 8
cmp dword [esp + 0x28], edi
jb 0x10019ca0
mov edx, dword [esp + 0x14]
push edx
call fcn.100c5661
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp dword [esp + 0x44], edi
jb 0x10019cc6
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100c5661
add esp, 4
xor edx, edx
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
jb 0x10019ced
mov eax, dword [esp + 0x60]
push eax
call fcn.100c5661
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100c4be1
add esp, 0x4c
ret
Function at 0x10030b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1010b6a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], eax
call fcn.100558c0
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
mov esi, eax
call fcn.10009360
mov ecx, dword [eax]
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [eax], esi
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x10030bc0
push eax
call fcn.1006e780
add esp, 4
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x10030c12
call fcn.100558c0
mov eax, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10009410
add esp, 0xc
mov byte [esp + 0x30], 1
mov ecx, dword [eax + 4]
add ecx, 4
push str.invalid_data_buffer
mov ebx, 0x13
call fcn.100070c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call fcn.10006580
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10030bc8
mov dword [esp + 0x30], 0xffffffff
test eax, eax
je 0x10030c27
push eax
call fcn.1006e780
add esp, 4
mov eax, 0xc0010007
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x1003b7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10108ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10145df0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push edi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea eax, [esp + 0x2c]
push eax
lea edi, [esp + 0x60]
mov dword [esp + 0x58], ebx
call fcn.10008750
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.100b4550
push esi
mov ecx, eax
mov byte [esp + 0x58], 2
call fcn.10002af0
mov edi, 8
cmp dword [esp + 0x28], edi
jb 0x1003b870
mov edx, dword [esp + 0x14]
push edx
call fcn.100c5661
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp dword [esp + 0x44], edi
jb 0x1003b896
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100c5661
add esp, 4
xor edx, edx
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
jb 0x1003b8bd
mov eax, dword [esp + 0x60]
push eax
call fcn.100c5661
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100c4be1
add esp, 0x4c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x10107a58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10145df0]
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 fcn.10001890
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov byte [ecx + 4], dl
call fcn.10006940
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4