Function at 0x430b20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4790bb
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x49b3d4]
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 esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, edx
push str.sNeedMoveXul:_check_for
push 0x484dc4
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x448], ecx
call fcn.004087e0
add esp, 8
push eax
lea eax, [ebp - 0x440]
call fcn.004025d0
push esi
push eax
mov dword [ebp - 4], 0
call fcn.0040260f
call fcn.0040263b
push eax
push str.INFO
mov ecx, ebx
call fcn.00416a80
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], 0xffffffff
call fcn.00402601
push 0x208
call fcn.0045854a
add esp, 4
push edi
push ecx
push str.sZona.jar
push 0x484350
mov esi, eax
call fcn.004087e0
add esp, 0xc
push eax
push 0x104
push esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push 0x2800
call fcn.0045854a
mov edx, dword [ebp - 0x444]
add esp, 0x14
push esi
push edx
push 0x487a90
push 0x48429c
mov edi, eax
call fcn.004087e0
add esp, 8
push eax
push 0x1400
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push edi
mov ecx, 1
call fcn.00406620
add esp, 4
push edi
mov dword [ebp - 0x444], eax
call fcn.004592db
add esp, 4
push esi
call fcn.004592db
add esp, 4
cmp dword [ebp - 0x444], 0x407
ja 0x430c82
push 0x487b70
push 0x484dc4
call fcn.004087e0
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00416a80
xor al, al
jmp 0x430ddc
mov esi, dword [ebp - 0x45c]
movzx eax, word [esi]
mov ecx, esi
test ax, ax
je 0x430caa
cmp ax, 0x20
jb 0x430cb1
cmp ax, 0x7e
ja 0x430cb1
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x430c92
push str.sNeedMoveXul:
jmp 0x430c61
mov eax, dword [ebp - 0x448]
push esi
push ecx
push str.spluginszxulrunnerplugin.properties
push 0x484350
mov byte [eax], 1
call fcn.004087e0
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call edi
add esp, 0x10
push esi
push ecx
push str.spluginszxulrunner10plugin.properties
push 0x484350
call fcn.004087e0
add esp, 0xc
push eax
lea edx, [ebp - 0x424]
push 0x104
push edx
call edi
add esp, 0x10
xor eax, eax
push eax
push 1
push 3
push eax
push 1
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
push SysReAllocString
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x430d50
lea ecx, [ebp - 0x454]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x454]
or edx, dword [ebp - 0x450]
jne 0x430d7b
lea eax, [ebp - 0x424]
push eax
call fcn.004067c0
add esp, 4
or eax, edx
jne 0x430d7b
push str.sNeedMoveXul:_XUL_properties_is_empty
jmp 0x430c61
mov esi, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x458]
mov byte [esi + 1], 1
call fcn.00408030
test al, al
jne 0x430dbb
push str.sNeedMoveXul:_App_path_is_good
push 0x484dc4
call fcn.004087e0
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00416a80
mov byte [esi + 2], 1
xor al, al
jmp 0x430ddc
push str.sNeedMoveXul:_NEED
push 0x484dc4
call fcn.004087e0
add esp, 8
push eax
push str.INFO
mov ecx, ebx
call fcn.00416a80
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.00458db6
mov esp, ebp
pop ebp
ret