Function at 0x41f1d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45024b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x469090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x458], eax
xor ebx, ebx
xor ecx, ecx
push 0x19
mov eax, str.isNeedMoveXul:_check_for
lea esi, [ebp - 0x440]
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x444], edx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], ebx
mov word [ebp - 0x440], cx
call fcn.00402510
mov eax, edi
mov dword [ebp - 4], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f260
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [ebp - 0x440]
call fcn.00402190
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x41f289
mov eax, dword [eax]
mov ecx, dword [ebp - 0x444]
push eax
push str.INFO
call fcn.0040c980
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x42c], esi
jb 0x41f2b8
mov edx, dword [ebp - 0x440]
push edx
call fcn.00437245
add esp, 4
push 0x208
call fcn.0043723a
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x448]
push eax
push str._sZona.jar
push 0x104
push esi
call ebx
push 0x2800
call fcn.0043723a
mov ecx, dword [ebp - 0x460]
add esp, 0x14
push esi
push ecx
push str.__s_binjavaw.exe___classpath___s__org.gudy.azureus2.core3.util.Constants
mov edi, eax
push 0x1400
push edi
call ebx
mov ebx, dword [ebp - 0x444]
add esp, 0x14
push 0
push edi
mov ecx, 1
call fcn.00407b10
push edi
mov ebx, eax
call fcn.00437245
add esp, 0xc
push esi
call fcn.00437245
add esp, 4
cmp ebx, 0x407
ja 0x41f353
mov ecx, dword [ebp - 0x444]
push 0x45c890
push str.INFO
call fcn.0040c980
xor al, al
jmp 0x41f490
mov esi, dword [ebp - 0x45c]
movzx eax, word [esi]
mov ecx, esi
test ax, ax
je 0x41f37b
cmp ax, 0x20
jb 0x41f397
cmp ax, 0x7e
ja 0x41f397
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x41f363
mov ecx, dword [ebp - 0x444]
push str.isNeedMoveXul:
push str.INFO
call fcn.0040c980
xor al, al
jmp 0x41f490
mov ebx, dword [ebp - 0x458]
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push esi
push str._spluginszxulrunnerplugin.properties
lea edx, [ebp - 0x424]
push 0x104
push edx
mov byte [ebx], 1
call edi
push esi
push str._spluginszxulrunner10plugin.properties
lea eax, [ebp - 0x21c]
push 0x104
push eax
call edi
add esp, 0x20
xor eax, eax
push eax
push 1
push 3
push eax
push 1
push SysReAllocString
lea ecx, [ebp - 0x424]
push ecx
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41f415
lea edx, [ebp - 0x454]
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x454]
or eax, dword [ebp - 0x450]
jne 0x41f44f
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00407d10
add esp, 4
or eax, edx
jne 0x41f44f
mov ecx, dword [ebp - 0x444]
push str.isNeedMoveXul:_XUL_properties_is_empty
push str.INFO
call fcn.0040c980
xor al, al
jmp 0x41f490
mov ecx, dword [ebp - 0x448]
mov byte [ebx + 1], 1
call fcn.00408f10
mov ecx, dword [ebp - 0x444]
test al, al
jne 0x41f47f
push str.isNeedMoveXul:_App_path_is_good
push str.INFO
call fcn.0040c980
mov byte [ebx + 2], 1
xor al, al
jmp 0x41f490
push str.isNeedMoveXul:_NEED
push str.INFO
call fcn.0040c980
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043722b
mov esp, ebp
pop ebp
ret