Function at 0x444cf0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4787ae
mov eax, dword fs:[0]
push eax
sub esp, 0x6d4
mov eax, dword [0x4bb050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6cc], ecx
mov eax, dword [0x4cc800]
add ecx, 0x114
mov esi, dword [ebp + 8]
mov dword [ebp - 0x6d0], eax
call fcn.0043b870
mov byte [ebp - 0x6d4], 0
mov dword [ebp - 0x6d8], 0
push ecx
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 4], 0
call fcn.00437820
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - 0x170], 0x49e720
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
push 0
push 0
push 0
push 0
push 0
push esi
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.0042cbb0
push 0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x6d8]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.004379c0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test al, al
jne 0x444dda
mov byte [ebp - 0x6c1], 0
jmp 0x444e15
lea eax, [ebp - 0x6c8]
mov dword [ebp - 0x6c8], 0
push eax
push dword [ebp - 0x4c0]
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x444e02
call edi
test eax, eax
je 0x444e02
xor esi, esi
mov dword [ebp - 0x16c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov byte [ebp - 0x6c1], 1
mov byte [ebp - 4], 1
cmp byte [ebp - 0x48], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x444e42
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
cmp eax, ecx
je 0x444e42
push eax
call fcn.0045dc2d
add esp, 4
cmp byte [ebp - 0x6c1], 0
je 0x445181
lea eax, [ebp - 0x6c8]
mov dword [ebp - 0x6c8], 0
push eax
push dword [ebp - 0x4c0]
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x444e77
call edi
test eax, eax
je 0x444e77
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0045dc48
add esp, 4
mov dword [ebp - 0x6c8], eax
test eax, eax
je 0x445181
push esi
push eax
lea eax, [ebp - 0x6d8]
push eax
lea ecx, [ebp - 0x170]
call fcn.00449360
test al, al
je 0x44515d
mov edi, dword [ebp - 0x6c8]
lea ecx, [ebp - 0x4c4]
mov byte [esi + edi], 0
call fcn.00437bf0
push 1
lea ecx, [ebp - 0x6c0]
call fcn.0043d760
push edi
lea ecx, [ebp - 0x6c0]
call fcn.0043d980
mov edi, eax
test edi, edi
je 0x44515d
mov cl, byte [edi]
test cl, cl
je 0x44515d
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
nop dword [eax]
test cl, cl
je 0x445129
mov esi, edi
cmp cl, 0xd
je 0x444f30
nop
cmp cl, 0xa
je 0x444f30
mov cl, byte [esi + 1]
inc esi
cmp cl, 0xd
jne 0x444f20
nop
mov al, byte [esi]
cmp al, 0xd
je 0x444f3a
cmp al, 0xa
jne 0x444f40
mov byte [esi], 0
inc esi
jmp 0x444f30
push 0x20
push edi
call fcn.0045c1f0
add esp, 8
test eax, eax
je 0x445120
lea edx, [eax + 1]
mov byte [eax], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x6dc], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444f80
sub ecx, dword [ebp - 0x6dc]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0043c610
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00445290
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x444fd7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x444fcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4451d5
push ecx
push edx
call fcn.00459e5c
add esp, 8
mov ecx, dword [ebp - 0x6cc]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ecx + 0x114]
call fcn.0043c530
mov ecx, dword [ebp - 0x6cc]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x118]
jne 0x445090
mov ecx, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445021
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0043c610
mov ecx, dword [ebp - 0x6cc]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ecx + 0x114]
call fcn.004451e0
mov ecx, eax
call fcn.00445290
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x445090
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445086
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4451d5
push ecx
push edx
call fcn.00459e5c
add esp, 8
cmp dword [ebp - 0x6d0], 0
je 0x445120
mov ecx, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4450b7
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0043c610
mov ecx, dword [ebp - 0x6d0]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call fcn.004451e0
mov ecx, eax
call fcn.00445290
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x445120
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445116
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4451d5
push ecx
push edx
call fcn.00459e5c
add esp, 8
mov cl, byte [esi]
mov edi, esi
jmp 0x444f10
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x44515d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445153
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4451d5
push ecx
push edx
call fcn.00459e5c
add esp, 8
push dword [ebp - 0x6c8]
call fcn.0045dc2d
mov eax, dword [ebp - 0x6cc]
add esp, 4
cmp dword [eax + 0x11c], 0
seta byte [ebp - 0x6c1]
jmp 0x445188
mov byte [ebp - 0x6c1], 0
lea ecx, [ebp - 0x4c4]
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.00437900
lea ecx, [ebp - 0x6d8]
call fcn.0042c470
mov al, byte [ebp - 0x6c1]
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.0045a329
mov esp, ebp
pop ebp
ret 0xc
call fcn.0045d9ef
int3