Function at 0x42c5d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x491654]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
push edi
mov eax, dword [0x491654]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, edx
push str.sNeedMoveXul:_check_for
push 0x47b4cc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], ecx
call fcn.004089f0
add esp, 8
push eax
lea eax, [esp + 0x34]
call fcn.004025ce
push esi
push eax
mov dword [esp + 0x478], 0
call fcn.0040260d
call fcn.00402639
push eax
push str.INFO
mov ecx, ebx
call fcn.00417c10
lea ecx, [esp + 0x30]
mov dword [esp + 0x470], 0xffffffff
call fcn.004025ff
push 0x208
call fcn.00452372
add esp, 4
push edi
push ecx
push str.sZona.jar
push 0x47acc0
mov esi, eax
call fcn.004089f0
add esp, 0xc
push eax
push 0x104
push esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push 0x2800
call fcn.00452372
mov edx, dword [esp + 0x28]
add esp, 0x14
push esi
push edx
push str._s_binjavaw.exe___classpath___s__org.gudy.azureus2.core3.util.Constants
push 0x47ac0c
mov edi, eax
call fcn.004089f0
add esp, 8
push eax
push 0x1400
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 0
push edi
mov ecx, 1
call fcn.00406a50
add esp, 0xc
push edi
mov dword [esp + 0x18], eax
call fcn.004532eb
add esp, 4
push esi
call fcn.004532eb
add esp, 4
cmp dword [esp + 0x14], 0x407
ja 0x42c73e
push 0x47db40
push 0x47b4cc
call fcn.004089f0
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00417c10
xor al, al
jmp 0x42c888
mov esi, dword [esp + 0x2c]
movzx eax, word [esi]
mov ecx, esi
test ax, ax
je 0x42c768
lea esp, [esp]
cmp ax, 0x20
jb 0x42c76f
cmp ax, 0x7e
ja 0x42c76f
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x42c750
push str.sNeedMoveXul:
jmp 0x42c71d
mov eax, dword [esp + 0x18]
push esi
push ecx
push str.spluginszxulrunnerplugin.properties
push 0x47acc0
mov byte [eax], 1
call fcn.004089f0
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0xc
push eax
lea ecx, [esp + 0x54]
push 0x104
push ecx
call edi
add esp, 0x10
push esi
push ecx
push str.spluginszxulrunner10plugin.properties
push 0x47acc0
call fcn.004089f0
add esp, 0xc
push eax
lea edx, [esp + 0x25c]
push 0x104
push edx
call edi
add esp, 0x10
xor eax, eax
push eax
push 1
push 3
push eax
push 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push SysReAllocString
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42c803
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x1c]
or edx, dword [esp + 0x20]
jne 0x42c82b
lea eax, [esp + 0x254]
push eax
call fcn.00406c90
add esp, 4
or eax, edx
jne 0x42c82b
push str.sNeedMoveXul:_XUL_properties_is_empty
jmp 0x42c71d
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov byte [esi + 1], 1
call fcn.00408380
test al, al
jne 0x42c867
push str.sNeedMoveXul:_App_path_is_good
push 0x47b4cc
call fcn.004089f0
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00417c10
mov byte [esi + 2], 1
xor al, al
jmp 0x42c888
push str.sNeedMoveXul:_NEED
push 0x47b4cc
call fcn.004089f0
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00417c10
mov al, 1
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret