Function at 0x4100fe
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x42e3fa
call fcn.00415554
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push str.LoadParamsFromBuffer_Loading_Params_from_buffer
call fcn.004140dd
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.0040ff81
mov eax, dword [ebp + 0x10]
push dword [eax]
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_lang:__s
call fcn.004140dd
mov eax, dword [esi]
push dword [ebp + 0x14]
push ebx
push edi
push 0x4345f0
push eax
push 0x5d
push 0x5b
push 0x4345ec
push dword [ebp + 0xc]
call fcn.0040ff81
add esp, 0x54
mov eax, dword [ebp + 0x14]
push dword [eax]
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_url:__s
call fcn.004140dd
mov eax, dword [esi]
push dword [ebp + 0x18]
push ebx
push edi
push str.code
push eax
push 0x5d
push 0x5b
push 0x4345ac
push dword [ebp + 0xc]
call fcn.0040ff81
add esp, 0x2c
cmp eax, 1
jne 0x4101b9
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.004140dd
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 0x43456c
push dword [ebp + 0xc]
call fcn.0040ff81
mov eax, dword [ebp + 0x1c]
push dword [eax]
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_Owner:__s
call fcn.004140dd
mov eax, dword [esi]
push ebx
push edi
push 0x453b34
push str.state0
push eax
call fcn.004137dc
add esp, 0x40
mov eax, dword [esi]
push ebx
push edi
push 0x453b38
push str.state1
push eax
call fcn.004137dc
mov eax, dword [esi]
push ebx
push edi
push 0x453b3c
push str.state2
push eax
call fcn.004137dc
mov eax, dword [esi]
push ebx
push edi
push 0x453b40
push str.state3
push eax
call fcn.004137dc
mov eax, dword [esi]
push ebx
push edi
push 0x453b44
push str.state4
push eax
call fcn.004137dc
add esp, 0x50
mov eax, dword [esi]
push ebx
push edi
push 0x453b48
push str.state5
push eax
call fcn.004137dc
mov eax, dword [esi]
push ebx
push edi
push 0x453b4c
push str.state6
push eax
call fcn.004137dc
mov eax, dword [esi]
push ebx
push edi
push 0x453b50
push str.buttonok
push eax
call fcn.004137dc
mov eax, dword [esi]
push ebx
push edi
push 0x453b54
push str.buttoncancel
push eax
call fcn.004137dc
add esp, 0x50
mov eax, dword [esi]
push ebx
push edi
push 0x453b58
push str.info
push eax
call fcn.004137dc
mov eax, dword [esi]
push ebx
push edi
push 0x453b5c
push str.title
push eax
call fcn.004137dc
mov eax, dword [esi]
push ebx
push edi
lea ecx, [ebp - 0x14]
push ecx
push str.script
push eax
call fcn.004137dc
add esp, 0x3c
test al, al
je 0x410300
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_Script_in_resources
call fcn.004140dd
push dword [ebp - 0x14]
call fcn.004125b1
pop ecx
pop ecx
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
jmp 0x41033a
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_No_script_in_resources__lets_see_if_its_on_tmp_file
call fcn.004140dd
mov dword [esp], str.scrRC.tmp
push dword [ebp + 0x20]
call fcn.0040fad7
pop ecx
pop ecx
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x41033a
push eax
call fcn.00416cb0
pop ecx
test eax, eax
jbe 0x41033a
push str.scrRC.tmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.00410033
mov ecx, dword [ebp + 0x28]
mov byte [ecx], al
test al, al
je 0x41035c
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_Debug_flag_activated___Script_will_be_printed
call fcn.004140dd
jmp 0x41036e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_NO_Debug_flag__Error:__ld_
call fcn.004140dd
pop ecx
pop ecx
mov eax, dword [ebp + 0x30]
cmp byte [eax], 0
jne 0x4103be
mov esi, dword [esi]
push ebx
push edi
lea eax, [ebp - 0x14]
push eax
push str.elev
push esi
call fcn.004137dc
add esp, 0x14
test al, al
je 0x4103be
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x31
jne 0x4103b7
call fcn.00412965
cmp eax, 0x50
jl 0x4103b0
mov eax, dword [ebp + 0x2c]
mov byte [eax], 1
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_OSC_WVISTA_Elevation_required
jmp 0x4103c3
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_OS_OSC_WVISTA_Elevation_NOT_required
jmp 0x4103c3
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_No_Elevation_required
jmp 0x4103c3
push str.LoadParamsFromBuffer__LoadParamsFromBuffer_Not_comming_from_Service__No_Elevation_required
call fcn.004140dd
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.004155f9
ret