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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push edi
mov dword [ebp - 0xc], 0x74725c7b
mov word [ebp - 8], 0x3166
mov byte [ebp - 6], 0x5c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43d8f6
push edi
push str.IsaRTFFile__s___INVALID_HANDLE_VALUE
call fcn.00469390
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x43d95c
push 0
lea eax, [ebp - 0x18]
push eax
push 7
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43d95c
cmp dword [ebp - 0x18], 7
jne 0x43d95c
xor ecx, ecx
jmp 0x43d930
mov al, byte [ebp + ecx - 0xc]
cmp al, byte [ebp + ecx - 0x14]
jne 0x43d95c
inc ecx
cmp ecx, 7
jb 0x43d930
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x440130
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, 1
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x10]
push pe_nt_image_headers32
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0046f7e0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 5
ja 0x4401e3
jne 0x4401a6
cmp dword [ebp - 0x118], 2
jae 0x4401e3
push dword [ebp + 0x18]
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x128], eax
cmp eax, 0xffffffff
jne 0x440208
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x440202
or eax, 0xffffffff
mov dword [ebp - 0x124], 0
xor esi, esi
jmp 0x440208
push dword [ebp + 0x18]
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x124]
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov esi, eax
mov eax, dword [ebp - 0x128]
test edi, edi
je 0x440217
mov ecx, dword [ebp - 0x124]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret

