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

Disassembly:
push ebp
sub esp, 0x454
lea ebp, [esp - 4]
mov eax, dword [0x46c054]
xor eax, ebp
mov dword [ebp + 0x454], eax
push 0x74
mov eax, 0x441398
call fcn.004266a4
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.00403913
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
call dword [0x46b508]
mov dword [ebp - 0x4c], eax
push str.Processing_Get_Script__Processing_Get_Script__Processing_Get_Script...
call fcn.00414978
pop ecx
mov byte [ebp - 0x11], 1
cmp dword [0x46d440], ebx
jne 0x410a59
mov byte [esi], bl
push 0x44a184
push dword [ebp - 0x30]
call fcn.0040faae
pop ecx
pop ecx
test al, al
je 0x410ab0
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.00414978
pop ecx
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2c]
call fcn.00427f66
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.00425c6b
add ebp, 0x458
leave
ret
cmp byte [ebp - 0x11], 0
je 0x410a77
mov byte [ebp - 0x11], 0
cmp dword [0x46d440], ebx
jne 0x410ae1
push ebx
push 0x40fcdc
push ebx
push 0x67
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp dword [0x46d440], ebx
je 0x410ab0
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push 0x40ff26
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x46d448], 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.0040831e
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x64]
call fcn.00407c12
cmp dword [edi + 0x14], ebx
jbe 0x410b37
push dword [ebp - 0x40]
push dword [ebp - 0x34]
push edi
lea ecx, [ebp - 0x64]
call fcn.00408cac
jmp 0x410b37
xor ebx, ebx
mov eax, dword [0x46d434]
cmp eax, ebx
mov dword [ebp - 0x44], eax
jne 0x410b4a
mov dword [ebp - 0x44], 0x44a0f8
mov eax, dword [0x46d444]
mov ecx, 0x444954
cmp eax, ebx
mov edi, eax
jne 0x410b5c
mov edi, ecx
mov eax, dword [0x46d440]
cmp eax, ebx
mov ebx, eax
jne 0x410b69
mov ebx, ecx
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
test esi, esi
jne 0x410b74
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 [0x46d43c]
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.004290c4
push dword [ebp - 0x1c]
push str.Processing_Get_Script__Processing_Get_Script___Try__d...
call fcn.00414978
lea eax, [ebp + 0x54]
push eax
push str.Processing_Get_Script__Processing_Get_Script___szURL2__s...
call fcn.00414978
add esp, 0x3c
inc dword [ebp - 0x1c]
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x80]
call fcn.00405057
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x64]
call fcn.00408447
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.004049a0
test bl, bl
je 0x410cde
push str.Processing_Get_Script__Processing_Get_Script__DownloadToBuffer_OK
call fcn.00414978
pop ecx
lea ecx, [ebp + 0x1c]
call fcn.00404b5d
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.004188d0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x38]
call fcn.004188d0
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.00407d69
cmp dword [ebp + 0x50], 8
mov edx, dword [ebp + 0x3c]
jae 0x410c4e
lea edx, [ebp + 0x3c]
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x410c5a
lea ecx, [ebp + 4]
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x410c66
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.00414978
add esp, 0x10
cmp dword [ebp + 0x30], esi
jbe 0x410c8a
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.00404dfa
cmp dword [ebp + 0x14], esi
jbe 0x410c9e
push 0xffffffffffffffff
push esi
lea eax, [ebp]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.004088b5
cmp dword [ebp + 0x4c], esi
jbe 0x410cb2
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x38]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.004088b5
mov byte [ebp - 4], 5
push esi
push edi
lea ecx, [ebp + 0x38]
call fcn.00408542
mov byte [ebp - 4], 4
push esi
push edi
lea ecx, [ebp]
call fcn.00408542
mov byte [ebp - 4], 2
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.004049a0
jmp 0x410cf8
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x64]
call fcn.00407e57
push eax
push str.Processing_Get_Script__Processing_Get_Script__DownloadToBuffer_error:_HttpStatus___d__URL_s
call fcn.00414978
add esp, 0xc
push dword [ebp - 0x24]
push str.Processing_Get_Script__Processing_Get_Script__downloaded__d_bytes
call fcn.00414978
pop ecx
pop ecx
cmp dword [ebp - 0x24], esi
jne 0x410d1c
push str.Processing_Get_Script_Buffer_ticket__empty
call fcn.00414978
pop ecx
jmp 0x410f3a
push dword [ebp - 0x2c]
push str.Processing_Get_Script__Processing_Get_Script__Buffer_obtenido__s
call fcn.00414978
pop ecx
pop ecx
mov edi, dword [ebp - 0x48]
cmp dword [edi], esi
jne 0x410d47
push 0xd
push 0x3d
push edi
push str.ticket
push dword [ebp - 0x2c]
call fcn.00414077
add esp, 0x14
push 0xd
push 0x3d
lea eax, [ebp - 0x20]
push eax
push str.error
push dword [ebp - 0x2c]
call fcn.00414077
add esp, 0x14
test al, al
je 0x410e96
push str.Processing_Get_Script__Processing_Get_Script__error_param_found
call fcn.00414978
mov dword [esp], 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 2
push dword [0x46d44c]
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 0x445088
push dword [ebp - 0x20]
call fcn.0040e1a1
add esp, 0xc
test al, al
je 0x410e53
mov ebx, dword [ebp - 0x18]
cmp ebx, esi
je 0x410dc9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x410dcd
xor eax, eax
jmp 0x410de9
lea esi, [eax + eax]
mov eax, esi
call fcn.00429670
mov dword [ebp - 0x10], esp
mov eax, esp
push dword [ebp - 0x4c]
push esi
push ebx
push eax
call fcn.0040e8a7
xor esi, esi
push eax
push dword [edi]
push dword [0x46d440]
push str.Processing_Get_Script_Error_returned_by_interface_code__s__ticket__s__description__s_
call fcn.00414978
add esp, 0x10
mov ebx, dword [ebp - 0x18]
cmp ebx, esi
je 0x410e15
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x410e19
xor eax, eax
jmp 0x410e35
lea esi, [eax + eax]
mov eax, esi
call fcn.00429670
mov dword [ebp - 0x10], esp
mov eax, esp
push dword [ebp - 0x4c]
push esi
push ebx
push eax
call fcn.0040e8a7
xor esi, esi
push eax
push 0x3ee
push dword [0x46d44c]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x18]
push eax
call fcn.00413de9
pop ecx
jmp 0x410e6b
push dword [edi]
push dword [0x46d440]
push dword [ebp - 0x20]
push str.Processing_Get_Script_Error_decoding_error_description
call fcn.00414978
add esp, 0x10
push 0x46d440
call fcn.00413de9
mov dword [esp], 0xfa0
push dword [0x46d448]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
sete byte [ebp - 0x11]
jmp 0x410f3a
push 0x26
push 0x3d
mov esi, dword [ebp - 0x30]
push esi
push str.script
push dword [ebp - 0x2c]
call fcn.00414077
add esp, 0x14
test al, al
je 0x410ef6
push dword [esi]
push str.Processing_Get_Script__Processing_Get_Script__script_param_found._szScript__s
call fcn.00414978
push 0xd
push 0x3d
mov esi, dword [ebp - 0x50]
push esi
push str.rcmode
push dword [ebp - 0x2c]
call fcn.00414077
add esp, 0x1c
test al, al
je 0x410eea
push dword [esi]
push str.Processing_Get_Script__Processing_Get_Script__rcmode_param_found._szRCMode__s
call fcn.00414978
pop ecx
pop ecx
jmp 0x410f38
push str.Processing_Get_Script__Processing_Get_Script__NO_rcmode_param_found.
call fcn.00414978
jmp 0x410ee7
push str.Processing_Get_Script__Processing_Get_Script__waiting...
call fcn.00414978
mov dword [esp], 0x1388
push dword [0x46d448]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x410f21
push str.Processing_Get_Script__Processing_Get_Script__WaitForSingleObject___WAIT_TIMEOUT
jmp 0x410eef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x38]
add ecx, 0x36ee80
cmp ecx, eax
ja 0x410b35
xor esi, esi
cmp dword [0x46d448], esi
je 0x410f5e
push 1
push dword [0x46d44c]
call dword [sym.imp.USER32.dll_EndDialog]
push 0xffffffffffffffff
push dword [0x46d448]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00409679
xor ebx, ebx
mov edi, dword [ebp - 0x3c]
jmp 0x410ab0