Function at 0x439630
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51070c
mov eax, dword fs:[0]
push eax
sub esp, 0x5b0
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x5a8], eax
push ebx
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x5c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea esi, [esp + 0x25c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x12], bl
call fcn.00425230
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x5a8], 0x54bd20
mov dword [esp + 0x5ac], ebx
mov dword [esp + 0x5b0], ebx
mov dword [esp + 0x5c8], ebx
mov ecx, 4
lea edx, [esp + 0x148]
mov byte [esp + 0x258], 1
mov word [esp + 0x256], cx
mov dword [esp + 0x144], edx
mov dword [esp + 0x148], ebx
lea ecx, [esp + 0x20]
call fcn.004174b0
mov eax, edi
lea edx, [esp + 0x20]
call fcn.00417710
mov eax, dword [esp + 0x18]
push ebx
push eax
lea eax, [esp + 0x28]
mov ecx, esi
mov byte [esp + 0x5d0], 3
call fcn.00425360
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
test al, al
jne 0x439720
xor al, al
jmp 0x43974f
mov edx, dword [esp + 0x260]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x439746
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x439746
xor edi, edi
mov dword [esp + 0x5ac], edi
mov al, 1
cmp al, bl
mov byte [esp + 0x5c8], 1
sete byte [esp + 0x13]
mov dword [esp + 0x20], vtable.t_str.0
cmp byte [esp + 0x13c], bl
jne 0x439784
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x439784
push eax
call fcn.004ed7b6
add esp, 4
cmp byte [esp + 0x13], bl
jne 0x439804
mov eax, dword [esp + 0x260]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ebx
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x4397b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x4397b0
xor edi, edi
mov ecx, edi
lea esi, [esp + 0x144]
call fcn.00411c60
lea eax, [esp + 0x148]
cmp byte [esp + 0x258], bl
jne 0x4397d5
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x18]
push edi
lea esi, [eax + 4]
push esi
push ecx
lea ecx, [esp + 0x5b4]
call fcn.004277f0
test al, al
je 0x439804
mov ecx, dword [esp + 0x1c]
push edi
mov edx, esi
call fcn.00438a80
test eax, eax
jl 0x439804
mov byte [esp + 0x12], 1
lea ecx, [esp + 0x25c]
call fcn.00425580
cmp byte [esp + 0x12], bl
jne 0x439888
mov ecx, dword [esp + 0x18]
call fcn.00416430
push 0x54d1d0
push 0x549858
mov edx, eax
call fcn.00417ed0
add esp, 8
cmp byte [esp + 0x258], bl
jne 0x439857
mov eax, dword [esp + 0x144]
lea edx, [esp + 0x148]
cmp eax, edx
je 0x439857
push eax
call fcn.004ed7b6
add esp, 4
mov dword [esp + 0x5c8], 0xffffffff
lea ecx, [esp + 0x25c]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x5a8], 0x54bd40
call fcn.004252a0
xor al, al
jmp 0x4398db
cmp byte [esp + 0x258], bl
jne 0x4398ac
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0x148]
cmp eax, ecx
je 0x4398ac
push eax
call fcn.004ed7b6
add esp, 4
mov dword [esp + 0x5c8], 0xffffffff
lea ecx, [esp + 0x25c]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x5a8], 0x54bd40
call fcn.004252a0
mov al, 1
mov ecx, dword [esp + 0x5c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5a8]
xor ecx, esp
call fcn.004ecddb
mov esp, ebp
pop ebp
ret 0xc