joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487f60
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x38
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
mov eax, esi
mov dword [esp + 0x14], edi
cmp dword [esi + 0x14], 0x10
jb 0x487f78
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test ebx, ebx
je 0x4880f1
push ebp
push ebx
call fcn.004e217a
add esp, 4
mov ebp, eax
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x10], ebp
jb 0x487fa5
mov esi, dword [esi]
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, ebp
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x487fc4
sub esi, ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], ecx
cmp esi, ecx
ja 0x488006
mov ebx, edi
cmp ecx, 0x10
jb 0x487fe1
mov ebx, dword [edi]
push esi
push ebp
push ebx
mov dword [edi + 0x10], esi
call fcn.0050b880
add esp, 0xc
mov byte [ebx + esi], 0
push ebp
call fcn.004c8b70
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret
cmp esi, 0x7fffffff
ja 0x48810b
mov ebx, esi
or ebx, 0xf
cmp ebx, 0x7fffffff
jbe 0x488026
mov ebx, accept
jmp 0x488044
mov edx, ecx
mov eax, accept
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x48803c
mov ebx, accept
jmp 0x488044
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea ecx, [ebx + 1]
cmp ecx, 0x1000
jb 0x488076
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004e2142
add esp, 4
test eax, eax
je 0x4880ec
lea ebp, [eax + 0x23]
and ebp, 0xffffffe0
mov dword [ebp - 4], eax
jmp 0x488089
test ecx, ecx
je 0x488087
push ecx
call fcn.004e2142
add esp, 4
mov ebp, eax
jmp 0x488089
xor ebp, ebp
push esi
push dword [esp + 0x14]
mov dword [edi + 0x10], esi
push ebp
mov dword [edi + 0x14], ebx
call fcn.0050be00
mov eax, dword [esp + 0x20]
add esp, 0xc
mov byte [esi + ebp], 0
cmp eax, 0x10
jb 0x4880d3
lea ecx, [eax + 1]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x4880c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4880ec
mov eax, edx
push ecx
push eax
call fcn.00507e8e
add esp, 8
mov dword [edi], ebp
mov ebp, dword [esp + 0x10]
push ebp
call fcn.004c8b70
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret
call fcn.005184a7
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0046f820
push 0x7094b8
lea eax, [esp + 0x1c]
push eax
call fcn.0050c727
call fcn.004534a3
int3
Function at 0x48a380
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610e20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
push 0
push esi
push 0x48a560
push dword [esi + 0x14]
push 0
call fcn.00522537
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 0x18
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
test edx, edx
je 0x48a3ed
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48a3dc
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x48a41c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push str.cannot_create_thread
lea ecx, [ebp - 0x28]
call fcn.00455927
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.0046fb60
push 0x708ddc
lea eax, [ebp - 0x6c]
push eax
call fcn.0050c727
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x40]
call fcn.00455927
push ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x98]
call fcn.0046fb60
push 0x708ddc
lea eax, [ebp - 0x98]
push eax
call fcn.0050c727
int3

Function at 0x48aed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x48af21
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x48aeeb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48af1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x48af0c.4
movzx eax, byte [eax + 0x48af44]
jmp dword [eax*4 + 0x48af3c]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0x5e
mov edx, str.d:karthigapoco_poco_1.9.0_release_foundation_src_file_win32u.cpp
mov ecx, str.__path.empty__
call fcn.00472280
lea ecx, [esi + 4]
call fcn.0048afc0
nop
adc ebp, dword [edi - 0x50ccffb8]
dec eax
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add ah, cl
int3

