Function at 0x4100d5
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x44127a
call fcn.004266a4
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push str.LoadParamsFromBuffer_Loading_Params_from_buffer
call fcn.00414978
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push dword [ebp + 0x10]
push 0xd
pop ebx
push ebx
push 0x3d
pop edi
push edi
push str.lang
push eax
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.0040ff58
mov eax, dword [ebp + 0x10]
push dword [eax]
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_lang:__s
call fcn.00414978
mov eax, dword [esi]
push dword [ebp + 0x14]
push ebx
push edi
push 0x449620
push eax
push 0x5d
push 0x5b
push 0x44961c
push dword [ebp + 0xc]
call fcn.0040ff58
add esp, 0x54
mov eax, dword [ebp + 0x14]
push dword [eax]
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_url:__s
call fcn.00414978
mov eax, dword [esi]
push dword [ebp + 0x18]
push ebx
push edi
push str.code
push eax
push 0x5d
push 0x5b
push 0x4495dc
push dword [ebp + 0xc]
call fcn.0040ff58
add esp, 0x2c
cmp eax, 1
jne 0x410190
mov eax, dword [ebp + 0x24]
mov byte [eax], 0
mov eax, dword [ebp + 0x18]
push dword [eax]
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_Code:__s
call fcn.00414978
pop ecx
pop ecx
mov eax, dword [esi]
push dword [ebp + 0x1c]
push ebx
push edi
push str.owner
push eax
push 0x5d
push 0x5b
push 0x44959c
push dword [ebp + 0xc]
call fcn.0040ff58
mov eax, dword [ebp + 0x1c]
push dword [eax]
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_Owner:__s
call fcn.00414978
mov eax, dword [esi]
push ebx
push edi
push 0x46d454
push str.state0
push eax
call fcn.00414077
add esp, 0x40
mov eax, dword [esi]
push ebx
push edi
push 0x46d458
push str.state1
push eax
call fcn.00414077
mov eax, dword [esi]
push ebx
push edi
push 0x46d45c
push str.state2
push eax
call fcn.00414077
mov eax, dword [esi]
push ebx
push edi
push 0x46d460
push str.state3
push eax
call fcn.00414077
mov eax, dword [esi]
push ebx
push edi
push 0x46d464
push str.state4
push eax
call fcn.00414077
add esp, 0x50
mov eax, dword [esi]
push ebx
push edi
push 0x46d468
push str.state5
push eax
call fcn.00414077
mov eax, dword [esi]
push ebx
push edi
push 0x46d46c
push str.state6
push eax
call fcn.00414077
mov eax, dword [esi]
push ebx
push edi
push 0x46d470
push str.buttonok
push eax
call fcn.00414077
mov eax, dword [esi]
push ebx
push edi
push 0x46d474
push str.buttoncancel
push eax
call fcn.00414077
add esp, 0x50
mov eax, dword [esi]
push ebx
push edi
push 0x46d478
push str.info
push eax
call fcn.00414077
mov eax, dword [esi]
push ebx
push edi
push 0x46d47c
push str.title
push eax
call fcn.00414077
mov eax, dword [esi]
push ebx
push edi
lea ecx, [ebp - 0x14]
push ecx
push str.script
push eax
call fcn.00414077
add esp, 0x3c
test al, al
je 0x4102d7
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_Script_in_resources
call fcn.00414978
push dword [ebp - 0x14]
call fcn.004129ca
pop ecx
pop ecx
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
jmp 0x410311
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_No_script_in_resources__lets_see_if_its_on_tmp_file
call fcn.00414978
mov dword [esp], str.scrRC.tmp
push dword [ebp + 0x20]
call fcn.0040faae
pop ecx
pop ecx
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x410311
push eax
call fcn.00427e00
pop ecx
test eax, eax
jbe 0x410311
push str.scrRC.tmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0041000a
mov ecx, dword [ebp + 0x28]
mov byte [ecx], al
test al, al
je 0x410333
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_Debug_flag_activated___Script_will_be_printed
call fcn.00414978
jmp 0x410345
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_NO_Debug_flag__Error:__ld_
call fcn.00414978
pop ecx
pop ecx
mov eax, dword [ebp + 0x30]
cmp byte [eax], 0
jne 0x410395
mov esi, dword [esi]
push ebx
push edi
lea eax, [ebp - 0x14]
push eax
push str.elev
push esi
call fcn.00414077
add esp, 0x14
test al, al
je 0x410395
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x31
jne 0x41038e
call fcn.00412d7e
cmp eax, 0x50
jl 0x410387
mov eax, dword [ebp + 0x2c]
mov byte [eax], 1
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_OSC_WVISTA_Elevation_required
jmp 0x41039a
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_OS_OSC_WVISTA_Elevation_NOT_required
jmp 0x41039a
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_No_Elevation_required
jmp 0x41039a
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_Not_comming_from_Service__No_Elevation_required
call fcn.00414978
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.00426749
ret