Function at 0x418405
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44167f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push str._Loading_Params_from_buffer
call fcn.0042571d
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
push 0xd
push 0x3d
push str.lang
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
push 0
push 0
push 0
push 0
call fcn.004181bc
add esp, 0x24
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
push str.__LoadParamsFromBuffer_lang:__s
call fcn.0042571d
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
push 0xd
push 0x3d
push 0x465ce8
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
push 0x5d
push 0x5b
push 0x465cec
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004181bc
add esp, 0x24
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
push str.__LoadParamsFromBuffer_url:__s
call fcn.0042571d
add esp, 8
mov ecx, dword [ebp + 0x18]
push ecx
push 0xd
push 0x3d
push str.code
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
push 0x5d
push 0x5b
push 0x465d18
mov edx, dword [ebp + 0xc]
push edx
call fcn.004181bc
add esp, 0x24
cmp eax, 1
jne 0x418500
mov eax, dword [ebp + 0x24]
mov byte [eax], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
push edx
push str.__LoadParamsFromBuffer_Code:__s
call fcn.0042571d
add esp, 8
mov eax, dword [ebp + 0x1c]
push eax
push 0xd
push 0x3d
push str.owner
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
push 0x5d
push 0x5b
push 0x465d44
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004181bc
add esp, 0x24
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
push eax
push str.__LoadParamsFromBuffer_Owner:__s
call fcn.0042571d
add esp, 8
push 0xd
push 0x3d
push 0x46c9d4
push str.state0
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9d8
push str.state1
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9dc
push str.state2
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9e0
push str.state3
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9e4
push str.state4
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9e8
push str.state5
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9ec
push str.state6
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9f0
push str.buttonok
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9f4
push str.buttoncancel
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9f8
push str.info
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
push 0x46c9fc
push str.title
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
push 0xd
push 0x3d
lea ecx, [ebp - 0x14]
push ecx
push 0x465dd0
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
and eax, 0xff
test eax, eax
je 0x4186da
push str.__LoadParamsFromBuffer_Script_in_resources
call fcn.0042571d
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041cf9f
add esp, 4
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
jmp 0x41871d
push str.__LoadParamsFromBuffer_No_script_in_resources__lets_see_if_its_on_tmp_file
call fcn.0042571d
add esp, 4
push 0x465e50
mov edx, dword [ebp + 0x20]
push edx
call fcn.00417ba5
add esp, 8
mov eax, dword [ebp + 0x20]
cmp dword [eax], 0
je 0x41871d
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
call fcn.00426bd0
add esp, 4
test eax, eax
jbe 0x41871d
push 0x465e5c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004182e3
mov ecx, dword [ebp + 0x28]
mov byte [ecx], al
mov edx, dword [ebp + 0x28]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x418749
push str.__LoadParamsFromBuffer_Debug_flag_activated___Script_will_be_printed
call fcn.0042571d
add esp, 4
jmp 0x41875d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__LoadParamsFromBuffer_NO_Debug_flag__Error:__ld_
call fcn.0042571d
add esp, 8
mov ecx, dword [ebp + 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
jne 0x4187d7
push 0xd
push 0x3d
lea eax, [ebp - 0x14]
push eax
push str.elev
mov ecx, dword [ebp + 8]
call fcn.00404410
push eax
call fcn.00422a80
add esp, 0x14
and eax, 0xff
test eax, eax
je 0x4187d7
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
cmp edx, 0x31
jne 0x4187c8
call fcn.0041e421
cmp eax, 0x50
jl 0x4187b9
mov eax, dword [ebp + 0x2c]
mov byte [eax], 1
push str.__LoadParamsFromBuffer_OSC_WVISTA_Elevation_required
call fcn.0042571d
add esp, 4
jmp 0x4187c6
push str.__LoadParamsFromBuffer_OS_OSC_WVISTA_Elevation_NOT_required
call fcn.0042571d
add esp, 4
jmp 0x4187d5
push str.__LoadParamsFromBuffer_No_Elevation_required
call fcn.0042571d
add esp, 4
jmp 0x4187e4
push str.__LoadParamsFromBuffer_Not_comming_from_Service__No_Elevation_required
call fcn.0042571d
add esp, 4
jmp 0x4187f9
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret