Function at 0x42c700
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x490654]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
push edi
mov eax, dword [0x490654]
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 0x47a4cc
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.004025cc
push esi
push eax
mov dword [esp + 0x478], 0
call fcn.0040260b
call fcn.00402637
push eax
push str.INFO
mov ecx, ebx
call fcn.00417780
lea ecx, [esp + 0x30]
mov dword [esp + 0x470], 0xffffffff
call fcn.004025fd
push 0x208
call fcn.0045221e
add esp, 4
push edi
push ecx
push str.sZona.jar
push 0x479cc0
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.0045221e
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 0x479c0c
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.004531bb
add esp, 4
push esi
call fcn.004531bb
add esp, 4
cmp dword [esp + 0x14], 0x407
ja 0x42c86e
push 0x47cb30
push 0x47a4cc
call fcn.004089f0
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00417780
xor al, al
jmp 0x42c9b8
mov esi, dword [esp + 0x2c]
movzx eax, word [esi]
mov ecx, esi
test ax, ax
je 0x42c898
lea esp, [esp]
cmp ax, 0x20
jb 0x42c89f
cmp ax, 0x7e
ja 0x42c89f
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x42c880
push str.sNeedMoveXul:
jmp 0x42c84d
mov eax, dword [esp + 0x18]
push esi
push ecx
push str.spluginszxulrunnerplugin.properties
push 0x479cc0
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 0x479cc0
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 0x42c933
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 0x42c95b
lea eax, [esp + 0x254]
push eax
call fcn.00406c90
add esp, 4
or eax, edx
jne 0x42c95b
push str.sNeedMoveXul:_XUL_properties_is_empty
jmp 0x42c84d
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov byte [esi + 1], 1
call fcn.00408380
test al, al
jne 0x42c997
push str.sNeedMoveXul:_App_path_is_good
push 0x47a4cc
call fcn.004089f0
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00417780
mov byte [esi + 2], 1
xor al, al
jmp 0x42c9b8
push str.sNeedMoveXul:_NEED
push 0x47a4cc
call fcn.004089f0
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00417780
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.00452c94
mov esp, ebp
pop ebp
ret