joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009d1d6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, 0x10117724
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call fcn.10084f88
test eax, eax
je 0x1009d209
mov ecx, esi
call fcn.10084f88
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
leave
ret
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
push 0x1009d11d
call fcn.100a57da
add esp, 0xc
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1009d1f3

Function at 0x1009d532
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteW]

Function at 0x1009d5e2
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x100c8649
call fcn.100a35ac
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x1009d72d
cmp dword [ebp + 0x10], ebx
je 0x1009d72d
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1009d72d
cmp eax, 0xffffffff
je 0x1009d726
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
call fcn.1009e739
mov edx, dword [eax]
lea ecx, [esi + 1]
push ecx
mov ecx, eax
call dword [edx]
mov edi, eax
lea eax, [esi + 1]
push eax
push ebx
push edi
call fcn.100a2490
add esp, 0xc
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 8]
test eax, eax
je 0x1009d727
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x1009d72f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc

Function at 0x1009d740
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c5ea8
call fcn.100a35ac
push esi
push edi
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, edi
je 0x1009d79a
cmp esi, 0xffffffff
je 0x1009d793
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1009d79c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 0xc
Function at 0x1009dee9
Capabilities:
Check if file exists
Create process on windows
Get file version info

Disassembly:
mov eax, 0x100c8693
call fcn.100a35ac
sub esp, 0x30
push ebx
xor ebx, ebx
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.100404f4
push str.TroubleShooter.exe
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.100053c1
add esp, 0x14
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009df47
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x1009e099
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call fcn.100a1cc0
pop ecx
mov edi, eax
push edi
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x100ccd84
push edi
mov dword [ebp - 0x20], ebx
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x10], 0x10000
jb 0x1009df99
cmp dword [eax + 0x14], 2
mov byte [ebp - 0xd], 1
jae 0x1009df9c
mov byte [ebp - 0xd], bl
push edi
call fcn.100a2009
pop ecx
cmp byte [ebp - 0xd], bl
jne 0x1009dfc3
lea eax, [ebp - 0x3c]
push str.Incorrect_troubleshooter_version
push eax
call fcn.10001f23
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100029ca
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.100404f4
pop ecx
pop ecx
mov esi, eax
push str.StartHelperProcess__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10005f07
push esi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.10005363
push dword [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100053c1
push 0x100de0d4
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.100053c1
push dword [ebp + 0xc]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100053c1
mov ecx, dword [ebp - 0x20]
add esp, 0x30
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.10001d29
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100a0598
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
push 0x139
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x100a05ba
push 5
push str.iexplore.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
ret 0x10

Function at 0x100a06c3
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 8]
push dword [ecx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x100a0705
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0x10]
lea esi, [eax + 1]
push esi
call fcn.1000357f
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x10]
mov esi, eax
push esi
call fcn.10002a69
mov eax, esi
pop esi
jmp 0x100a0710
mov ecx, dword [esp + 0xc]
call fcn.10002a34
xor eax, eax
pop edi
ret 8

Function at 0x100a0ca0
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, 0x100c88be
call fcn.100a35ac
sub esp, 0x48
push ebx
push esi
push edi
mov ebx, ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
xor esi, esi
push str.urlErrorReportingService
mov dword [ebp - 4], esi
call fcn.10005f07
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x101184f0
call fcn.100a0bcc
push 0x101185a8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1005a319
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 2
call fcn.10003561
push 2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100667fc
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.10042dc1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.10004a20
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.10004a20
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0x100a0ae0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x100a0d84
push edi
lea ecx, [ebp - 0x54]
call fcn.100a0f48
push esi
push dword [ebx + 4]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.100a0673
cmp eax, 1
je 0x100a0d71
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.100a05cb
lea ecx, [ebp - 0x24]
call fcn.10042c83
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x100a0f9d
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov esi, ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea edi, [eax + 1]
push edi
call fcn.1000357f
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.10002a69
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x100a1882
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10118590], 0
push esi
jne 0x100a17f5
call fcn.100a171b
test eax, eax
je 0x100a1838
mov eax, dword [0x10118590]
cmp eax, 1
jne 0x100a1816
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x100a1838
pop esi
ret
push eax
call dword [0x10118598]
test eax, eax
jne 0x100a1880
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x100a183c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x10118590]
call dword [0x10118598]
mov edi, eax
test edi, edi
je 0x100a1861
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x100a187d
mov edi, esi
add esi, 0xff0
push edi
push dword [0x10118590]
call dword [0x10118594]
add edi, 0x10
cmp edi, esi
jb 0x100a1869
mov eax, edi
pop edi
pop esi
ret
jmp 0x100a17e2

Function at 0x100a6a99
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x100a6aca
call fcn.100a6a63
mov dword [eax], esi
call fcn.100a6a50
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.100a2b53
add esp, 0x14
push 0x16
pop eax
jmp 0x100a6b1f
test dword [ebp + 0xc], 0xfffffff9
jne 0x100a6aa6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100a6af7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100a6a76
pop ecx
call fcn.100a6a50
mov eax, dword [eax]
jmp 0x100a6b1f
test al, 0x10
jne 0x100a6b1d
test al, 1
je 0x100a6b1d
test byte [ebp + 0xc], 2
je 0x100a6b1d
call fcn.100a6a63
mov dword [eax], 5
call fcn.100a6a50
mov dword [eax], 0xd
jmp 0x100a6aee
xor eax, eax
pop esi
pop ebp
ret

