Function at 0x418ca3
Capabilities:
Check for time delay via gettickcount
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x1c]
call fcn.00404430
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x428], 0
push str.__Processing_Get_Script__Processing_Get_Script...
call fcn.004288c1
add esp, 4
mov byte [ebp - 0x42c], 1
cmp dword [0x470e34], 0
jne 0x418d08
mov eax, dword [ebp + 8]
mov byte [eax], 0
push 0x46a01c
call fcn.0041f93e
add esp, 4
and eax, 0xff
test eax, eax
je 0x418fd8
lea ecx, [ebp - 0x478]
call fcn.0041aeb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c8]
push ecx
push 0x46a020
lea ecx, [ebp - 0x444]
call fcn.00408de0
mov byte [ebp - 4], 3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x4cc], esp
lea edx, [ebp - 0x444]
push edx
call fcn.004066e0
mov dword [ebp - 0x55c], eax
mov eax, dword [ebp - 0x55c]
mov dword [ebp - 0x560], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 3
call fcn.0041ac60
lea ecx, [ebp - 0x478]
call fcn.0041b1d6
lea ecx, [ebp - 0x4e0]
push ecx
lea ecx, [ebp - 0x478]
call fcn.0041acc0
mov dword [ebp - 0x564], eax
mov edx, dword [ebp - 0x564]
mov dword [ebp - 0x568], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x568]
call fcn.00404560
xor ecx, ecx
cmp ecx, eax
sbb edx, edx
neg edx
mov byte [ebp - 0x4d0], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.004044d0
mov eax, dword [ebp - 0x4d0]
and eax, 0xff
test eax, eax
je 0x418e97
lea ecx, [ebp - 0x4f0]
push ecx
lea ecx, [ebp - 0x478]
call fcn.0041acc0
mov dword [ebp - 0x56c], eax
mov edx, dword [ebp - 0x56c]
mov dword [ebp - 0x570], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x570]
call fcn.00404530
push eax
push str.cfgFile.Script__:__s
call fcn.004288c1
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4f0]
call fcn.004044d0
push 0
lea eax, [ebp - 0x500]
push eax
lea ecx, [ebp - 0x478]
call fcn.0041acc0
mov dword [ebp - 0x574], eax
mov ecx, dword [ebp - 0x574]
mov dword [ebp - 0x578], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x578]
call fcn.00404530
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.004266b4
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x500]
call fcn.004044d0
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0x478]
call fcn.0041ad10
mov dword [ebp - 0x57c], eax
mov ecx, dword [ebp - 0x57c]
mov dword [ebp - 0x580], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x580]
call fcn.00404560
xor edx, edx
cmp edx, eax
sbb eax, eax
neg eax
mov byte [ebp - 0x504], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x514]
call fcn.004044d0
mov ecx, dword [ebp - 0x504]
and ecx, 0xff
test ecx, ecx
je 0x418f9c
lea edx, [ebp - 0x524]
push edx
lea ecx, [ebp - 0x478]
call fcn.0041ad10
mov dword [ebp - 0x584], eax
mov eax, dword [ebp - 0x584]
mov dword [ebp - 0x588], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x588]
call fcn.00404530
push eax
push str.cfgFile.RCMode__:__s
call fcn.004288c1
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x524]
call fcn.004044d0
push 0
lea ecx, [ebp - 0x534]
push ecx
lea ecx, [ebp - 0x478]
call fcn.0041ad10
mov dword [ebp - 0x58c], eax
mov edx, dword [ebp - 0x58c]
mov dword [ebp - 0x590], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x590]
call fcn.00404530
push eax
mov eax, dword [ebp + 0x24]
push eax
call fcn.004266b4
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x534]
call fcn.004044d0
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push str.__Processing_Get_Script__Obteniendo_info_de_fichero_RCMODE__s_SCRIPT__s
call fcn.004288c1
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x444]
call fcn.004044d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x478]
call fcn.0041afde
jmp 0x4196e2
mov edx, dword [ebp - 0x42c]
and edx, 0xff
test edx, edx
je 0x4196e2
mov byte [ebp - 0x42c], 0
cmp dword [0x470e34], 0
jne 0x419016
push 0
push 0x417d25
push 0
push 0x67
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp dword [0x470e34], 0
je 0x4196dd
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x41802e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x470e3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x47c], 1
push 2
lea ecx, [ebp - 0x490]
call fcn.00409470
mov byte [ebp - 4], 0xb
push 1
lea ecx, [ebp - 0x490]
call fcn.004099d7
mov ecx, dword [ebp + 0x14]
call fcn.00404560
test eax, eax
jbe 0x4190be
lea ecx, [ebp - 0x490]
call fcn.00409acd
and eax, 0xff
test eax, eax
je 0x4190af
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x490]
call fcn.0040a088
jmp 0x4190be
mov ecx, dword [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x490]
call fcn.0040b830
cmp dword [0x470e28], 0
je 0x4190d5
mov edx, dword [0x470e28]
mov dword [ebp - 0x594], edx
jmp 0x4190df
mov dword [ebp - 0x594], 0x46a09c
cmp dword [0x470e38], 0
je 0x4190f5
mov eax, dword [0x470e38]
mov dword [ebp - 0x598], eax
jmp 0x4190ff
mov dword [ebp - 0x598], 0x470e90
cmp dword [0x470e34], 0
je 0x419116
mov ecx, dword [0x470e34]
mov dword [ebp - 0x59c], ecx
jmp 0x419120
mov dword [ebp - 0x59c], 0x470e94
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x419135
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x5a0], ecx
jmp 0x41913f
mov dword [ebp - 0x5a0], 0x470e98
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 2
push 0x2b18
mov edx, dword [ebp - 0x594]
push edx
mov eax, dword [ebp - 0x598]
push eax
mov ecx, dword [ebp - 0x59c]
push ecx
mov edx, dword [ebp - 0x5a0]
push edx
mov eax, dword [0x470e30]
push eax
push str._s_interfaces_web_isd_session.asp_t_sc_so_sl_sver_dv_d_ld
push 0x400
lea ecx, [ebp - 0x41c]
push ecx
call fcn.0042a698
add esp, 0x2c
mov edx, dword [ebp - 0x47c]
push edx
push str.__Processing_Get_Script___Try__d...
call fcn.004288c1
add esp, 8
lea eax, [ebp - 0x41c]
push eax
push str.__Processing_Get_Script___szURL2__s...
call fcn.004288c1
add esp, 8
mov ecx, dword [ebp - 0x47c]
add ecx, 1
mov dword [ebp - 0x47c], ecx
lea edx, [ebp - 0x54c]
push edx
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x548]
call fcn.00408de0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x548]
push edx
lea ecx, [ebp - 0x490]
call fcn.0040a436
mov byte [ebp - 0x538], al
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x548]
call fcn.004044d0
mov eax, dword [ebp - 0x538]
and eax, 0xff
test eax, eax
je 0x419343
push str.__Processing_Get_Script__DownloadToBuffer_OK
call fcn.004288c1
add esp, 4
lea ecx, [ebp - 0x550]
push ecx
lea ecx, [ebp - 0x4a0]
call fcn.004044a0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x554]
push edx
lea ecx, [ebp - 0x4b0]
call fcn.0040bde0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0x4c0]
call fcn.0040bde0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x4c0]
push ecx
lea edx, [ebp - 0x4b0]
push edx
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x490]
call fcn.00409d3e
lea ecx, [ebp - 0x4c0]
call fcn.0040bea0
push eax
lea ecx, [ebp - 0x4b0]
call fcn.0040bea0
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00404530
push eax
push str.__Processing_Get_Script__Proxy_data_after_download:__s___ws:_ws
call fcn.004288c1
add esp, 0x10
lea ecx, [ebp - 0x4a0]
call fcn.00404560
test eax, eax
jbe 0x4192d8
lea ecx, [ebp - 0x4a0]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.004044f0
lea ecx, [ebp - 0x4b0]
call fcn.0040bed0
test eax, eax
jbe 0x4192f6
lea edx, [ebp - 0x4b0]
push edx
mov ecx, dword [ebp + 0x18]
call fcn.0040be60
lea ecx, [ebp - 0x4c0]
call fcn.0040bed0
test eax, eax
jbe 0x419314
lea eax, [ebp - 0x4c0]
push eax
mov ecx, dword [ebp + 0x1c]
call fcn.0040be60
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4c0]
call fcn.0040be40
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4b0]
call fcn.0040be40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4a0]
call fcn.004044d0
jmp 0x419363
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x490]
call fcn.0040a888
push eax
push str.__Processing_Get_Script__DownloadToBuffer_error:_HttpStatus___d__URL_s
call fcn.004288c1
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00404410
push eax
push str.__Processing_Get_Script__downloaded__d_bytes
call fcn.004288c1
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00404410
test eax, eax
jne 0x419397
push str._Buffer_ticket__empty
call fcn.004288c1
add esp, 4
jmp 0x4196a7
lea ecx, [ebp - 0x1c]
call fcn.00420e60
push eax
push str.__Processing_Get_Script__Buffer_obtenido__s
call fcn.004288c1
add esp, 8
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x4193d3
push 0xd
push 0x3d
mov eax, dword [ebp + 0x10]
push eax
push str.ticket
lea ecx, [ebp - 0x1c]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
push 0xd
push 0x3d
lea ecx, [ebp + 0x20]
push ecx
push str.error
lea ecx, [ebp - 0x1c]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
and eax, 0xff
test eax, eax
je 0x4195d4
push str.__Processing_Get_Script__error_param_found
call fcn.004288c1
add esp, 4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
mov edx, dword [0x470e40]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x4c4], 0
lea eax, [ebp - 0x4c4]
push eax
push 0x46a2ac
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00415068
add esp, 0xc
and eax, 0xff
test eax, eax
je 0x419584
mov edx, dword [ebp - 0x4c4]
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0
jne 0x41947e
mov dword [ebp - 0x5a4], 0
jmp 0x4194cb
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x434], ecx
mov eax, dword [ebp - 0x434]
add eax, 3
and al, 0xfc
call fcn.0042ab30
mov dword [ebp - 0x5a8], esp
mov edx, dword [ebp - 0x434]
push edx
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x5a8]
push ecx
call fcn.00416f90
mov dword [ebp - 0x5a4], eax
mov edx, dword [ebp - 0x5a4]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [0x470e34]
push edx
push str._Error_returned_by_interface_code__s__ticket__s__description__s_
call fcn.004288c1
add esp, 0x10
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jne 0x41950d
mov dword [ebp - 0x5ac], 0
jmp 0x41955a
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x434]
add eax, 3
and al, 0xfc
call fcn.0042ab30
mov dword [ebp - 0x5b0], esp
mov eax, dword [ebp - 0x434]
push eax
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x5b0]
push edx
call fcn.00416f90
mov dword [ebp - 0x5ac], eax
mov eax, dword [ebp - 0x5ac]
push eax
push 0x3ee
mov ecx, dword [0x470e40]
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea edx, [ebp - 0x4c4]
push edx
call fcn.004267d7
add esp, 4
jmp 0x4195a2
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [0x470e34]
push edx
mov eax, dword [ebp + 0x20]
push eax
push str._Error_decoding_error_description
call fcn.004288c1
add esp, 0x10
push 0x470e34
call fcn.004267ad
add esp, 4
push 0xfa0
mov ecx, dword [0x470e3c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
sete dl
mov byte [ebp - 0x42c], dl
jmp 0x4196a7
push 0x26
push 0x3d
mov eax, dword [ebp + 0xc]
push eax
push str.script
lea ecx, [ebp - 0x1c]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
and eax, 0xff
test eax, eax
je 0x419659
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push str.__Processing_Get_Script__script_param_found._szScript__s
call fcn.004288c1
add esp, 8
push 0xd
push 0x3d
mov eax, dword [ebp + 0x24]
push eax
push str.rcmode
lea ecx, [ebp - 0x1c]
call fcn.00420e60
push eax
call fcn.00425c10
add esp, 0x14
and eax, 0xff
test eax, eax
je 0x41964a
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push edx
push str.__Processing_Get_Script__rcmode_param_found._szRCMode__s
call fcn.004288c1
add esp, 8
jmp 0x419657
push str.__Processing_Get_Script__NO_rcmode_param_found.
call fcn.004288c1
add esp, 4
jmp 0x4196a7
push str.__Processing_Get_Script__waiting...
call fcn.004288c1
add esp, 4
push 0x1388
mov eax, dword [0x470e3c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41968d
push str.__Processing_Get_Script__WaitForSingleObject___WAIT_TIMEOUT
call fcn.004288c1
add esp, 4
jmp 0x4196a7
mov esi, dword [ebp - 0x420]
add esi, 0x36ee80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, eax
ja 0x4190be
cmp dword [0x470e3c], 0
je 0x4196ce
push 1
mov ecx, dword [0x470e40]
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
push 0xffffffffffffffff
mov edx, dword [0x470e3c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x490]
call fcn.0040951b
jmp 0x418fd8
jmp 0x4196fe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404480
lea esp, [ebp - 0x5bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret