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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x24]
push 0x104
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004e69c0
push 0x1c8
push 1
call fcn.004eea94
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x428465
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4285c2
mov eax, dword [0x58c3b0]
test eax, eax
jne 0x428478
call fcn.00490e40
mov dword [0x58c3b0], eax
push esi
push eax
call fcn.004913f0
add esp, 8
cmp dword [0x58c3b0], 0
jne 0x42849e
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.004eea9f
jmp 0x4285bf
mov dword [esi], edi
test edi, edi
je 0x4284b5
movq xmm0, qword [edi]
movq qword [esi + 4], xmm0
mov eax, dword [edi + 8]
mov dword [esi + 0xc], eax
jmp 0x4284c4
xorps xmm0, xmm0
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x110]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x10c]
push 0x40
push dword [ebp - 0x114]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
push eax
mov dword [esi + 0x10], ebx
call fcn.004a9a20
push 0x104
push dword [ebp - 0x118]
lea eax, [ebp - 0x108]
push eax
call fcn.004a9a20
lea eax, [ebp - 0x108]
push eax
call fcn.004a85d0
push 0x40
lea eax, [ebp - 0x108]
push eax
lea eax, [esi + 0x64]
push eax
call fcn.004a9a20
mov eax, dword [ebp + 0x28]
mov dword [esi + 0xa4], eax
mov dword [esi + 0xb0], 0
call fcn.004d9850
mov dword [esi + 0xb4], eax
lea eax, [esi + 0xb8]
push eax
call fcn.004a55e0
add esp, 0x2c
mov dword [esi + 0xac], 0
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push esi
push 0x428360
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x4285c4
push esi
push dword [0x58c3b0]
call fcn.004918e0
push esi
call fcn.004eea9f
push dword [0x58c3b0]
call fcn.00491040
add esp, 0x10
test eax, eax
jg 0x4285c2
mov eax, dword [0x58c3b0]
push eax
mov dword [0x58c3b0], 0
call fcn.00490f00
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret 0x24
Function at 0x428850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.ThisIsAFileLockxxxx]
mov eax, dword [0x518fb4]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], eax
call fcn.004d9850
push edi
mov dword [ebp - 0x1c], eax
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x4289b4
push edi
call fcn.004289f0
add esp, 4
test eax, eax
je 0x42899e
push 0x1493
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x50a5d0
push edi
call fcn.0042c170
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4288e5
push 0x64
call ebx
push 0x1497
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x50a5d0
push edi
call fcn.0042c170
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x18]
push eax
call fcn.004a55e0
add esp, 4
test esi, esi
je 0x42890c
push esi
push 1
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.004e91b7
push esi
call fcn.0042bfc0
add esp, 0x14
mov ecx, str.ThisIsAFileLockxxxx
lea eax, [ebp - 0x18]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x428934
test dl, dl
je 0x428930
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x428934
add eax, 2
add ecx, 2
test dl, dl
jne 0x428914
xor eax, eax
jmp 0x428939
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4289b4
push edi
call fcn.00429a50
add esp, 4
test eax, eax
jne 0x42899e
push 0x64
call ebx
call fcn.004d9850
mov esi, dword [ebp - 0x1c]
sub eax, esi
cmp eax, 0x2710
jae 0x42896c
push edi
call fcn.00429a50
add esp, 4
test eax, eax
jne 0x42899e
push 0x64
call ebx
call fcn.004d9850
sub eax, esi
cmp eax, 0x2710
jae 0x4289b4
push edi
call fcn.00429a50
add esp, 4
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4289e9
shr eax, 4
and eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4289f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push edi
call fcn.00428ae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x428ac9
push edi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x428ac7
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004a9a20
lea eax, [ebp - 0x108]
push eax
call fcn.004a9190
push esi
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.004a8710
push esi
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.004a8630
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.004a4140
add esp, 0x3c
cmp eax, 1
jne 0x428ac7
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x428ab5
test al, 0x10
je 0x428ab5
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x428ce0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004e69c0
push 0x140
lea eax, [ebp - 0x34c]
push 0
push eax
call fcn.004e69c0
add esp, 0x24
test esi, esi
je 0x428e8f
cmp byte [esi], 0
je 0x428e8f
push 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004a9a20
add esp, 0xc
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x20c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x109], al
test al, al
jne 0x428d60
lea eax, [ebp - 0x108]
push eax
call fcn.004a85d0
mov eax, dword [0x58a810]
add esp, 4
mov ecx, dword [0x58a80c]
add eax, 0xf
cmp ecx, eax
jle 0x428db0
push ecx
push str.:8:DoesFileExist_Helper___has_determined_that_over__d_helper_threads_may_be_stuck_
mov dword [0x58a810], ecx
call fcn.00424fd0
mov ecx, dword [0x58a80c]
add esp, 8
lea eax, [ebp - 0x34c]
inc ecx
push eax
lea eax, [ebp - 0x20c]
mov dword [0x58a80c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
dec dword [0x58a80c]
mov esi, eax
cmp esi, 0xffffffff
je 0x428e8f
cmp dword [0x55fd7c], 0
push edi
je 0x428e56
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax]
cmp byte [ebp - 0x320], 0x2e
je 0x428e3f
lea eax, [ebp - 0x320]
push eax
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x428e3f
cmp byte [ebp - 0x108], 0x2a
jne 0x428e56
cmp byte [ebp - 0x106], 0x2a
jne 0x428e56
mov al, byte [ebp - 0x107]
cmp al, 0x3f
je 0x428e56
movsx eax, al
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.004e6cc0
add esp, 8
test eax, eax
jne 0x428e56
lea eax, [ebp - 0x34c]
push eax
push esi
call edi
test eax, eax
je 0x428e74
cmp dword [0x55fd7c], 0
jne 0x428df0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004e50dc
mov esp, ebp
pop ebp
ret 4
Function at 0x429860
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x429a35
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x429a35
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4298a3
sub ecx, edx
cmp ecx, 0x104
jae 0x4299db
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4298c0
sub ecx, edx
cmp ecx, 0x104
jae 0x4299db
mov ebx, dword [ebp + 0x10]
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4299c5
push esi
call fcn.004289d0
add esp, 4
test eax, eax
je 0x42996f
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004a9a20
lea eax, [ebp - 0x108]
push eax
call fcn.004a85d0
lea eax, [ebp - 0x108]
push eax
call fcn.004a73a0
add esp, 0x20
test eax, eax
jne 0x429a35
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004a7ad0
add esp, 8
lea eax, [ebp - 0x108]
push ebx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_CopyFileA]
push edi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x429a35
push esi
call fcn.004289f0
add esp, 4
test eax, eax
je 0x429a35
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x429a35
and eax, 0xfffffffc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push esi
push edi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push edi
call fcn.004a4210
push esi
mov ebx, eax
call fcn.004a4210
add esp, 8
mov edi, eax
test ebx, ebx
je 0x429a28
test edi, edi
je 0x429a25
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
mov esi, eax
call fcn.004eea9f
push edi
call fcn.004eea9f
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push ebx
jmp 0x429a2d
test edi, edi
je 0x429a35
push edi
call fcn.004eea9f
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x429a50
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x429aac
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x429aa4
push esi
call fcn.004289f0
add esp, 4
test eax, eax
je 0x429aa4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x429aac
and eax, 0xfffffffc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x429b90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x90], ebx
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x429cc0
call fcn.004d9850
push edi
push esi
push 0
push 0x80
push 3
push 0
push 7
push connect
push ebx
mov dword [ebp - 0x8c], eax
call fcn.00427f00
mov ebx, eax
add esp, 0x24
cmp ebx, 0xffffffff
jne 0x429cd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x94], ebx
test edi, edi
je 0x429c14
cmp dword [edi], 0
jne 0x429cb9
test esi, esi
je 0x429c2b
call fcn.004d9850
sub eax, dword [ebp - 0x8c]
cmp eax, esi
jae 0x429cb9
push edi
push esi
push 0
push 0x80
push 3
push 0
push 7
push 0x2000000
push dword [ebp - 0x90]
call fcn.00427f00
mov ebx, eax
add esp, 0x24
cmp ebx, 0xffffffff
jne 0x429cd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x88], ebx
test edi, edi
je 0x429c6b
cmp dword [edi], 0
jne 0x429cb9
test esi, esi
je 0x429c7e
call fcn.004d9850
sub eax, dword [ebp - 0x8c]
cmp eax, esi
jae 0x429cb9
mov ebx, dword [ebp - 0x90]
push esi
push ebx
call fcn.00428ae0
add esp, 8
test eax, eax
je 0x429cb3
mov eax, dword [ebp - 0x88]
push eax
push str._GetLastError_
push eax
push dword [ebp - 0x94]
push ebx
push str.:8:GetFileSizeTimeOut___Seems_to_have_failed_because_of_an_access_rights_problem_:___s_:__u:_u:__s_ld
call fcn.00424a90
add esp, 0x18
mov ebx, dword [ebp - 0x88]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x88], eax
cmp eax, 0xffffffff
jne 0x429d31
xor eax, eax
test edi, edi
je 0x429cef
mov eax, dword [edi]
push str._GetLastError_
push eax
push esi
push dword [ebp - 0x90]
push str.:7:GetFileSizeTimeOut___s____ld___d__FAILED:__s
call fcn.00424fd0
add esp, 0x14
push 0x104f
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push str.GetFileSizeTimeOut
push ebx
call fcn.00426230
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x429d93
push 0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
push 0x80
lea eax, [ebp - 0x84]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [ebp - 0x8c]
je 0x429d69
test eax, eax
jne 0x429d93
push str._GetLastError_
push eax
push dword [ebp - 0x88]
push esi
push dword [ebp - 0x90]
push str.:7:GetFileSizeTimeOut___s____ld__FAILED:_GetFileSize___returned__ld_but_ReadFile_____ldBytesRead__FAILED:__s
call fcn.00424a90
add esp, 0x18
push 0x105b
jmp 0x429d0e
push 0x1060
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push str.GetFileSizeTimeOut
push ebx
call fcn.00426230
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x88]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x429fe0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push 0
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
push 0
push 0
movlpd qword [ebp - 8], xmm0
call fcn.0047d960
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x42a02f
push str._GetLastError_
push str.:7:GetFreeDiskSpace___FAILED:_GetDiskFreeSpaceEx___FAILED:__s
call fcn.00424a90
xorps xmm0, xmm0
add esp, 8
movlpd qword [ebp - 8], xmm0
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
jmp 0x42a040
mov ecx, dword [ebp - 8]
mov eax, ecx
mov edx, dword [ebp - 4]
or eax, edx
jne 0x42a040
lea ecx, [eax + 1]
xor edx, edx
test edx, edx
jl 0x42a052
jg 0x42a04b
cmp ecx, 0xffffffff
jbe 0x42a052
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x42a920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x42aa29
push eax
push eax
push esi
call fcn.00429b90
mov ebx, eax
add esp, 0xc
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x42aa29
push edi
push 0x138d
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x50a5d0
push esi
call fcn.0042c170
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42a988
push esi
push str.:6:LoadFileToMemory___s___FAILED:_fopen___failed_even_after_GetFileSizeTimeOut___succeeded___
call fcn.00424a90
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 0xe]
push eax
call fcn.004eec81
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42a9ba
push dword [ebp - 4]
push esi
push str.:5:LoadFileToMemory___s___FAILED:_malloc___failed_to_allocate_over__u_bytes:_OUT_OF_MEMORY.
call fcn.00424a90
push edi
call fcn.0042bfc0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
lea eax, [ebx + 4]
push edi
push esi
push 1
push eax
call fcn.004e91b7
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, esi
jae 0x42a9fc
push edi
call fcn.004e8873
add esp, 4
test eax, eax
jne 0x42a9fc
push edi
call fcn.0042bfc0
add esp, 4
push ebx
call fcn.004eea9f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0042bfc0
mov eax, dword [ebp - 4]
add esp, 4
test eax, eax
jne 0x42aa1e
push ebx
call fcn.004eea9f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx], eax
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42aa40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x104
push 0
push eax
mov dword [ebp - 0x10c], ebx
call fcn.004e69c0
add esp, 0xc
test ebx, ebx
je 0x42ab68
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x42ab68
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x42ab68
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004a9a20
lea eax, [ebp - 0x108]
push eax
call fcn.004a85d0
add esp, 0x10
lea eax, [ebp - 0x108]
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42aae5
test dl, dl
je 0x42aae1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42aae5
add eax, 2
add ecx, 2
test dl, dl
jne 0x42aac5
xor eax, eax
jmp 0x42aaea
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42ab19
push esi
push eax
push eax
call fcn.0047dbc0
add esp, 8
push eax
push 0x50d2e0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004a94b0
add esp, 0x14
lea esi, [ebp - 0x108]
push 0x14cc
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x50a5d0
push esi
call fcn.0042c170
mov edi, eax
add esp, 0x10
test edi, edi
je 0x42ab68
push edi
push 1
push ebx
push dword [ebp - 0x10c]
call fcn.004e91b7
neg eax
push edi
sbb esi, esi
neg esi
call fcn.0042bfc0
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x42ab80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push edi
mov edi, dword [ebp + 8]
push 0x104
push 0
push eax
mov dword [ebp - 0x10c], 0
call fcn.004e69c0
test esi, esi
lea ebx, [ebp - 0x10c]
push edi
cmovne ebx, esi
call fcn.004a73a0
add esp, 0x10
test eax, eax
je 0x42abea
mov dword [ebx], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004a9a20
lea eax, [ebp - 0x108]
push eax
call fcn.004a85d0
add esp, 0x10
lea eax, [ebp - 0x108]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42ac33
test dl, dl
je 0x42ac2f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42ac33
add eax, 2
add ecx, 2
test dl, dl
jne 0x42ac13
xor eax, eax
jmp 0x42ac38
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42ac67
push edi
push eax
push eax
call fcn.0047dbc0
add esp, 8
push eax
push 0x50d2e0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004a94b0
add esp, 0x14
lea edi, [ebp - 0x108]
push 0x1524
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x50a5d0
push edi
call fcn.0042c170
mov edi, eax
mov dword [ebx], 0
add esp, 0x10
test edi, edi
je 0x42abd7
push edi
push 1
push 4
push ebx
call fcn.004e91b7
push edi
mov esi, eax
call fcn.0042bfc0
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
Function at 0x42b120
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push edi
mov edi, dword [ebp + 8]
push 0x104
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e69c0
push edi
call fcn.004a73a0
add esp, 0x1c
test eax, eax
jne 0x42b2c8
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x42b2c8
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004a9a20
lea eax, [ebp - 0x108]
push eax
call fcn.004a87a0
lea eax, [ebp - 0x108]
push eax
call fcn.004a86c0
lea ecx, [ebp - 0x108]
add esp, 0x14
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b1c0
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
jle 0x42b1f2
cmp byte [ebp + eax - 0x108], 0x5c
jne 0x42b1f2
cmp eax, 0x104
jae 0x42b2da
mov byte [ebp + eax - 0x108], 0
dec eax
test eax, eax
jg 0x42b1d0
lea eax, [ebp - 0x108]
push eax
call fcn.004a85d0
push 0x104
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004a9a20
lea eax, [ebp - 0x20c]
push eax
call fcn.004a87a0
lea eax, [ebp - 0x20c]
push eax
call fcn.004a86c0
lea ecx, [ebp - 0x20c]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b234
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
jle 0x42b266
cmp byte [ebp + eax - 0x20c], 0x5c
jne 0x42b266
cmp eax, 0x104
jae 0x42b2da
mov byte [ebp + eax - 0x20c], 0
dec eax
test eax, eax
jg 0x42b244
lea eax, [ebp - 0x20c]
push eax
call fcn.004a8490
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004a7ad0
add esp, 0xc
lea eax, [ebp - 0x108]
cmp dword [ebp + 0x10], 0
je 0x42b2ae
push 0xb
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push 0xa
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
call fcn.004e523e
int3

Function at 0x42b9e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [0x58c3b0]
call fcn.00490f60
mov ebx, dword [ebp + 8]
mov esi, eax
add esp, 4
xor edi, edi
test esi, esi
je 0x42ba72
nop
cmp edi, 0x56ce
jge 0x42ba72
cmp ebx, dword [esi + 0xa8]
je 0x42ba36
push dword [0x58c3b0]
call fcn.00490fd0
mov esi, eax
add esp, 4
inc edi
test esi, esi
jne 0x42ba00
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
push esi
push dword [0x58c3b0]
call fcn.004918e0
push esi
call fcn.004eea9f
push dword [0x58c3b0]
call fcn.00491040
add esp, 0x10
test eax, eax
jg 0x42ba72
mov eax, dword [0x58c3b0]
push eax
mov dword [0x58c3b0], 0
call fcn.00490f00
add esp, 4
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 0x14