Function at 0x100a8f9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10114af0]
jne 0x100a8fa6
repz ret
jmp fcn.100b4e5b
Function at 0x100b5173
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.100a94a6
and dword [ebp - 4], 0
cmp dword [0x10119154], 0
mov ebx, eax
jne 0x100b5224
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100b52d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100b52d5
push eax
call fcn.100a9434
mov dword [esp], 0x100dfd68
push edi
mov dword [0x10119154], eax
call esi
push eax
call fcn.100a9434
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10119158], eax
call esi
push eax
call fcn.100a9434
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1011915c], eax
call esi
push eax
call fcn.100a9434
pop ecx
mov dword [0x10119164], eax
test eax, eax
je 0x100b5224
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100a9434
pop ecx
mov dword [0x10119160], eax
mov eax, dword [0x10119160]
cmp eax, ebx
je 0x100b527c
cmp dword [0x10119164], ebx
je 0x100b527c
push eax
call fcn.100a94af
push dword [0x10119164]
mov esi, eax
call fcn.100a94af
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b527c
test edi, edi
je 0x100b527c
call esi
test eax, eax
je 0x100b5273
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b5273
test byte [ebp - 0xc], 1
jne 0x100b527c
or dword [ebp + 0x10], 0x200000
jmp 0x100b52b5
mov eax, dword [0x10119158]
cmp eax, ebx
je 0x100b52b5
push eax
call fcn.100a94af
pop ecx
test eax, eax
je 0x100b52b5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b52b5
mov eax, dword [0x1011915c]
cmp eax, ebx
je 0x100b52b5
push eax
call fcn.100a94af
pop ecx
test eax, eax
je 0x100b52b5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10119154]
call fcn.100a94af
pop ecx
test eax, eax
je 0x100b52d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b52d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x403e59
pop dword [ebp - 0x1c]
mov eax, 0x403e59
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x47a1e4f3
sub dword [ebp - 0x2c], 0xf94f9fa8
mov dword [ebp - 0x28], 0xf8d787f6
add dword [ebp - 0x28], 0x395bc44f
mov dword [ebp - 0x24], 0x15a3cdb2
add dword [ebp - 0x24], 0x36a8767c
mov dword [ebp - 0x20], 0x8b00173e
add dword [ebp - 0x20], 0x74ffe8c2
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x5e57f58c
add dword [ebp - 0x2c], 0x161a73ca
mov dword [ebp - 0x28], 0xe30e5d8e
sub dword [ebp - 0x28], 0xa1a1fc19
mov dword [ebp - 0x24], 0x83f0bdee
add dword [ebp - 0x24], 0xdf7eae7e
mov dword [ebp - 0x20], 0x8358e695
add dword [ebp - 0x20], 0x7ca7196b
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x2a6c4bcb
add eax, 0xd5d424dd
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x37261
push 0
call eax
mov ecx, 0xf483267b
add ecx, 0xb7d2320
xor edi, edi
add edi, eax
mov ebx, 0x1e6adfba
sub ebx, 0x1e29dfba
add ebx, dword [ebp - 0x1c]
mov edx, 0x516f2e6f
add edx, 0xc3536bea
sub dword [ebp - 0xc], 0x24fc5655
mov esi, dword [ebx]
mov dword [ebp - 0x18], 0xa2375ccc
xor esi, edx
add dword [ebp - 0xc], eax
mov dword [edi], esi
xor dword [ebp - 0x18], 0x8df33ac1
add edi, 0x2b30c6fa
sub edi, 0x2b30c6f6
add ebx, 0xd0cd9e5
sub ebx, 0xd0cd9e1
loop 0x403f73
add eax, 0x9716f7a2
sub eax, 0x9715de63
xor ebx, ebx
add ebx, eax
add eax, 0xfbd2cb3f
sub eax, 0xfbd2cb3a
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x43fec0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x4403e0
test edx, edx
je 0x4403e0
call fcn.0043fed7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x440420
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.0043fec0
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x440491
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x440456
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x440da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x440e24
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x440dfc
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x440e04
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.00440e29

Function at 0x44a4f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559330
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5c9ea4]
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_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.005183e4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00515822
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 0x44a690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559330
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5c9ea4]
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.005183e4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00515822
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 0x451c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x451d6b
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x451d5a
jg 0x451cc0
test edx, edx
je 0x451d5a
nop dword [eax]
call fcn.0044a400
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x451d17
jg 0x451cd7
test esi, esi
je 0x451d17
cmp ebx, eax
jg 0x451ce7
jl 0x451ce1
cmp edi, esi
jae 0x451ce7
mov esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [esp + 0x18]
call fcn.0052f650
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x10]
jmp 0x451d3c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x451d54
mov eax, dword [esp + 0x10]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [esp + 0xc]
add eax, esi
mov dword [esp + 0x10], eax
test ebx, ebx
jg 0x451cc0
jl 0x451d54
test edi, edi
jne 0x451cc0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x451d8d
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x451d8f
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x451e45
jg 0x451daa
test esi, esi
je 0x451e45
test eax, eax
jl 0x451df3
jg 0x451db4
test ebx, ebx
je 0x451df3
cmp edi, eax
jg 0x451dc4
jl 0x451dbe
cmp esi, ebx
jae 0x451dc4
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.0052f650
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x2c]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x451dfa
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test edi, edi
jl 0x451e45
jg 0x451e04
test esi, esi
je 0x451e45
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x451e45
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x451e30
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edx, dword [ebx + 0x4c]
push edx
push esi
push 1
push dword [esp + 0x1c]
call fcn.00534d3f
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc