Function at 0x425200
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcc68
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
push 0x468ad0
call fcn.004dbbc8
add esp, 4
push str._files_n
push 0x514dec
push str._nChecking
mov eax, dword [edi + 4]
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
mov byte [ebp - 0x11], 1
mov ecx, dword [0x570024]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 1
mov edx, dword [0x570024]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
call fcn.0046e110
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x24]
push ecx
call fcn.0046e970
add esp, 0x14
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 8]
cmp eax, esi
je 0x4252c8
mov al, byte [eax + ecx - 1]
cmp al, 0x5c
je 0x4252c8
push 0x514670
lea ecx, [ebp - 0x1c]
call fcn.0041d470
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx - 8]
cmp eax, esi
je 0x4252e6
cmp byte [eax + ecx - 1], 0x5c
je 0x4252e6
push 0x514670
lea ecx, [ebp - 0x24]
call fcn.0041d470
push esi
call fcn.0046a840
add esp, 4
push eax
lea ecx, [ebp - 0x30]
call fcn.0041ad50
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], esi
nop
cmp esi, 5
jge 0x4256e3
lea esi, [esi + esi*2]
add esi, esi
add esi, esi
mov eax, dword [esi + 0x570854]
push str.USAirways.bil
push eax
call fcn.004dcc20
add esp, 8
test eax, eax
jne 0x425346
lea edx, [ebp - 0x30]
push edx
push 0x514264
call fcn.00422290
test al, al
je 0x425340
lea eax, [ebp - 0x24]
push eax
jmp 0x42534a
lea ecx, [ebp - 0x1c]
push ecx
jmp 0x42534a
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.0041e3d0
mov eax, dword [esi + 0x570854]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d470
push 0
push 0x80
push 3
push 0
push 1
push closesocket
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42548c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp byte [esi + 0x570858], 0
je 0x4253a9
mov esi, dword [esi + 0x57085c]
test esi, esi
je 0x4253b2
call esi
test al, al
jne 0x4253b2
cmp ebx, 2
je 0x42545d
push 0
lea edx, [ebp - 0x11]
push edx
mov ecx, dword [edi + 4]
call fcn.00424ec0
add esp, 8
mov eax, dword [ebp - 0x18]
push eax
push 0x514dcc
push ebx
push str.Could_not_open_file__
mov ecx, dword [edi + 4]
push ecx
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00424d00
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov edx, dword [esi]
mov eax, dword [edx + 4]
test byte [eax + esi + 0xc], 6
jne 0x42542d
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x42542d
mov ebx, 4
mov dword [ebp - 0x58], ebx
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test ebx, ebx
je 0x4256d8
mov eax, dword [ecx + 0xc]
or eax, ebx
cmp dword [ecx + 0x38], 0
jne 0x42544a
or eax, 4
push 0
push eax
call fcn.00409360
inc dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
jmp 0x425300
mov edx, dword [ebp - 0x18]
push edx
push str.File_not_found
mov eax, dword [edi + 4]
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
push eax
call fcn.00424e60
add esp, 0xc
inc dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
jmp 0x425300
mov byte [ebp - 0x12], 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push str._Size_is:
mov ecx, dword [esi + 0x570854]
push ecx
mov edx, dword [edi + 4]
push edx
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x64]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42559f
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
call fcn.00424a70
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x44]
call fcn.00424a70
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x34]
call fcn.00424a70
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx]
mov eax, dword [eax]
push ecx
push str._Modified:
push edx
push str._Accessed:
push eax
push str.__Created:
mov eax, dword [edi + 4]
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00416630
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00416630
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00416630
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x570859], 0
je 0x42565b
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00432470
add esp, 8
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], 0
jne 0x425604
push 1
lea eax, [ebp - 0x11]
push eax
mov ecx, dword [edi + 4]
call fcn.00424ec0
add esp, 8
mov ecx, dword [esi + 0x570854]
push ecx
push str.no_version_info_found_for
mov edx, dword [edi + 4]
push edx
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
jmp 0x42564f
push eax
push str.__Version_is:
mov eax, dword [edi + 4]
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 8], 0
jne 0x425636
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041e3d0
jmp 0x42564f
mov edx, dword [ebp - 0x20]
push edx
push eax
call fcn.004dd23c
add esp, 8
test eax, eax
je 0x42564f
mov byte [ebp - 0x12], 1
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00416630
mov esi, dword [edi + 4]
push 0xa
mov ecx, esi
call fcn.00424d00
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov eax, dword [esi]
mov eax, dword [eax + 4]
test byte [eax + esi + 0xc], 6
jne 0x425692
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x425692
mov ebx, 4
mov dword [ebp - 0x70], ebx
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test ebx, ebx
je 0x4256b3
mov eax, dword [ecx + 0xc]
or eax, ebx
cmp dword [ecx + 0x38], 0
jne 0x4256ab
or eax, 4
push 0
push eax
call fcn.00409360
cmp byte [ebp - 0x12], 0
je 0x4256d8
push 0
lea edx, [ebp - 0x11]
push edx
mov ecx, dword [edi + 4]
call fcn.00424ec0
push str.version_mismatch_for_some_components_n
mov eax, dword [edi + 4]
push eax
call fcn.0041e560
add esp, 0x10
inc dword [ebp - 0x28]
mov esi, dword [ebp - 0x28]
jmp 0x425300
push 0x5706d0
mov ecx, dword [edi + 4]
push ecx
call fcn.0041e560
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00424d00
xor edi, edi
mov dword [ebp - 0x50], edi
mov edx, dword [esi]
mov eax, dword [edx + 4]
test byte [eax + esi + 0xc], 6
jne 0x42572a
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x42572a
mov edi, 4
mov dword [ebp - 0x50], edi
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
test edi, edi
je 0x425803
mov ecx, dword [eax + 0xc]
or ecx, edi
cmp dword [eax + 0x38], 0
jne 0x425747
or ecx, 4
and ecx, 0x17
mov dword [eax + 0xc], ecx
mov edx, dword [eax + 0x10]
test ecx, edx
je 0x425803
and edx, ecx
test dl, 4
je 0x425793
call fcn.004dafdc
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x40]
push edx
push str.ios_base::badbit_set
lea ecx, [ebp - 0xa4]
call fcn.00409320
push 0x56b814
lea eax, [ebp - 0xa4]
push eax
call fcn.004db4d1
and ecx, dword [eax + 0x10]
test cl, 2
je 0x4257cf
call fcn.004dafdc
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x48]
push edx
push str.ios_base::failbit_set
lea ecx, [ebp - 0x90]
call fcn.00409320
push 0x56b814
lea eax, [ebp - 0x90]
push eax
call fcn.004db4d1
call fcn.004dafdc
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
push ecx
push str.ios_base::eofbit_set
lea ecx, [ebp - 0xb8]
call fcn.00409320
push 0x56b814
lea edx, [ebp - 0xb8]
push edx
call fcn.004db4d1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00416630
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00416630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00416630
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret