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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x497d94
cmp dword [ebp + 0x14], edi
je 0x497d94
cmp ecx, edi
jne 0x497d9b
call fcn.0049b443
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004960dc
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x497daf
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x497dd0
cmp ebx, 0xffffffff
je 0x497dbf
push ebx
push edi
push ecx
call fcn.00499a30
add esp, 0xc
cmp esi, edi
je 0x497d7c
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x497d7c
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x497dec
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x497df3
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x497ee4
test word [esi + 0xc], 0x10c
je 0x497e47
mov eax, dword [esi + 4]
test eax, eax
je 0x497e47
jl 0x497f45
cmp ebx, eax
mov edi, ebx
jb 0x497e18
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x497eec
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00495dea
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x497edc
cmp ebx, dword [ebp - 0xc]
jb 0x497eb4
cmp dword [ebp - 0xc], 0
je 0x497e71
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x497e66
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x497e6d
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x497e7c
mov eax, closesocket
cmp ebx, eax
ja 0x497e7c
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x497f18
push eax
push dword [ebp - 8]
push esi
call fcn.0049bca0
pop ecx
push eax
call fcn.004a5c64
add esp, 0xc
test eax, eax
je 0x497f57
cmp eax, 0xffffffff
je 0x497f45
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x497edc
push esi
call fcn.004a5583
cmp eax, 0xffffffff
pop ecx
je 0x497f49
cmp dword [ebp - 4], 0
je 0x497f18
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x497dfb
mov eax, dword [ebp + 0x14]
jmp 0x497d96
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x497f03
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00499a30
add esp, 0xc
call fcn.0049b443
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x497d8c
cmp dword [ebp + 0xc], 0xffffffff
je 0x497f2e
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00499a30
add esp, 0xc
call fcn.0049b443
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x497d8c
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x497d96
or dword [esi + 0xc], 0x10
jmp 0x497f49
Function at 0x4a1f47
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4e4928]
je 0x4a1f62
inc edi
cmp edi, 0x17
jb 0x4a1f53
cmp edi, 0x17
jae 0x4a20e2
push ebp
push 3
call fcn.004b0308
cmp eax, 1
pop ecx
je 0x4a20ae
push 3
call fcn.004b0308
test eax, eax
pop ecx
jne 0x4a1f96
cmp dword [0x4e44b0], 1
je 0x4a20ae
cmp ebx, 0xfc
je 0x4a20e1
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4ea428
push ebp
call fcn.004a0b58
add esp, 0xc
test eax, eax
je 0x4a1fcc
push esi
push esi
push esi
push esi
push esi
call fcn.00495fe0
add esp, 0x14
push 0x104
mov esi, 0x4ea441
push esi
push 0
mov byte [0x4ea545], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4a2010
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004a0b58
add esp, 0xc
test eax, eax
je 0x4a2010
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00495fe0
add esp, 0x14
push esi
call fcn.0049e210
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4a2055
push esi
call fcn.0049e210
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4ea73c
push 0x4c72e4
sub ecx, eax
push ecx
push eax
call fcn.004adcfe
add esp, 0x14
test eax, eax
je 0x4a2055
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00495fe0
add esp, 0x14
jmp 0x4a2057
xor esi, esi
push 0x4c72e0
push ebx
push ebp
call fcn.004adc8d
add esp, 0xc
test eax, eax
je 0x4a2077
push esi
push esi
push esi
push esi
push esi
call fcn.00495fe0
add esp, 0x14
push dword [edi*8 + 0x4e492c]
push ebx
push ebp
call fcn.004adc8d
add esp, 0xc
test eax, eax
je 0x4a2099
push esi
push esi
push esi
push esi
push esi
call fcn.00495fe0
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004b014b
add esp, 0xc
jmp 0x4a20e1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4a20e1
cmp ebp, 0xffffffff
je 0x4a20e1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4e492c]
push dword [esi]
call fcn.0049e210
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4b014b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004a0c9f
xor ebx, ebx
cmp dword [0x4eac1c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4b0221
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4b0301
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4b0301
push eax
call fcn.004a0c31
mov dword [esp], 0x4c9528
push edi
mov dword [0x4eac1c], eax
call esi
push eax
call fcn.004a0c31
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4eac20], eax
call esi
push eax
call fcn.004a0c31
mov dword [0x4eac24], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0049b06f
test eax, eax
pop ecx
pop ecx
je 0x4b01ef
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00495fe0
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4b0221
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004a0c31
cmp eax, ebx
pop ecx
mov dword [0x4eac2c], eax
je 0x4b0221
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a0c31
pop ecx
mov dword [0x4eac28], eax
mov eax, dword [0x4eac28]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4b02a6
cmp dword [0x4eac2c], ecx
je 0x4b02a6
push eax
call fcn.004a0ca8
push dword [0x4eac2c]
mov esi, eax
call fcn.004a0ca8
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4b02a6
cmp edi, ebx
je 0x4b02a6
call esi
cmp eax, ebx
je 0x4b0273
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b0273
test byte [ebp - 0x18], 1
jne 0x4b02a6
lea eax, [ebp - 0x10]
push eax
call fcn.0049b0a6
test eax, eax
pop ecx
je 0x4b028e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00495fe0
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4b029d
or dword [ebp + 0x10], 0x200000
jmp 0x4b02e1
or dword [ebp + 0x10], 0x40000
jmp 0x4b02e1
mov eax, dword [0x4eac20]
cmp eax, dword [ebp - 8]
je 0x4b02e1
push eax
call fcn.004a0ca8
cmp eax, ebx
pop ecx
je 0x4b02e1
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4b02e1
mov eax, dword [0x4eac24]
cmp eax, dword [ebp - 8]
je 0x4b02e1
push eax
call fcn.004a0ca8
cmp eax, ebx
pop ecx
je 0x4b02e1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4eac1c]
call fcn.004a0ca8
cmp eax, ebx
pop ecx
je 0x4b0301
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b0303
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b62e3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4e44b4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004b6222
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00499a30
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4b6332
cmp dword [ebp - 0x1c], 5
jb 0x4b634a
jmp 0x4b6346
cmp dword [ebp - 0x10], 1
jne 0x4b634a
cmp dword [ebp - 0x1c], 4
ja 0x4b6346
jne 0x4b634a
cmp dword [ebp - 0x18], 0
jbe 0x4b634a
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4c95b4
call fcn.004b60d5
test eax, eax
jge 0x4b636b
mov byte [0x54e931], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00495cb8
add ebp, 0x78
leave
ret
Function at 0x403230
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x60f074]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
test esi, esi
je 0x40333e
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov ebx, dword [eax + 0x10]
mov eax, dword [esi]
mov dword [esp + 0x14], ebx
call dword [eax + 0x40]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x403278
mov ecx, dword [eax]
mov edx, dword [eax + 0x10]
push 0x17
push str.browser_LocationBarView
call fcn.00404110
add esp, 8
test al, al
je 0x403296
test ebx, ebx
jne 0x403296
mov bl, 1
jmp 0x403298
xor bl, bl
mov edx, dword [esp + 0x28]
cmp edx, 0x10
jb 0x4032ce
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4032c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403352
push edx
push ecx
call fcn.0055053d
add esp, 8
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
je 0x403302
call fcn.0046fec0
push dword [eax]
call ebx
mov ecx, dword [esp + 0xc]
mov edi, eax
push 0
push 0x4041a0
add ecx, 0xc
call fcn.00403af0
push eax
mov ecx, edi
call fcn.0046e090
mov edi, dword [esp + 0xc]
lea eax, [edi - 0x84]
cmp esi, eax
je 0x403315
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x403308
jmp 0x40331c
cmp dword [esp + 0x10], 2
jne 0x40333e
call fcn.0046fec0
push dword [eax]
call ebx
push 0
push 0x404198
lea ecx, [edi + 0xc]
mov esi, eax
call fcn.00403af0
push eax
mov ecx, esi
call fcn.0046e090
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret 8
call fcn.00572795
int3
Function at 0x404fe0
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x40505a
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
mov eax, edx
and al, 0x70
cmp al, 0x10
jne 0x40518e
mov eax, edx
mov ebx, edx
and eax, 6
shr ebx, 2
cmp al, 6
jne 0x405026
mov eax, dword [ecx]
lea esi, [edi - 0xc]
push esi
call dword [eax + 0xc]
jmp 0x40517f
shr edx, 1
test dl, 1
je 0x40503b
mov eax, dword [ecx]
lea esi, [edi - 0xc]
push esi
call dword [eax + 4]
jmp 0x40517f
test bl, 1
je 0x405065
mov eax, dword [ecx]
lea esi, [edi - 0xc]
push esi
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x40517f
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0xf], 0
call ebx
mov esi, eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov eax, dword [esp + 0x10]
sub eax, dword [0x61a130]
movsd xmm1, qword [0x5e2f28]
cdq
xor eax, edx
sub eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call fcn.00595fa0
mov eax, dword [esp + 0x14]
sub eax, dword [0x61a134]
movsd xmm1, qword [0x5e2f28]
cdq
xor eax, edx
movsd qword [esp + 0x18], xmm0
sub eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call fcn.00595fa0
movsd xmm1, qword [esp + 0x18]
addsd xmm1, xmm0
cvttsd2si eax, xmm1
cmp eax, 0x10
jg 0x40510c
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
sub esi, dword [0x61f254]
cmp esi, eax
ja 0x40510c
mov byte [esp + 0xf], 1
call ebx
add eax, 0x3e8
jmp 0x40510e
call ebx
push 0x61a130
mov dword [0x61f254], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp byte [esp + 0xf], 0
je 0x40514a
call fcn.00457cf0
cmp byte [eax + 0x1e], 0
je 0x40518e
mov ecx, dword [edi + 0x84]
lea eax, [edi - 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi - 0xc]
lea esi, [edi - 0xc]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x405168
mov ecx, dword [edi + 0x84]
push esi
mov eax, dword [ecx]
call dword [eax]
jmp 0x40517f
mov ecx, esi
call fcn.00404f70
test al, al
je 0x40517f
mov ecx, dword [edi + 0x84]
push esi
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [edi + 0x84]
push dword [ebp + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408750
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
call fcn.0040a6e0
lea edi, [esi + 0x8c]
mov word [esi], 0x100
mov dword [esi + 0xa8], 0
mov eax, edi
mov dword [esi + 0xac], 0
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x408795
mov eax, dword [edi]
push dword [ebp + 0x14]
mov byte [eax], 0
mov ecx, esi
push dword [ebp + 0xc]
mov dword [esi + 0x10], 0
push dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0x67452301
mov dword [esi + 0x18], 0xefcdab89
mov dword [esi + 0x1c], 0x98badcfe
mov dword [esi + 0x20], 0x10325476
call fcn.00408fd0
mov ecx, esi
mov byte [esp + 0xf], al
call fcn.0040a470
cmp byte [esi + 1], 0
je 0x408812
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4087ed
mov eax, dword [edi]
cmp dword [esi + 0x88], 0x10
lea ecx, [esi + 0x74]
jb 0x4087fc
mov ecx, dword [esi + 0x74]
push dword [edi + 0x10]
mov edx, dword [esi + 0x84]
push eax
call fcn.00404110
add esp, 8
test al, al
jne 0x40883d
push dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
call fcn.0040a190
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0040a190
mov byte [esi], 1
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
add edx, 1
mov eax, dword [ebp + 0x10]
adc ecx, 0
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov al, byte [esp + 7]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40bae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598c07
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
mov dword [ebx], 0x5c8f90
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push 0
push 0
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
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
call fcn.00402230
push 8
call fcn.00550175
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.0054d802
add esp, 4
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
lea eax, [ebx + 4]
mov ecx, edi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
push 0x20
mov dword [edi + 0x3c], 0
call fcn.0040d540
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x40bbf5
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.00402230
mov dword [ebp - 4], 3
lea edi, [ebx + 4]
mov eax, dword [ebx]
push 8
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00550175
add esp, 4
mov esi, eax
push 1
mov byte [ebp - 4], 4
call fcn.0054d802
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 4
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40d3b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598dc0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00550175
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0054d802
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e2c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.0040eb00
Function at 0x414c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599cf7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ebx, [ecx + 4]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.view::MenuDelegate.0
mov byte [ebp - 4], 1
push 0x68
mov dword [ecx], vtable.BookmarkMenuController.1.0
mov dword [ebx], vtable.BookmarkMenuController.0
call fcn.00550175
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [edi + 4], vtable.BookmarkContextMenuObserver.0
mov eax, dword [ebp + 8]
lea esi, [edi + 0x14]
mov byte [ebp - 4], 4
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi], vtable.BookmarkMenuDelegate.0
mov dword [edi + 4], vtable.BookmarkMenuDelegate.1.0
mov dword [edi + 0x10], eax
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040b620
mov dword [esi], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 5
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040b620
mov dword [esi], eax
mov dword [edi + 0x24], 0
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 7
mov word [edi + 0x34], ax
mov dword [edi + 0x4c], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x54]
mov byte [edi + 0x50], al
mov dword [ebp + 8], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0040b620
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
mov dword [edi + 0x5c], 1
mov dword [edi + 0x60], 0
mov byte [edi + 0x64], 0
mov dword [esi + 8], edi
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], cx
mov byte [ebp - 4], 0xa
mov dword [esi + 0x34], ecx
mov byte [esi + 0x38], cl
mov dword [esi + 0x3c], ecx
push ecx
push dword [ebp + 0x18]
push eax
push ecx
mov ecx, dword [esi + 8]
push ebx
call fcn.00415fe0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41ee80
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b128
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x5c2248
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405c70
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
add esi, 4
push eax
mov ecx, esi
call fcn.00476ff0
lea ecx, [ebp - 0x28]
call fcn.00405c10
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp dword [esi + 0x14], 8
jb 0x41ef02
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x40]
call fcn.00405c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret