Function at 0x428660
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470a0b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x48f310]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
push edi
mov eax, dword [0x48f310]
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 0x479b6c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], ecx
call fcn.00405c30
add esp, 8
push eax
lea eax, [esp + 0x34]
call fcn.00401cc7
push esi
push eax
mov dword [esp + 0x478], 0
call fcn.00401cf8
call fcn.00401489
push eax
push str.INFO
mov ecx, ebx
call fcn.00414290
lea ecx, [esp + 0x30]
mov dword [esp + 0x470], 0xffffffff
call fcn.004012b8
push 0x208
call fcn.0045081c
add esp, 4
push edi
push ecx
push str.sZona.jar
push 0x479538
mov esi, eax
call fcn.00405c30
add esp, 0xc
push eax
push 0x104
push esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push 0x2800
call fcn.0045081c
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 0x479484
mov edi, eax
call fcn.00405c30
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.00403bd0
add esp, 0xc
push edi
mov dword [esp + 0x18], eax
call fcn.00450827
add esp, 4
push esi
call fcn.00450827
add esp, 4
cmp dword [esp + 0x14], 0x407
ja 0x4287ce
push 0x47bdf8
push 0x479b6c
call fcn.00405c30
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00414290
xor al, al
jmp 0x428918
mov esi, dword [esp + 0x2c]
movzx eax, word [esi]
mov ecx, esi
test ax, ax
je 0x4287f8
lea esp, [esp]
cmp ax, 0x20
jb 0x4287ff
cmp ax, 0x7e
ja 0x4287ff
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4287e0
push str.sNeedMoveXul:
jmp 0x4287ad
mov eax, dword [esp + 0x18]
push esi
push ecx
push str.spluginszxulrunnerplugin.properties
push 0x479538
mov byte [eax], 1
call fcn.00405c30
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 0x479538
call fcn.00405c30
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 0x428893
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 0x4288bb
lea eax, [esp + 0x254]
push eax
call fcn.00403e10
add esp, 4
or eax, edx
jne 0x4288bb
push str.sNeedMoveXul:_XUL_properties_is_empty
jmp 0x4287ad
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov byte [esi + 1], 1
call fcn.00405400
test al, al
jne 0x4288f7
push str.sNeedMoveXul:_App_path_is_good
push 0x479b6c
call fcn.00405c30
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00414290
mov byte [esi + 2], 1
xor al, al
jmp 0x428918
push str.sNeedMoveXul:_NEED
push 0x479b6c
call fcn.00405c30
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00414290
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.0045080d
mov esp, ebp
pop ebp
ret