Function at 0x4182b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444838
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.004288c1
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
push 0xd
push 0x3d
push str.lang
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
push 0
push 0
push 0
push 0
call fcn.00418067
add esp, 0x24
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
push str.__LoadParamsFromBuffer_lang:__s
call fcn.004288c1
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
push 0xd
push 0x3d
push 0x469918
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
push 0x5d
push 0x5b
push 0x46991c
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00418067
add esp, 0x24
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
push str.__LoadParamsFromBuffer_url:__s
call fcn.004288c1
add esp, 8
mov ecx, dword [ebp + 0x18]
push ecx
push 0xd
push 0x3d
push str.code
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
push 0x5d
push 0x5b
push 0x469948
mov edx, dword [ebp + 0xc]
push edx
call fcn.00418067
add esp, 0x24
cmp eax, 1
jne 0x4183ab
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.004288c1
add esp, 8
mov eax, dword [ebp + 0x1c]
push eax
push 0xd
push 0x3d
push str.owner
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
push 0x5d
push 0x5b
push 0x469974
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00418067
add esp, 0x24
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
push eax
push str.__LoadParamsFromBuffer_Owner:__s
call fcn.004288c1
add esp, 8
mov ecx, dword [ebp + 0x34]
push ecx
push 0xd
push 0x3d
push 0x46999c
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
push 0x5d
push 0x5b
push 0x4699a4
mov edx, dword [ebp + 0xc]
push edx
call fcn.00418067
add esp, 0x24
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
push ecx
push str.__LoadParamsFromBuffer_RCMode:__s
call fcn.004288c1
add esp, 8
push 0xd
push 0x3d
push 0x470e48
push str.state0
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e4c
push str.state1
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e50
push str.state2
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e54
push str.state3
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e58
push str.state4
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e5c
push str.state5
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e60
push str.state6
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e64
push str.buttonok
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e68
push str.buttoncancel
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e6c
push str.info
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
push 0x470e70
push str.title
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
lea edx, [ebp - 0x14]
push edx
push 0x469a34
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
and eax, 0xff
test eax, eax
je 0x4185c3
push str.__LoadParamsFromBuffer_Script_in_resources
call fcn.004288c1
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041e9a9
add esp, 4
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
jmp 0x418606
push str.__LoadParamsFromBuffer_No_script_in_resources__lets_see_if_its_on_tmp_file
call fcn.004288c1
add esp, 4
push 0x469ab4
mov edx, dword [ebp + 0x20]
push edx
call fcn.0042067e
add esp, 8
mov eax, dword [ebp + 0x20]
cmp dword [eax], 0
je 0x418606
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
call fcn.00429d80
add esp, 4
test eax, eax
jbe 0x418606
push 0x469ac0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0041818e
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 0x418632
push str.__LoadParamsFromBuffer_Debug_flag_activated___Script_will_be_printed
call fcn.004288c1
add esp, 4
jmp 0x418646
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__LoadParamsFromBuffer_NO_Debug_flag__Error:__ld_
call fcn.004288c1
add esp, 8
mov ecx, dword [ebp + 0x30]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
jne 0x4186c0
push 0xd
push 0x3d
lea eax, [ebp - 0x14]
push eax
push str.elev
mov ecx, dword [ebp + 8]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
and eax, 0xff
test eax, eax
je 0x4186c0
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
cmp edx, 0x31
jne 0x4186b1
call fcn.004210d1
cmp eax, 0x50
jl 0x4186a2
mov eax, dword [ebp + 0x2c]
mov byte [eax], 1
push str.__LoadParamsFromBuffer_OSC_WVISTA_Elevation_required
call fcn.004288c1
add esp, 4
jmp 0x4186af
push str.__LoadParamsFromBuffer_OS_OSC_WVISTA_Elevation_NOT_required
call fcn.004288c1
add esp, 4
jmp 0x4186be
push str.__LoadParamsFromBuffer_No_Elevation_required
call fcn.004288c1
add esp, 4
jmp 0x4186cd
push str.__LoadParamsFromBuffer_Comming_from_Service_but_No_Elevation_required
call fcn.004288c1
add esp, 4
jmp 0x4186e2
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