Function at 0x42fef1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x114
mov eax, dword [ebp + 0x78]
push ebx
push esi
push edi
push 5
mov dword [ebp + 0x48], eax
xor ebx, ebx
lea eax, [ebp + 0x78]
push ebx
push eax
call fcn.00418d74
add esp, 0xc
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x78], eax
call fcn.0040de83
mov dword [ebp + 0x60], ebx
mov byte [0x4be031], 1
call fcn.00410b6e
mov dword [ebp + 0x2c], eax
movzx ax, al
xor ecx, ecx
mov ch, al
mov dword [ebp + 0x54], ebx
or ecx, eax
mov dword [ebp + 0x34], ecx
lea ecx, [ebp + 0x4c]
call fcn.0043d47d
mov esi, str.PeExe
push esi
push 0xffffffffffffffff
push 0x4bdfa0
call fcn.0043f7f4
add esp, 0xc
lea ecx, [ebp + 0x3c]
call fcn.0043d47d
push ebx
lea eax, [ebp + 0x3c]
push eax
push str.SCRIPTINIT
push 0x64
push dword [0x4bde84]
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
call fcn.00413072
lea eax, [ebp + 0x3c]
push 1
push eax
call fcn.004864e7
mov edx, dword [ebp + 0x3c]
add esp, 0x1c
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x5c], edx
call fcn.0040de83
cmp dword [ebp + 0x40], 4
mov eax, dword [ebp + 0x5c]
jg 0x42ffb0
mov word [edx], bx
mov word [eax], bx
cmp word [eax], bx
mov edi, 0x4bdfa0
je 0x430091
push 0x40
push 0x4a982c
mov ecx, edi
call fcn.0041888f
mov eax, dword [ebp + 0x3c]
push dword [ebp + 0x48]
mov dword [ebp + 0x5c], eax
mov al, byte [0x4bc2a4]
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x3c], ebx
mov byte [ebp + 0x5b], al
mov byte [0x4bc2a4], 1
call fcn.004457e4
push 0x4a39d4
push dword [ebp + 0x50]
mov ecx, edi
push dword [ebp + 0x5c]
call fcn.0047c352
push ebx
push 0xffffffffffffffff
mov dword [ebp + 0x60], eax
mov al, byte [ebp + 0x5b]
push ebx
push str.__Autoapp
mov ecx, edi
mov byte [0x4bc2a4], al
call fcn.0040ef74
cmp eax, ebx
je 0x430041
add eax, 4
cmp eax, ebx
je 0x430041
mov eax, dword [eax]
xor ecx, ecx
mov cx, word [eax]
cmp cx, bx
je 0x430038
inc eax
mov dword [ebp + 0x54], ecx
inc eax
push eax
lea ecx, [ebp + 0x4c]
call fcn.004458a8
push ebx
push 0xffffffffffffffff
push ebx
push str.__bInitWin
mov ecx, edi
call fcn.0040ef74
cmp eax, ebx
je 0x430089
add eax, 4
cmp eax, ebx
je 0x430089
mov byte [0x4bdf32], 1
mov eax, dword [eax]
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x30]
push eax
mov dword [ebp + 0x5c], ebx
call fcn.00440385
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
pop ecx
pop ecx
jle 0x430089
and al, 0x3f
or byte [0x4bdf32], al
lea ecx, [ebp + 0x50]
call fcn.00437960
push dword [ebp + 0x3c]
call fcn.00437932
pop ecx
lea ecx, [ebp + 0x3c]
call fcn.00437960
push esi
push 1
push 0x4bdfa0
call fcn.0043f7f4
add esp, 0xc
lea ecx, [ebp + 0x20]
call fcn.0043d47d
movzx eax, word [ebp + 0x34]
mov esi, dword [ebp + 0x54]
shl eax, 0x10
cmp si, 0x2a
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x5c], ebx
je 0x430129
cmp si, 0x24
je 0x430129
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
jne 0x430129
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x20]
push eax
push 0x4a9720
push 0x65
push dword [0x4bde84]
call fcn.00413072
mov eax, dword [ebp + 0x50]
or eax, 1
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.004864e7
mov eax, dword [ebp + 0x20]
add esp, 0x1c
cmp dword [ebp + 0x24], 4
mov dword [ebp + 0x5c], eax
jg 0x430129
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x5c], ebx
mov eax, dword [ebp + 0x48]
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x430151
push 0x11
lea eax, [ebp + 0x18]
push eax
push str.PECMDpecmd_cmd
call fcn.00437a52
add esp, 0xc
test eax, eax
mov byte [0x4bddcc], 1
jne 0x430157
mov byte [0x4bddcc], bl
push 4
push dword [ebp + 0x78]
push str.MAIN
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x430173
mov byte [0x4bdbe6], bl
mov al, byte [0x4bddcc]
cmp al, bl
mov byte [ebp + 0x67], al
jne 0x430249
cmp si, 0x2d
jne 0x43018d
or byte [ebp + 0x67], 2
cmp si, 0x2a
jne 0x4301b8
push 0x4bdfc8
mov byte [0x4bc2a4], 1
call fcn.004835ac
mov eax, dword [ebp + 0x4c]
pop ecx
add eax, 8
push eax
mov ecx, edi
call fcn.0042ba65
jmp 0x430241
cmp si, 0x24
jne 0x4301d4
push ebx
push ebx
push ebx
push dword [ebp + 0x4c]
mov ecx, edi
mov byte [0x4bc2a4], 1
call fcn.0042cba1
jmp 0x430241
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
je 0x43020c
cmp dword [ebp + 0x5c], ebx
jne 0x43020c
push 0x4a42c0
lea ecx, [ebp + 0x4c]
mov byte [0x4bc2a4], 1
call fcn.0043d4e9
push dword [ebp + 0x78]
lea ecx, [ebp + 0x4c]
call fcn.0043d4e9
push dword [ebp + 0x4c]
mov ecx, edi
call fcn.0042ee8f
jmp 0x430241
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
jne 0x430249
cmp dword [ebp + 0x5c], ebx
jne 0x430249
push 5
push 0x12e
push dword [0x4bde84]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x4306c4
push ebx
push 0x4a39d4
mov ecx, edi
call fcn.0042c21c
mov dword [ebp + 0x60], eax
jmp 0x4306c4
lea ecx, [ebp + 0x54]
call fcn.0043d47d
cmp dword [ebp + 0x48], ebx
jne 0x430266
lea ecx, [ebp + 0x54]
call fcn.00437960
or esi, 0xffffffff
jmp 0x430710
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x48]
call fcn.0041be1a
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x60], eax
push 1
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x48], ebx
call fcn.00418d74
add esp, 0x14
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], eax
call fcn.0040de83
mov esi, dword [ebp + 0x60]
mov eax, esi
sub eax, dword [ebp + 0x54]
sar eax, 1
cmp dword [ebp + 0x5c], ebx
mov dword [ebp + 0x48], eax
je 0x4302b3
cmp byte [ebp + 0x67], bl
mov byte [ebp + 0x5a], 1
je 0x4302b6
mov byte [ebp + 0x5a], bl
cmp byte [ebp + 0x5a], bl
mov byte [ebp + 0x67], 0x10
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov byte [ebp + 0x5b], 1
je 0x4302de
lea esi, [ebp + 0x20]
mov byte [0x4bc2a4], 1
mov byte [ebp + 0x5b], bl
jmp 0x4304ba
push dword [ebp + 0x20]
call fcn.00437932
pop ecx
lea ecx, [ebp + 0x20]
call fcn.00437960
cmp word [esi], 0x2f
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x7b], bl
jne 0x430322
mov ax, word [esi + 2]
or ax, 0x20
cmp ax, 0x6c
jne 0x430322
mov ax, word [esi + 4]
call fcn.00482120
test al, al
je 0x430322
mov al, byte [esi + 2]
mov byte [ebp + 0x7b], al
cmp byte [ebp + 0x7b], bl
mov dword [ebp + 0x5c], ebx
je 0x43034b
mov word [esi + 2], 0x20
mov word [esi], 0x20
add esi, 4
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], esi
call fcn.0040de83
mov esi, dword [ebp + 0x60]
jmp 0x4303ea
cmp word [esi], 0x22
push ebx
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x60]
push eax
sete byte [ebp + 0x3b]
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x60], esi
call fcn.00418d74
sub eax, dword [ebp + 0x60]
add esp, 0xc
sar eax, 1
push eax
push dword [ebp + 0x60]
lea ecx, [ebp + 0x30]
call fcn.00445801
push dword [ebp + 0x30]
call fcn.0048f0e8
cmp byte [ebp + 0x3b], bl
pop ecx
mov edi, eax
je 0x4303a5
cmp edi, ebx
je 0x43039c
mov ax, word [esi + 2]
call fcn.00482120
test al, al
je 0x4303a5
push esi
call fcn.0041113a
pop ecx
mov esi, eax
cmp edi, ebx
je 0x4303e2
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edi, eax
inc edi
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp + 0x5c]
call fcn.0043d4c2
push 0xc
push str.LOAD
push dword [ebp + 0x5c]
call fcn.004125f9
mov eax, dword [ebp + 0x5c]
push edi
add eax, 0xa
push esi
push eax
call fcn.00405064
mov esi, dword [ebp + 0x5c]
add esp, 0x18
lea ecx, [ebp + 0x30]
call fcn.00437960
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edi, eax
lea eax, [edi + 3]
push eax
lea ecx, [ebp + 0x3c]
call fcn.0043d4c2
lea eax, [edi + 1]
push eax
push esi
push dword [ebp + 0x3c]
call fcn.00405064
mov eax, dword [ebp + 0x3c]
add esp, 0xc
cmp byte [ebp + 0x7b], bl
mov word [eax + edi*2 + 2], bx
je 0x4304a6
push dword [ebp + 0x3c]
mov byte [ebp + 0x67], bl
call fcn.0043a118
mov edi, dword [ebp + 0x3c]
pop ecx
lea eax, [ebp + 0x60]
mov dword [ebp + 0x60], edi
call fcn.00412641
mov esi, dword [ebp + 0x60]
mov eax, dword [ebp + 0x48]
sub esi, edi
sar esi, 1
lea edi, [esi + eax]
lea eax, [edi + 1]
push eax
lea ecx, [ebp + 0x54]
call fcn.0043d4c2
cmp esi, ebx
jle 0x4304a6
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x48]
push esi
push dword [ebp + 0x3c]
lea eax, [eax + ecx*2]
push eax
call fcn.00405064
mov eax, dword [ebp + 0x54]
add esp, 0xc
cmp byte [ebp + 0x7b], 0x4c
mov word [eax + edi*2], bx
jne 0x4304a6
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
lea edi, [eax + eax]
push edi
push dword [ebp + 0x60]
push dword [ebp + 0x3c]
call fcn.004125af
lea eax, [esi + esi]
push eax
mov eax, dword [ebp + 0x3c]
add edi, eax
push ebx
push edi
call fcn.0048f7a0
add esp, 0x18
or byte [ebp + 0x67], 1
lea ecx, [ebp + 0x5c]
lea esi, [ebp + 0x3c]
call fcn.00437960
mov edi, 0x4bdfa0
mov eax, dword [esi]
push 1
push dword [ebp + 0x54]
mov ecx, 0x4bdfa0
mov dword [ebp + 0x78], eax
call fcn.00448207
cmp byte [ebp + 0x5a], bl
je 0x4304df
push 0x10040
push str.101
jmp 0x430515
lea ecx, [ebp + 0x78]
call fcn.0040de83
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edx, dword [ebp + 0x78]
lea ecx, [edx + eax*2 - 2]
jmp 0x43050a
mov ax, word [ecx]
call fcn.00482120
test al, al
je 0x43050e
mov word [ecx], bx
dec ecx
dec ecx
cmp ecx, edx
jae 0x4304f9
push 0x40
push str.cmdline
mov ecx, edi
call fcn.0041888f
mov eax, dword [ebp + 0x78]
sub eax, dword [esi]
test eax, 0xfffffffe
jle 0x430543
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x78]
push dword [esi]
call fcn.004125af
add esp, 0xc
mov edi, dword [esi]
push 0x4a97ac
lea ecx, [ebp + 0x78]
call fcn.004457e4
push ebx
push 0x4bdfa0
lea ecx, [ebp - 0xac]
call fcn.0042eb0b
movzx eax, word [ebp + 0x34]
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp + 0x30], eax
call fcn.0043c0ed
mov ax, word [ebp + 0x34]
mov word [ebp - 0x80], ax
mov eax, edi
push ebx
lea edi, [ebp - 0xac]
call fcn.00418b18
push dword [ebp + 0x34]
push dword [esi]
call fcn.00410b55
mov ecx, edi
push ecx
lea ecx, [ebp + 0x78]
push ecx
mov ecx, dword [ebp + 0x50]
push eax
push ebx
push esi
mov dword [ebp + 0x1c], eax
call fcn.0042462f
movzx edi, word [ebp + 0x2c]
movzx eax, ax
or dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x1c]
inc eax
push eax
mov eax, edi
xor eax, dword [ebp + 0x30]
push eax
push dword [esi]
call fcn.00410bc9
mov eax, dword [ebp + 0x50]
add esp, 0x2c
and eax, 2
shl edi, 0x10
push ebx
lea ecx, [ebp - 0xac]
or edi, eax
call fcn.0042eaa5
lea ecx, [ebp - 0x6c]
call fcn.00437960
lea ecx, [ebp + 0x78]
call fcn.00437960
movsx eax, byte [ebp + 0x5b]
push str.PeExe
push eax
push 0x4bdfa0
call fcn.0043f7f4
mov ecx, dword [esi]
xor eax, eax
mov al, byte [ebp + 0x67]
add esp, 0xc
push ebx
push ebx
mov dword [esi], ebx
and eax, 1
or eax, edi
or eax, 0x80
push eax
push ebx
push dword [ebp + 0x54]
push ecx
mov ecx, 0x4bdfa0
call fcn.0047c449
mov dword [ebp + 0x60], eax
call fcn.0043da64
cmp dword [0x4be310], ebx
jle 0x430644
mov byte [0x4bc2c0], 0xff
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov edi, eax
sub edi, 0x14
call esi
jmp 0x4306ac
call esi
mov dword [ebp + 0x78], eax
sub eax, edi
cmp eax, 1
jb 0x43066b
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edi, dword [ebp + 0x78]
push 0x4ff
push 0xa
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4306a4
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4306ac
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x4be310], ebx
jg 0x43067d
cmp dword [0x4be310], ebx
jg 0x430655
lea ecx, [ebp + 0x3c]
call fcn.00437960
lea ecx, [ebp + 0x54]
call fcn.00437960
push dword [ebp + 0x20]
call fcn.00437932
pop ecx
mov ecx, 0x4be340
call fcn.004380c4
mov ecx, 0x4be728
call fcn.004380f2
push 0x4bdfc8
call fcn.004835ac
pop ecx
call fcn.00410faa
mov esi, 0x4a97a0
lea edi, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
lea eax, [ebp + 0x14]
push eax
mov ecx, 0x4bdfa0
movsw word es:[edi], word [esi]
call fcn.0041af1e
mov esi, dword [ebp + 0x60]
lea ecx, [ebp + 0x20]
call fcn.00437960
lea ecx, [ebp + 0x4c]
call fcn.00437960
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x68
leave
ret