Function at 0x4403a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x440416
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp byte [ebp + 0xc], 0
je 0x4403ea
test eax, eax
jne 0x440416
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call fcn.0043bff0
add esp, 4
pop esi
pop ebp
ret
test eax, eax
je 0x440416
mov eax, dword [ebp + 0x10]
mov ecx, 0x1f4
test eax, eax
push 0x50004
cmovne ecx, eax
push ecx
push esi
call fcn.0043aad0
add esp, 0xc
test eax, eax
jne 0x440416
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret
Function at 0x441a20
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4b51dc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
jne 0x441ae1
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x14]
push ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x408]
push 0x100
push eax
call fcn.0046fe12
push esi
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0046fe12
add esp, 0x18
lea eax, [ebp - 0x410]
push 0x4b51d8
push 0
push eax
push 0x441e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [0x4b51d4], ecx
test ecx, ecx
je 0x441ab8
push 0xc8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x4b51d4]
push dword [0x4b51d8]
mov eax, dword [ebp - 0x40c]
push ecx
push str.MsgWaitDlg__CreateThread____Thread_x_ThreadId_d
mov dword [0x4b51dc], eax
call fcn.00469390
mov eax, dword [0x4b51dc]
add esp, 0xc
jmp 0x441bcb
push ebx
push edi
push str.before_PostThreadMessage
call fcn.00469390
add esp, 4
push 0
push 0
push 0x12
push dword [0x4b51d8]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
push 0x64
push dword [0x4b51d4]
call ebx
mov dword [ebp - 0x414], eax
test eax, eax
je 0x441b5e
cmp eax, 0xffffffff
je 0x441b5e
call esi
sub eax, edi
cmp eax, 0x7d0
jae 0x441b5e
push 0x64
push dword [0x4b51d4]
call ebx
push eax
push str.MsgWaitDlg____WaitForSingleObject_x
mov dword [ebp - 0x414], eax
call fcn.00469390
mov eax, dword [ebp - 0x414]
add esp, 8
test eax, eax
jne 0x441b26
lea eax, [ebp - 0x414]
push eax
push dword [0x4b51d4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
pop edi
pop ebx
test eax, eax
je 0x441ba4
push dword [ebp - 0x414]
push str.MsgWaitDlg____dwExitCode_x
call fcn.00469390
add esp, 8
cmp dword [ebp - 0x414], 0x103
jne 0x441ba4
push 0
push dword [0x4b51d4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [0x4b51d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [0x4b51d4], 0
mov dword [0x4b51d8], 0
mov dword [0x4b51dc], eax
push eax
push str.MsgWaitDlg__End__d_
call fcn.00469390
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [0x4b51dc]
xor ecx, ebp
pop esi
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x441f40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
test ebx, ebx
je 0x442069
push dword [ebx + 4]
push dword [ebx]
push dword [ebp + 8]
push str.StatusDlg___hWnd___08.8X__hInst___d__uiLangID___d
call fcn.00469390
movzx eax, byte [ebx + 0x14]
push eax
push str.StatusDlg___Status:__d
call fcn.00469390
lea eax, [ebx + 0x15]
push eax
push str.StatusDlg___PackImages:__s
call fcn.00469390
mov ecx, 0x87
mov esi, ebx
mov edi, 0x4b51e8
add esp, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebx + 0x14], 0
jne 0x441fa4
mov esi, 0x96
jmp 0x441fc0
lea eax, [ebx + 0x15]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x325a
add esi, 0xc8
push esi
push str.StatusDlg___IdRes:__d
call fcn.00469390
add esp, 8
movzx eax, si
push ebx
push 0x442090
push dword [ebp + 8]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
test esi, esi
je 0x442076
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x1c]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x442076
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
lea esp, [esp]
cmp eax, 0xffffffff
je 0x442062
push esi
call ebx
test eax, eax
je 0x44203c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x442050
lea eax, [ebp - 0x1c]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x442050
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x442010
jmp 0x442076
push str.WinMain____GetMessage____1
jmp 0x44206e
push str.StatusDlg___bad_parameters_
call fcn.00469390
add esp, 4
push esi
push str.StatusDlg___End__d_
call fcn.00469390
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4430a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [ebp + 0xc]
jne 0x443277
push ebx
mov ebx, dword [ebp + 8]
push esi
push 1
push ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x4b51e4]
test eax, eax
je 0x4430cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x3fa
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.0043d0b0
imul eax, dword [0x4b51e0], 0xc69
add esp, 0xc
push 0x70
push dword [ebp + 0xc]
add eax, 0xc
push dword [ebp - 4]
add eax, dword [0x4b5408]
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x4b51e4], eax
test eax, eax
jne 0x443198
push str.ISLoadPNG
push dword [0x4b5518]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x443179
imul ecx, dword [0x4b51e0], 0xc69
push 0
add ecx, 0xc
add ecx, dword [0x4b5408]
push ecx
call eax
mov dword [0x4b51e4], eax
test eax, eax
je 0x443230
push 8
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push eax
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [0x4b51e4], eax
jmp 0x443190
push str.ISLoadPNG
push str.StatusDlg_Timer____Function__s_failed_
call fcn.004696f0
mov eax, dword [0x4b51e4]
add esp, 8
test eax, eax
je 0x443230
test esi, esi
je 0x443230
push edi
mov edi, dword [0x4b51f8]
cmp edi, 0xffffffff
jne 0x4431c6
push 5
push 1
call fcn.00440e80
add esp, 8
imul eax, eax, 0x69
mov edi, dword [eax + 0x4c8d18]
mov eax, dword [0x4b51e4]
test edi, edi
jne 0x4431e3
push eax
push edi
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44322f
cmp edi, 0x100
jne 0x443203
push 1
push 0x104
push 0x26c
push eax
push esi
call fcn.0043acc0
add esp, 0x14
jmp 0x44322f
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4b51e4]
push 0
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x1f4
push esi
call fcn.0043aad0
add esp, 0xc
pop edi
mov ecx, dword [0x4b540c]
mov eax, 0x52835813
sub ecx, dword [0x4b5408]
mov esi, dword [0x4b51e0]
imul ecx
inc esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
push 0
sbb eax, eax
and eax, esi
mov dword [0x4b51e0], eax
imul eax, dword [0x4b51f4], 0x3e8
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447660
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0
push eax
push 0
push 0
push 0
push ecx
push 0x49533c
push edx
mov dword [ebp - 0x28], 0
mov dword [esi], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x44778f
cmp dword [0x4b552c], 0
jne 0x44778f
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.004478b0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4477a4
cmp ecx, 0x12c
jb 0x447702
cmp ecx, 0x194
mov esi, 5
mov eax, 2
cmove esi, eax
jmp 0x447714
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00447840
mov dword [esi], eax
add esp, 8
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x447766
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x24], ax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov word [ebp - 0x14], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x24]
push eax
movq qword [ebp - 0x22], xmm0
movq qword [ebp - 0x12], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.004477c0
add esp, 8
test eax, eax
lea eax, [ebp - 0x14]
push ebx
je 0x44775f
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [0x4b552c], 0
mov eax, 0x4c7
pop edi
cmovne esi, eax
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push str.HttpOpenRequest
push 0
call fcn.0043fb20
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret

