Function at 0x418a90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447f10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4630b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
xor ecx, ecx
movlpd qword [ebp - 0x18], xmm0
xor eax, eax
lea ebx, [ebx]
cmp dword [eax + 0x44eb80], edx
je 0x418b0c
add eax, 0x1c
inc ecx
cmp eax, 0x444
jb 0x418ad0
mov edx, dword [0x465a24]
mov ecx, dword [ebp - 0x18]
test edx, edx
je 0x418b4d
mov eax, dword [0x465a20]
sub ecx, dword [eax + 0x30]
push ecx
push dword [0x465a1c]
mov ecx, 0x465a18
push eax
call fcn.00423c70
jmp 0x418b65
mov edx, dword [0x465a24]
lea eax, [ecx*8]
sub eax, ecx
test edx, edx
je 0x418b34
mov eax, dword [eax*4 + 0x44eb8c]
test eax, eax
je 0x418ae9
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x418aec
mov ecx, dword [eax*4 + 0x44eb84]
test ecx, ecx
je 0x418b4a
mov ecx, dword [ecx]
mov dword [ebp - 0x14], 0
jmp 0x418b4d
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x465a20]
sub ecx, dword [eax + 0x34]
push ecx
push dword [0x465a1c]
push eax
call fcn.00423cb0
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x418b92
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.Cant_find_offset_
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [0x465a38]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp edi, ebx
jbe 0x418bcd
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.Invalid_entry_
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x465a1c]
xor edx, edx
mov dword [ebp - 4], 0
cmp dword [0x465a24], edx
je 0x418c3e
mov eax, dword [0x465a20]
mov esi, dword [ecx + edi]
sub esi, dword [eax + 0x30]
mov eax, dword [ecx + edi]
or eax, dword [ecx + edi + 4]
je 0x418c0c
push esi
push ecx
push dword [0x465a20]
mov ecx, 0x465a18
call fcn.00423c70
mov edx, eax
mov dword [ebp - 4], 0xffffffff
test edx, edx
jne 0x418c65
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.Invalid_pointer_
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + edi]
mov esi, eax
mov edi, dword [0x465a20]
sub esi, dword [edi + 0x34]
test eax, eax
je 0x418c0c
push esi
push ecx
push edi
call fcn.00423cb0
add esp, 0xc
jmp 0x418c0a
cmp edx, ebx
jbe 0x418c90
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.Invalid_value_by_pointer_
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 1
push esi
push 0
push edx
push dword [ebp + 8]
push dword [0x4659c0]
call fcn.00407fb0
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret