joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455d39
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x455d60
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045641c
jmp 0x455e2f
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x455d82
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x455d84
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x455e23
jg 0x455da1
test esi, esi
je 0x455e23
test ecx, ecx
jl 0x455dee
jg 0x455dab
test eax, eax
je 0x455dee
cmp ebx, ecx
jg 0x455dbf
jl 0x455db5
cmp esi, eax
jae 0x455dbf
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.0050be00
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x455df5
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x455e23
jg 0x455dff
test esi, esi
je 0x455e23
cmp dword [edi + 0x4c], 0
je 0x455e23
mov ecx, edi
call fcn.004570ca
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0051a2a3
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x457115
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x710544]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x457197
cmp byte [esi + 0x3d], 0
je 0x457197
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x457169
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x45716d
sub eax, 1
je 0x457171
dec eax
sub eax, 1
je 0x457197
xor al, al
jmp 0x457199
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x45718e
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0051fc98
add esp, 0x10
cmp edi, eax
jne 0x457169
cmp byte [esi + 0x3d], 0
sete al
jmp 0x457199
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00507778
leave
ret
Function at 0x463df0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x463e55
mov dword [edi], 0
push 0
mov edx, 0x400000
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
cmp esi, edx
push eax
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x463e48
test ecx, ecx
je 0x463e55
test esi, esi
je 0x463e55
mov ecx, dword [ebp - 4]
jmp 0x463e0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x463e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x463ec5
mov dword [edi], 0
push 0
mov edx, 0x400000
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
cmp esi, edx
push eax
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x463eb8
test ecx, ecx
je 0x463ec5
test esi, esi
je 0x463ec5
mov ecx, dword [ebp - 4]
jmp 0x463e7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x710544]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x725280], ecx
inc eax
cmp eax, 0x100
jb 0x464175
cmp eax, 0x800
jae 0x464243
nop dword [eax]
mov edx, dword [eax*4 + 0x724e80]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x725280]
mov dword [eax*4 + 0x725280], edx
inc eax
cmp eax, 0x800
jb 0x464220
lea ecx, [ebp - 0x24]
mov dword [0x725264], 0x465390
call fcn.00465570
test eax, eax
je 0x464311
mov ecx, dword [ebp - 0x14]
mov edx, ecx
shr edx, 8
mov eax, ecx
mov edi, edx
and eax, 0xf00
and edi, 0xff000
and edx, 0xf00
and ecx, 0xf0
or edi, eax
or edx, ecx
shr edi, 8
shr edx, 4
xor ecx, ecx
mov eax, 0x6cfce8
xor esi, esi
mov ebx, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
jne 0x4642aa
mov ebx, dword [ebp - 0x1c]
cmp dword [eax - 4], ebx
mov ebx, dword [ebp - 0x18]
jne 0x4642aa
cmp dword [eax], ebx
je 0x4642b9
add esi, 0xc
inc ecx
add eax, 0xc
cmp esi, 0x24
jb 0x464293
or ecx, 0xffffffff
sub ecx, 0
je 0x4642e7
sub ecx, 1
je 0x4642d6
sub ecx, 1
jne 0x464311
cmp edi, 6
jb 0x464311
jne 0x464307
cmp edx, 0xf
jb 0x464311
jmp 0x464307
cmp edi, 5
jb 0x464311
jne 0x464307
cmp edx, 6
jb 0x464311
cmp edx, 0xa
jmp 0x464305
cmp edi, 6
jb 0x464311
jne 0x464307
cmp edx, 0x1c
je 0x464311
cmp edx, 0x26
je 0x464311
cmp edx, 0x27
je 0x464311
cmp edx, 0x35
je 0x464311
cmp edx, 0x36
je 0x464311
mov dword [0x725264], 0x465430
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00507778
mov esp, ebp
pop ebp
ret
Function at 0x4680f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x468112
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 8], ebx
nop dword [eax + eax]
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x468139
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x468136
inc eax
cmp eax, ebx
jb 0x468127
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x468217
cmp edx, 2
jbe 0x4681cf
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x468206
movzx ecx, byte [eax + 3]
add edi, 5
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
sub ebx, edi
test esi, esi
je 0x4681a6
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x4681a4
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, edi
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
and bl, 1
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov ebx, dword [ebp - 8]
jmp 0x468120
mov ecx, edx
shr esi, cl
test esi, esi
je 0x468152
cmp esi, 4
ja 0x4681f8
cmp esi, 3
je 0x4681f8
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x468152
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x468120
mov ebx, dword [ebp - 8]
or esi, 8
mov ecx, dword [ebp - 4]
shr esi, 1
inc edi
jmp 0x468120
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46d6b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fd0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push esi
mov dword [ebp - 0x14], 0
lea esi, [ebx + 0x48]
mov dword [ebx], 0x6ee90c
mov dword [esi], 0x6ee9ac
push edi
mov dword [ebx + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x14], 1
call fcn.0046d5d0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
push 8
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov edi, dword [eax + 4]
add edi, esi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xc], 0
call fcn.004e2142
mov esi, eax
add esp, 4
test esi, esi
je 0x46d7a0
push 1
mov dword [ebp - 4], 3
call fcn.00508da5
add esp, 4
mov dword [esi + 4], eax
jmp 0x46d7a2
xor esi, esi
lea eax, [ebx + 4]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 4
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x20], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 5
push eax
call fcn.00457f56
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 6
test esi, esi
je 0x46d808
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x46d805
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 2
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x46d828
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
and eax, 0x13
or eax, 4
mov dword [edi + 0xc], eax
and ecx, eax
jne 0x46d855
mov eax, dword [ebx]
pop edi
pop esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.Poco::NullOutputStream.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x58]
mov dword [ecx + ebx - 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
test cl, 4
je 0x46d861
mov esi, str.ios_base::badbit_set
jmp 0x46d871
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.00455295
add esp, 8
lea ecx, [ebp - 0x38]
push eax
push esi
call fcn.004554a6
push 0x708b84
lea eax, [ebp - 0x38]
push eax
call fcn.0050c727
int3
Function at 0x46da60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fd20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e2142
mov edi, eax
add esp, 4
test edi, edi
je 0x46daac
push 1
mov dword [ebp - 4], 0
call fcn.00508da5
add esp, 4
mov dword [edi + 4], eax
jmp 0x46daae
xor edi, edi
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
mov dword [esi + 0x10], ecx
lea eax, [esi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.Poco::BasicUnbufferedStreamBuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0x38], 0xffffffff
mov byte [esi + 0x3c], 0
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x471710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fe2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push esi
mov dword [ebp - 0x14], 0
lea esi, [ebx + 0x58]
mov dword [ebx], 0x6edcec
mov dword [esi], 0x6ee9ac
push edi
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x14], 1
call fcn.004715d0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
push 8
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov edi, dword [eax + 4]
add edi, esi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xc], 0
call fcn.004e2142
mov esi, eax
add esp, 4
test esi, esi
je 0x471800
push 1
mov dword [ebp - 4], 3
call fcn.00508da5
add esp, 4
mov dword [esi + 4], eax
jmp 0x471802
xor esi, esi
lea eax, [ebx + 4]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 4
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x20], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 5
push eax
call fcn.00457f56
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 6
test esi, esi
je 0x471868
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x471865
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 2
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x471888
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
and eax, 0x13
or eax, 4
mov dword [edi + 0xc], eax
and ecx, eax
jne 0x4718b5
mov eax, dword [ebx]
pop edi
pop esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.Poco::CountingOutputStream.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
test cl, 4
je 0x4718c1
mov esi, str.ios_base::badbit_set
jmp 0x4718d1
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.00455295
add esp, 8
lea ecx, [ebp - 0x38]
push eax
push esi
call fcn.004554a6
push 0x708b84
lea eax, [ebp - 0x38]
push eax
call fcn.0050c727
int3
Function at 0x4719c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fe6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push esi
mov dword [ebp - 0x10], 0
lea esi, [ebx + 0x58]
mov dword [ebx], 0x6edcec
mov dword [esi], 0x6ee9ac
push edi
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.00471690
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
push 8
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov edi, dword [eax + 4]
add edi, esi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0xc], 0
call fcn.004e2142
mov esi, eax
add esp, 4
test esi, esi
je 0x471ab3
push 1
mov dword [ebp - 4], 3
call fcn.00508da5
add esp, 4
mov dword [esi + 4], eax
jmp 0x471ab5
xor esi, esi
lea eax, [ebx + 4]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 4
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 5
push eax
call fcn.00457f56
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp + 0xb], al
mov dword [ebp - 4], 6
test esi, esi
je 0x471b1b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x471b18
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp + 0xb]
mov byte [ebp - 4], 2
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x471b3b
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
and eax, 0x13
or eax, 4
mov dword [edi + 0xc], eax
and ecx, eax
jne 0x471b68
mov eax, dword [ebx]
pop edi
pop esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.Poco::CountingOutputStream.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x471b74
mov esi, str.ios_base::badbit_set
jmp 0x471b84
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.00455295
add esp, 8
lea ecx, [ebp - 0x34]
push eax
push esi
call fcn.004554a6
push 0x708b84
lea eax, [ebp - 0x34]
push eax
call fcn.0050c727
int3
Function at 0x4726c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ff9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
mov dword [edi], 0x6ef138
mov dword [edi + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
push 8
mov dword [ebp - 0x14], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004e2142
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x472797
push 1
mov dword [ebp - 4], 2
call fcn.00508da5
add esp, 4
mov dword [ebx + 4], eax
jmp 0x472799
xor ebx, ebx
lea eax, [edi + 4]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 3
mov ebx, dword [ebx + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 4
push eax
call fcn.00457f56
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 5
test ebx, ebx
je 0x4727ff
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x4727fc
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 1
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x47281f
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x47285c
mov dword [ebp - 4], 6
mov eax, dword [edi]
push ecx
lea ecx, [edi + 4]
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 edx, dword [eax + 4]
lea eax, [edx - 0x50]
mov dword [edx + edi - 4], eax
call fcn.00473190
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x472868
mov esi, str.ios_base::badbit_set
jmp 0x472878
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.00455295
add esp, 8
lea ecx, [ebp - 0x34]
push eax
push esi
call fcn.004554a6
push 0x708b84
lea eax, [ebp - 0x34]
push eax
call fcn.0050c727
int3
Function at 0x473190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fd20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e2142
mov edi, eax
add esp, 4
test edi, edi
je 0x4731dc
push 1
mov dword [ebp - 4], 0
call fcn.00508da5
add esp, 4
mov dword [edi + 4], eax
jmp 0x4731de
xor edi, edi
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, esi
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
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4