Function at 0x452ab0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4bbcd1
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x284]
mov ebx, ecx
mov edi, edx
push 0x358
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edi
call fcn.00498bee
add esp, 4
test eax, eax
je 0x452b1e
mov esi, eax
call fcn.00457460
mov esi, eax
jmp 0x452b20
xor esi, esi
push 0
push edi
push ebx
push esi
mov dword [esp + 0x30], esi
call fcn.004435c0
test al, al
je 0x452b67
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x452b5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x452b5c
xor edi, edi
mov dword [esi + 0x350], edi
jmp 0x452cd7
test esi, esi
je 0x452b75
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push 0x358
call fcn.00498bee
add esp, 4
test eax, eax
je 0x452b91
mov esi, eax
call fcn.00457460
mov ebx, eax
jmp 0x452b93
xor ebx, ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call fcn.00448930
mov edi, str..sgbak
xor ecx, ecx
cmp ecx, edi
jne 0x452bb0
mov edi, 0x4d6464
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x452bb5
sub eax, edx
sar eax, 1
lea ebp, [eax + 1]
mov ecx, ebp
lea esi, [esp + 0x30]
mov dword [esp + 0x2c], eax
call fcn.004495a0
cmp byte [esp + 0x144], 0
lea eax, [esp + 0x34]
jne 0x452be8
mov eax, dword [esp + 0x30]
lea edx, [ebp + ebp]
push edx
add eax, 4
push edi
push eax
call fcn.0049c670
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x150]
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x284], 1
call fcn.00444700
mov byte [esp + 0x27c], 2
mov esi, dword [esp + 0x18]
mov ecx, esi
mov edi, ebx
call fcn.00457530
test al, al
sete byte [esp + 0x17]
cmp byte [esp + 0x268], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x14c], edi
jne 0x452c68
mov eax, dword [esp + 0x154]
lea edx, [esp + 0x158]
cmp eax, edx
je 0x452c68
push eax
call fcn.00498f5b
add esp, 4
mov dword [esp + 0x27c], 0xffffffff
cmp byte [esp + 0x144], 0
mov dword [esp + 0x28], edi
jne 0x452c96
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x452c96
push eax
call fcn.00498f5b
add esp, 4
cmp byte [esp + 0x17], 0
je 0x452cca
test ebx, ebx
je 0x452cab
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov ecx, esi
call fcn.00447720
push 0x4e2960
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
xor al, al
jmp 0x452d48
mov ecx, esi
call fcn.00447770
mov ebp, dword [esp + 0x1c]
mov ebx, esi
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x452d07
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x452d07
xor eax, eax
jmp 0x452d09
mov eax, esi
push eax
mov dword [ebp + 8], eax
call fcn.00499078
mov esi, dword [ebp + 8]
add esp, 4
push esi
mov dword [ebp + 4], eax
mov edx, dword [edi + 0x34c]
lea ecx, [edi + 0x34c]
push eax
mov eax, dword [edx + 4]
push ebx
call eax
mov edx, dword [edi]
test al, al
mov eax, dword [edx]
push 1
mov ecx, edi
jne 0x452d44
call eax
mov ecx, ebx
jmp 0x452cad
call eax
mov al, 1
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00497c58
add esp, 0x26c
ret 4