Function at 0x4109e6
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
sub esp, 0x454
lea ebp, [esp - 4]
mov eax, dword [0x452724]
xor eax, ebp
mov dword [ebp + 0x454], eax
push 0x74
mov eax, 0x42e518
call fcn.00415554
mov esi, dword [ebp + 0x460]
mov eax, dword [ebp + 0x464]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x468]
mov dword [ebp - 0x48], eax
mov edi, dword [ebp + 0x46c]
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x470]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x474]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x478]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x47c]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x2c]
call fcn.00403937
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
call dword [0x452508]
mov dword [ebp - 0x4c], eax
push str.Processing_Get_Script__Processing_Get_Script__Processing_Get_Script...
call fcn.004140dd
pop ecx
mov byte [ebp - 0x11], 1
cmp dword [0x453b20], ebx
jne 0x410a82
mov byte [esi], bl
push 0x435154
push dword [ebp - 0x30]
call fcn.0040fad7
pop ecx
pop ecx
test al, al
je 0x410ad9
push str.Processing_Get_Script__Processing_Get_Script__aqui_soliamos_borrar_el_archivo_pero_ahora_ya_no_pq_si_no__no_funcionaria_el_rr...
call fcn.004140dd
pop ecx
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2c]
call fcn.00416e16
pop ecx
lea esp, [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x454]
xor ecx, ebp
call fcn.00414b1e
add ebp, 0x458
leave
ret
cmp byte [ebp - 0x11], 0
je 0x410aa0
mov byte [ebp - 0x11], 0
cmp dword [0x453b20], ebx
jne 0x410b0a
push ebx
push 0x40fd05
push ebx
push 0x67
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp dword [0x453b20], ebx
je 0x410ad9
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push 0x40ff4f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x453b28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
push 2
lea ecx, [ebp - 0x64]
call fcn.0040835f
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x64]
call fcn.00407c53
cmp dword [edi + 0x14], ebx
jbe 0x410b60
push dword [ebp - 0x40]
push dword [ebp - 0x34]
push edi
lea ecx, [ebp - 0x64]
call fcn.00408d02
jmp 0x410b60
xor ebx, ebx
mov eax, dword [0x453b14]
cmp eax, ebx
mov dword [ebp - 0x44], eax
jne 0x410b73
mov dword [ebp - 0x44], 0x4350c8
mov eax, dword [0x453b24]
mov ecx, 0x42f944
cmp eax, ebx
mov edi, eax
jne 0x410b85
mov edi, ecx
mov eax, dword [0x453b20]
cmp eax, ebx
mov ebx, eax
jne 0x410b92
mov ebx, ecx
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
test esi, esi
jne 0x410b9d
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 2
push 0x2b18
push dword [ebp - 0x44]
push edi
push ebx
push esi
push dword [0x453b1c]
push str._s_interfaces_web_isd_session.asp_t_sc_so_sl_sver_dv_d_ld
push 0x400
lea eax, [ebp + 0x54]
push eax
call fcn.00417f74
push dword [ebp - 0x1c]
push str.Processing_Get_Script__Processing_Get_Script___Try__d...
call fcn.004140dd
lea eax, [ebp + 0x54]
push eax
push str.Processing_Get_Script__Processing_Get_Script___szURL2__s...
call fcn.004140dd
add esp, 0x3c
inc dword [ebp - 0x1c]
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x80]
call fcn.00405078
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x64]
call fcn.00408488
mov bl, al
mov byte [ebp - 4], 2
xor esi, esi
push esi
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x80]
call fcn.004049c1
test bl, bl
je 0x410d07
push str.Processing_Get_Script__Processing_Get_Script__DownloadToBuffer_OK
call fcn.004140dd
pop ecx
lea ecx, [ebp + 0x1c]
call fcn.00404b7e
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.00408743
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x38]
call fcn.00408743
mov byte [ebp - 4], 6
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00407daa
cmp dword [ebp + 0x50], 8
mov edx, dword [ebp + 0x3c]
jae 0x410c77
lea edx, [ebp + 0x3c]
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x410c83
lea ecx, [ebp + 4]
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x410c8f
lea eax, [ebp + 0x20]
push edx
push ecx
push eax
push str.Processing_Get_Script__Processing_Get_Script__Proxy_data_after_download:__s___ws:_ws
call fcn.004140dd
add esp, 0x10
cmp dword [ebp + 0x30], esi
jbe 0x410cb3
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.00404e1b
cmp dword [ebp + 0x14], esi
jbe 0x410cc7
push 0xffffffffffffffff
push esi
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0040890b
cmp dword [ebp + 0x4c], esi
jbe 0x410cdb
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x38]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.0040890b
mov byte [ebp - 4], 5
push esi
push edi
lea ecx, [ebp + 0x38]
call fcn.00408583
mov byte [ebp - 4], 4
push esi
push edi
lea ecx, [ebp]
call fcn.00408583
mov byte [ebp - 4], 2
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.004049c1
jmp 0x410d21
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x64]
call fcn.00407e98
push eax
push str.Processing_Get_Script__Processing_Get_Script__DownloadToBuffer_error:_HttpStatus___d__URL_s
call fcn.004140dd
add esp, 0xc
push dword [ebp - 0x24]
push str.Processing_Get_Script__Processing_Get_Script__downloaded__d_bytes
call fcn.004140dd
pop ecx
pop ecx
cmp dword [ebp - 0x24], esi
jne 0x410d45
push str.Processing_Get_Script_Buffer_ticket__empty
call fcn.004140dd
pop ecx
jmp 0x410f63
push dword [ebp - 0x2c]
push str.Processing_Get_Script__Processing_Get_Script__Buffer_obtenido__s
call fcn.004140dd
pop ecx
pop ecx
mov edi, dword [ebp - 0x48]
cmp dword [edi], esi
jne 0x410d70
push 0xd
push 0x3d
push edi
push str.ticket
push dword [ebp - 0x2c]
call fcn.004137dc
add esp, 0x14
push 0xd
push 0x3d
lea eax, [ebp - 0x20]
push eax
push str.error
push dword [ebp - 0x2c]
call fcn.004137dc
add esp, 0x14
test al, al
je 0x410ebf
push str.Processing_Get_Script__Processing_Get_Script__error_param_found
call fcn.004140dd
mov dword [esp], 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 2
push dword [0x453b2c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
push 0x430078
push dword [ebp - 0x20]
call fcn.0040e1c6
add esp, 0xc
test al, al
je 0x410e7c
mov ebx, dword [ebp - 0x18]
cmp ebx, esi
je 0x410df2
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x410df6
xor eax, eax
jmp 0x410e12
lea esi, [eax + eax]
mov eax, esi
call fcn.00418520
mov dword [ebp - 0x10], esp
mov eax, esp
push dword [ebp - 0x4c]
push esi
push ebx
push eax
call fcn.0040e8cc
xor esi, esi
push eax
push dword [edi]
push dword [0x453b20]
push str.Processing_Get_Script_Error_returned_by_interface_code__s__ticket__s__description__s_
call fcn.004140dd
add esp, 0x10
mov ebx, dword [ebp - 0x18]
cmp ebx, esi
je 0x410e3e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x410e42
xor eax, eax
jmp 0x410e5e
lea esi, [eax + eax]
mov eax, esi
call fcn.00418520
mov dword [ebp - 0x10], esp
mov eax, esp
push dword [ebp - 0x4c]
push esi
push ebx
push eax
call fcn.0040e8cc
xor esi, esi
push eax
push 0x3ee
push dword [0x453b2c]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x18]
push eax
call fcn.0041354e
pop ecx
jmp 0x410e94
push dword [edi]
push dword [0x453b20]
push dword [ebp - 0x20]
push str.Processing_Get_Script_Error_decoding_error_description
call fcn.004140dd
add esp, 0x10
push 0x453b20
call fcn.0041354e
mov dword [esp], 0xfa0
push dword [0x453b28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
sete byte [ebp - 0x11]
jmp 0x410f63
push 0x26
push 0x3d
mov esi, dword [ebp - 0x30]
push esi
push str.script
push dword [ebp - 0x2c]
call fcn.004137dc
add esp, 0x14
test al, al
je 0x410f1f
push dword [esi]
push str.Processing_Get_Script__Processing_Get_Script__script_param_found._szScript__s
call fcn.004140dd
push 0xd
push 0x3d
mov esi, dword [ebp - 0x50]
push esi
push str.rcmode
push dword [ebp - 0x2c]
call fcn.004137dc
add esp, 0x1c
test al, al
je 0x410f13
push dword [esi]
push str.Processing_Get_Script__Processing_Get_Script__rcmode_param_found._szRCMode__s
call fcn.004140dd
pop ecx
pop ecx
jmp 0x410f61
push str.Processing_Get_Script__Processing_Get_Script__NO_rcmode_param_found.
call fcn.004140dd
jmp 0x410f10
push str.Processing_Get_Script__Processing_Get_Script__waiting...
call fcn.004140dd
mov dword [esp], 0x1388
push dword [0x453b28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x410f4a
push str.Processing_Get_Script__Processing_Get_Script__WaitForSingleObject___WAIT_TIMEOUT
jmp 0x410f18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x38]
add ecx, 0x36ee80
cmp ecx, eax
ja 0x410b5e
xor esi, esi
cmp dword [0x453b28], esi
je 0x410f87
push 1
push dword [0x453b2c]
call dword [sym.imp.USER32.dll_EndDialog]
push 0xffffffffffffffff
push dword [0x453b28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004096cf
xor ebx, ebx
mov edi, dword [ebp - 0x3c]
jmp 0x410ad9