Function at 0x447840
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor esi, esi
mov dword [ebp - 8], 4
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x44788c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
mov esi, eax
push str.GetHttpSize
push esi
call fcn.0043fb20
add esp, 0x14
jmp 0x44789c
push dword [ebp - 4]
push str.GetHttpSize___FileSize:__d
call fcn.00469390
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4478a5
mov dword [eax], esi
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447930
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push str.GetInternetConnectedState___Test_cnx_Internet
call fcn.00469390
add esp, 4
lea eax, [ebp - 4]
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4479e8
push esi
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_TRUE_with_dwFlags___x
call fcn.00469390
mov esi, dword [ebp + 8]
add esp, 8
test esi, esi
je 0x44799a
push ebx
push 1
push esi
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
push esi
test eax, eax
je 0x44798d
mov ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x447992
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.00469390
add esp, 8
pop esi
test bl, 2
jne 0x4479f8
push 0
push 1
push str.http:__www.microsoft.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x4479c2
push str.http:__www.microsoft.com
or ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x4479f0
push 0
push 0
push 0
push str.InternetCheckConnection
push 0
call fcn.0043fb20
push str.http:__www.microsoft.com
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.00469390
add esp, 0x1c
jmp 0x4479f8
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_FALSE_with_dwFlags___u
call fcn.00469390
add esp, 8
test byte [ebp - 4], 0x53
je 0x447a01
or ebx, 1
push ebx
push str.GetInternetConnectedState___Return__u_with_1CONNECTION_CONFIGURED_and_2CONNECTION_ACTIVED
call fcn.00469390
push str.GetInternetConnectedState___End_cnx_Internet
call fcn.00469390
add esp, 0xc
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447ec0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a68e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4af6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x447f19
mov eax, dword [esi + 0x10]
inc eax
je 0x447f23
push eax
push esi
push edi
call fcn.0046e2c0
add esp, 0xc
jmp 0x447f23
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov dword [ebp + 8], esi
mov byte [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0044c360
mov dword [esi + 0x3c], eax
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 0x10

Function at 0x447fb0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a68e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4af6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov eax, dword [eax]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push eax
mov byte [edi], 0
call fcn.004285e0
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov dword [ebp + 8], esi
mov byte [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0044c360
mov dword [esi + 0x3c], eax
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 0x10
Function at 0x44a090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a9b7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4af6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x44a0e4
mov dword [edi], 0x496524
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
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 ecx, dword [eax + 4]
add ecx, edi
call fcn.00452cb0
mov eax, dword [edi]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0044a2d0
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
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 byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
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 [esi + 0x50], 0
mov eax, dword [0x4b5454]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x40], 0
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 0x44c440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ad18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4af6f0]
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 + 0x40], 0
je 0x44c565
cmp byte [ebx + 0x45], 0
je 0x44c565
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x44c494
xor al, al
jmp 0x44c567
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x44c4fe
dec eax
je 0x44c502
sub eax, 2
je 0x44c54e
xor bl, bl
jmp 0x44c550
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x44c534
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004742d2
add esp, 0x10
cmp esi, eax
jne 0x44c4fa
cmp byte [ebx + 0x45], 0
je 0x44c54e
test esi, esi
jne 0x44c4c4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0044fa10
jmp 0x44c4c4
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x44c561
push dword [ebp - 0x28]
call fcn.0046e100
add esp, 4
mov al, bl
jmp 0x44c567
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.0046ecfa
mov esp, ebp
pop ebp
ret