Function at 0x48af60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x48af91
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x48af7b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48afa6
shr eax, 4
and al, 1
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0x9f
mov edx, str.d:karthigapoco_poco_1.9.0_release_foundation_src_file_win32u.cpp
mov ecx, str.__path.empty__
call fcn.00472280
lea ecx, [esi + 4]
call fcn.0048afc0
int3
Function at 0x48afc0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x610eb8
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x48b185
je case.0x48b011.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x48b011.4
movzx eax, byte [eax + 0x48b21c]
jmp dword [eax*4 + 0x48b1e0]
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.004708c0
push 0x7094e8
lea eax, [ebp - 0x38]
push eax
call fcn.0050c727
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.00470bf0
push 0x709610
lea eax, [ebp - 0x38]
push eax
call fcn.0050c727
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.004707b0
push 0x708ebc
lea eax, [ebp - 0x38]
push eax
call fcn.0050c727
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.00470d00
push 0x709364
lea eax, [ebp - 0x38]
push eax
call fcn.0050c727
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.00471190
push 0x7095c8
lea eax, [ebp - 0x38]
push eax
call fcn.0050c727
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.00470f10
push 0x70963c
lea eax, [ebp - 0x38]
push eax
call fcn.0050c727
push esi
push edi
lea ecx, [ebp - 0x38]
call fcn.00471050
push 0x708f74
lea eax, [ebp - 0x38]
push eax
call fcn.0050c727
push str.sharing_violation
lea ecx, [ebp - 0x24]
call fcn.00455927
mov dword [ebp - 4], 0
push esi
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.004706a0
push 0x708ecc
lea eax, [ebp - 0x64]
push eax
call fcn.0050c727
push str.lock_violation
lea ecx, [ebp - 0x24]
call fcn.00455927
mov dword [ebp - 4], 1
jmp 0x48b0d4
push str.EOF_reached
lea ecx, [ebp - 0x24]
call fcn.00455927
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.00471080
push 0x708f74
jmp 0x48b0e7
push str.disk_is_full
lea ecx, [ebp - 0x24]
call fcn.00455927
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.00470f40
push 0x70963c
jmp 0x48b0e7
push str.negative_seek
lea ecx, [ebp - 0x24]
call fcn.00455927
mov dword [ebp - 4], 4
jmp 0x48b0d4
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.00470400
push 0x709570
jmp 0x48b0e7
cmp esi, 0x781
je case.0x48b011.3
cmp esi, 0x1779
je 0x48b1b2
push esi
push edi
lea ecx, [ebp - 0x90]
call fcn.00470670
push 0x708ecc
lea eax, [ebp - 0x90]
jmp 0x48b0ea
push 0x1779
push edi
lea ecx, [ebp - 0x64]
call fcn.00470ae0
push 0x7094d8
jmp 0x48b0e7
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.004709d0
push 0x708f84
jmp 0x48b0e7
Function at 0x48b940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
push 8
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 0x48b98e
push 1
mov dword [ebp - 4], 0
call fcn.00508da5
add esp, 4
mov dword [edi + 4], eax
jmp 0x48b990
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 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 dword [ebp - 4], 1
push 0x1000
mov dword [esi], vtable.Poco::BasicBufferedBidirectionalStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov dword [esi + 0x38], 0x1000
mov dword [esi + 0x3c], 0
call fcn.004e217a
add esp, 4
mov dword [esi + 0x40], eax
push dword [esi + 0x38]
call fcn.004e217a
mov ecx, dword [esi + 0x40]
add esp, 4
mov dword [esi + 0x44], eax
add ecx, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x48], 3
pop edi
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x38]
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, esi
mov dword [esi], vtable.Poco::FileStreamBuf.0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0xf
mov byte [esi + 0x50], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x48be11
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x48be65
mov ecx, dword [esi + 0x48]
test cl, 1
je 0x48be65
test cl, 2
je 0x48be33
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push dword [esp + 0x18]
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48be6d
mov eax, dword [esp + 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
pop ecx
ret 0xc
or eax, 0xffffffff
pop esi
pop ecx
ret 0xc
lea ecx, [esi + 0x50]
call fcn.0048b4b0
int3
Function at 0x48be80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x48bf10
mov ecx, dword [esi + 0x48]
test cl, 2
je 0x48bf10
test cl, 8
je 0x48bede
push 2
lea ecx, [esp + 0x10]
xorps xmm0, xmm0
push ecx
push 0
push eax
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x48bed1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x48bf1a
mov eax, dword [esp + 8]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48bf22
mov eax, dword [esp + 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
mov esp, ebp
pop ebp
ret 0xc
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esi + 0x50]
call fcn.0048b4b0
lea ecx, [esi + 0x50]
call fcn.0048b4b0
int3
Function at 0x48c3a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610fa3
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 + 0x88]
mov dword [ebx], 0x6efe14
mov dword [esi], 0x6ee228
push edi
mov dword [ebx + 0xa0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
mov dword [ebp - 4], 0
push 1
mov dword [ebp - 0x14], 1
call fcn.0048c1d0
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_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
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 0x48c4a6
push 1
mov dword [ebp - 4], 3
call fcn.00508da5
add esp, 4
mov dword [esi + 4], eax
jmp 0x48c4a8
xor esi, esi
lea eax, [ebx + 8]
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 0x48c50e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x48c50b
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 0x48c52e
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 0x48c572
push dword [ebp + 0xc]
mov dword [ebp - 4], 7
mov eax, dword [ebx]
push dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.Poco::FileInputStream.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0xa0]
mov dword [ecx + ebx - 4], eax
mov ecx, ebx
call fcn.0048c2c0
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 0xc
test cl, 4
je 0x48c57e
mov esi, str.ios_base::badbit_set
jmp 0x48c58e
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 0x48c9c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
push 8
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 0x48ca0c
push 1
mov dword [ebp - 4], 0
call fcn.00508da5
add esp, 4
mov dword [edi + 4], eax
jmp 0x48ca0e
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 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 ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 1
push ecx
mov dword [esi], vtable.Poco::BasicBufferedStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
call fcn.004e217a
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
lea ecx, [eax + 4]
mov eax, dword [esi + 0xc]
pop edi
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x499760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61130f
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 + 0x48]
mov dword [ebx], 0x6edcec
mov dword [esi], 0x6f0d18
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.00499670
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_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
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 0x499861
push 1
mov dword [ebp - 4], 3
call fcn.00508da5
add esp, 4
mov dword [esi + 4], eax
jmp 0x499863
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 0x4998c9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x4998c6
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 0x4998e9
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 0x49991c
mov eax, dword [ebx]
pop edi
pop esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.Poco::Net::HTTPResponseStream.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x58], eax
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
test cl, 4
je 0x499928
mov esi, str.ios_base::badbit_set
jmp 0x499938
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 0x4a0b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611942
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push esi
mov dword [ebp - 0x10], 0
lea esi, [ebx + 0x68]
mov dword [ebx], 0x6f11b0
mov dword [esi], 0x6ee228
push edi
mov dword [ebx + 0x80], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
push 1
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov dword [ebp - 0x10], 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a0a00
mov dword [ebp - 4], 1
mov dword [ebp + 0x10], esi
mov eax, dword [esi]
push 8
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
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 0x4a0c4c
push 1
mov dword [ebp - 4], 3
call fcn.00508da5
add esp, 4
mov dword [esi + 4], eax
jmp 0x4a0c4e
xor esi, esi
lea eax, [ebx + 8]
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 - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
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 0x4a0cb4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x4a0cb1
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 0x4a0cd4
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 0x4a0d01
mov eax, dword [ebx]
pop edi
pop esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.Poco::Net::HTTPFixedLengthInputStream.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x80]
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 0x10
test cl, 4
je 0x4a0d0d
mov esi, str.ios_base::badbit_set
jmp 0x4a0d1d
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00455295
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.004554a6
push 0x708b84
lea eax, [ebp - 0x30]
push eax
call fcn.0050c727
int3