Function at 0x435f09
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.0041a317
add esp, 0xc
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x78], eax
call fcn.0040f904
mov dword [ebp + 0x60], ebx
mov byte [0x4dc189], 0x41
call fcn.00412ab2
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.00444e32
mov edi, str.PeExe
push edi
push 0xffffffffffffffff
push 0x4dc0f8
call fcn.0044749d
add esp, 0xc
lea ecx, [ebp + 0x3c]
call fcn.00444e32
push ebx
lea eax, [ebp + 0x3c]
push eax
push str.SCRIPTINIT
push 0x64
push dword [0x4dbc90]
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
call fcn.004153c9
lea eax, [ebp + 0x3c]
push 1
push eax
call fcn.0049d75e
mov edx, dword [ebp + 0x3c]
add esp, 0x1c
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x5c], edx
call fcn.0040f904
cmp dword [ebp + 0x40], 4
mov eax, dword [ebp + 0x5c]
jg 0x435fc8
mov word [edx], bx
mov word [eax], bx
cmp word [eax], bx
mov esi, 0x4dc0f8
je 0x4360a9
push 0x40
push 0x4c6d70
mov ecx, esi
call fcn.00419e05
mov eax, dword [ebp + 0x3c]
push dword [ebp + 0x48]
mov dword [ebp + 0x5c], eax
mov al, byte [0x4da2d8]
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x3c], ebx
mov byte [ebp + 0x5b], al
mov byte [0x4da2d8], 1
call fcn.0044e66d
push 0x4c0a1c
push dword [ebp + 0x50]
mov ecx, esi
push dword [ebp + 0x5c]
call fcn.0048b8af
push ebx
push 0xffffffffffffffff
mov dword [ebp + 0x60], eax
mov al, byte [ebp + 0x5b]
push ebx
push str.__Autoapp
mov ecx, esi
mov byte [0x4da2d8], al
call fcn.00410d4d
cmp eax, ebx
je 0x436059
add eax, 4
cmp eax, ebx
je 0x436059
mov eax, dword [eax]
xor ecx, ecx
mov cx, word [eax]
cmp cx, bx
je 0x436050
inc eax
mov dword [ebp + 0x54], ecx
inc eax
push eax
lea ecx, [ebp + 0x4c]
call fcn.0044e731
push ebx
push 0xffffffffffffffff
push ebx
push str.__bInitWin
mov ecx, esi
call fcn.00410d4d
cmp eax, ebx
je 0x4360a1
add eax, 4
cmp eax, ebx
je 0x4360a1
mov byte [0x4dc060], 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.004481e9
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
pop ecx
pop ecx
jle 0x4360a1
and al, 0x3f
or byte [0x4dc060], al
lea ecx, [ebp + 0x50]
call fcn.0043e679
push dword [ebp + 0x3c]
call fcn.0043e587
pop ecx
lea ecx, [ebp + 0x3c]
call fcn.0043e679
push edi
push 1
push 0x4dc0f8
call fcn.0044749d
add esp, 0xc
lea ecx, [ebp + 0x20]
call fcn.00444e32
movzx eax, word [ebp + 0x34]
mov edi, dword [ebp + 0x54]
shl eax, 0x10
cmp di, 0x2a
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x5c], ebx
je 0x436141
cmp di, 0x24
je 0x436141
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
jne 0x436141
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x20]
push eax
push 0x4c528c
push 0x65
push dword [0x4dbfb0]
call fcn.004153c9
mov eax, dword [ebp + 0x50]
or eax, 1
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0049d75e
mov eax, dword [ebp + 0x20]
add esp, 0x1c
cmp dword [ebp + 0x24], 4
mov dword [ebp + 0x5c], eax
jg 0x436141
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 0x436169
push 0x11
lea eax, [ebp + 0x18]
push eax
push 0x4c1888
call fcn.0043e73f
add esp, 0xc
test eax, eax
mov byte [0x4dbe78], 1
jne 0x43616f
mov byte [0x4dbe78], bl
push 4
push dword [ebp + 0x78]
push str.MAIN
call fcn.0043fac4
add esp, 0xc
test al, al
je 0x43618b
mov byte [0x4dbc46], bl
mov al, byte [0x4dbe78]
cmp al, bl
mov byte [ebp + 0x67], al
jne 0x436261
cmp di, 0x2d
jne 0x4361a5
or byte [ebp + 0x67], 2
cmp di, 0x2a
jne 0x4361d0
push 0x4dc120
mov byte [0x4da2d8], 1
call fcn.0049a8b0
mov eax, dword [ebp + 0x4c]
pop ecx
add eax, 8
push eax
mov ecx, esi
call fcn.0042f917
jmp 0x436259
cmp di, 0x24
jne 0x4361ec
push ebx
push ebx
push ebx
push dword [ebp + 0x4c]
mov ecx, esi
mov byte [0x4da2d8], 1
call fcn.00433f41
jmp 0x436259
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
je 0x436224
cmp dword [ebp + 0x5c], ebx
jne 0x436224
push 0x4c1548
lea ecx, [ebp + 0x4c]
mov byte [0x4da2d8], 1
call fcn.00444e9e
push dword [ebp + 0x78]
lea ecx, [ebp + 0x4c]
call fcn.00444e9e
push dword [ebp + 0x4c]
mov ecx, esi
call fcn.004221d9
jmp 0x436259
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
jne 0x436261
cmp dword [ebp + 0x5c], ebx
jne 0x436261
push 5
push 0x12e
push dword [0x4dbc90]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4366f1
push ebx
push 0x4c0a1c
mov ecx, esi
call fcn.0042c4a7
mov dword [ebp + 0x60], eax
jmp 0x4366f1
lea ecx, [ebp + 0x54]
call fcn.00444e32
cmp dword [ebp + 0x48], ebx
jne 0x43627e
lea ecx, [ebp + 0x54]
call fcn.0043e679
or esi, 0xffffffff
jmp 0x43673d
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x48]
call fcn.0041c33f
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.0041a317
add esp, 0x14
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], eax
call fcn.0040f904
mov edi, dword [ebp + 0x60]
mov eax, edi
sub eax, dword [ebp + 0x54]
sar eax, 1
cmp dword [ebp + 0x5c], ebx
mov dword [ebp + 0x48], eax
je 0x4362cb
cmp byte [ebp + 0x67], bl
mov byte [ebp + 0x5a], 1
je 0x4362ce
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 0x4362f6
lea edi, [ebp + 0x20]
mov byte [0x4da2d8], 1
mov byte [ebp + 0x5b], bl
jmp 0x4364d2
push dword [ebp + 0x20]
call fcn.0043e587
pop ecx
lea ecx, [ebp + 0x20]
call fcn.0043e5b5
cmp word [edi], 0x2f
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x7b], bl
jne 0x43633a
mov ax, word [edi + 2]
or ax, 0x20
cmp ax, 0x6c
jne 0x43633a
mov ax, word [edi + 4]
call fcn.0040f8eb
test al, al
je 0x43633a
mov al, byte [edi + 2]
mov byte [ebp + 0x7b], al
cmp byte [ebp + 0x7b], bl
mov dword [ebp + 0x5c], ebx
je 0x436363
mov word [edi + 2], 0x20
mov word [edi], 0x20
add edi, 4
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], edi
call fcn.0040f904
mov edi, dword [ebp + 0x60]
jmp 0x436402
cmp word [edi], 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], edi
call fcn.0041a317
sub eax, dword [ebp + 0x60]
add esp, 0xc
sar eax, 1
push eax
push dword [ebp + 0x60]
lea ecx, [ebp + 0x30]
call fcn.0044e68a
push dword [ebp + 0x30]
call fcn.004ad289
cmp byte [ebp + 0x3b], bl
pop ecx
mov esi, eax
je 0x4363bd
cmp esi, ebx
je 0x4363b4
mov ax, word [edi + 2]
call fcn.0040f8eb
test al, al
je 0x4363bd
push edi
call fcn.0041310a
pop ecx
mov edi, eax
cmp esi, ebx
je 0x4363fa
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
inc esi
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp + 0x5c]
call fcn.00444e77
push 0xc
push str.LOAD
push dword [ebp + 0x5c]
call fcn.00414409
mov eax, dword [ebp + 0x5c]
push esi
add eax, 0xa
push edi
push eax
call fcn.00405b32
mov edi, dword [ebp + 0x5c]
add esp, 0x18
lea ecx, [ebp + 0x30]
call fcn.0043e679
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 3]
push eax
lea ecx, [ebp + 0x3c]
call fcn.00444e77
lea eax, [esi + 1]
push eax
push edi
push dword [ebp + 0x3c]
call fcn.00405b32
mov eax, dword [ebp + 0x3c]
add esp, 0xc
cmp byte [ebp + 0x7b], bl
mov word [eax + esi*2 + 2], bx
je 0x4364be
push dword [ebp + 0x3c]
mov byte [ebp + 0x67], bl
call fcn.00441195
mov esi, dword [ebp + 0x3c]
pop ecx
lea eax, [ebp + 0x60]
mov dword [ebp + 0x60], esi
call fcn.00444a40
mov edi, dword [ebp + 0x60]
mov eax, dword [ebp + 0x48]
sub edi, esi
sar edi, 1
lea esi, [edi + eax]
lea eax, [esi + 1]
push eax
lea ecx, [ebp + 0x54]
call fcn.00444e77
cmp edi, ebx
jle 0x4364be
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x48]
push edi
push dword [ebp + 0x3c]
lea eax, [eax + ecx*2]
push eax
call fcn.00405b32
mov eax, dword [ebp + 0x54]
add esp, 0xc
cmp byte [ebp + 0x7b], 0x4c
mov word [eax + esi*2], bx
jne 0x4364be
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea esi, [eax + eax]
push esi
push dword [ebp + 0x60]
push dword [ebp + 0x3c]
call fcn.004143bf
lea eax, [edi + edi]
push eax
mov eax, dword [ebp + 0x3c]
add esi, eax
push ebx
push esi
call fcn.004adaa0
add esp, 0x18
or byte [ebp + 0x67], 1
lea ecx, [ebp + 0x5c]
lea edi, [ebp + 0x3c]
call fcn.0043e679
mov esi, 0x4dc0f8
mov eax, dword [edi]
push 1
push dword [ebp + 0x54]
mov ecx, 0x4dc0f8
mov dword [ebp + 0x78], eax
call fcn.00451459
cmp byte [ebp + 0x5a], bl
je 0x4364f7
push 0x10040
push str.101
jmp 0x43652d
lea ecx, [ebp + 0x78]
call fcn.0040f904
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp + 0x78]
lea ecx, [edx + eax*2 - 2]
jmp 0x436522
mov ax, word [ecx]
call fcn.0040f8eb
test al, al
je 0x436526
mov word [ecx], bx
dec ecx
dec ecx
cmp ecx, edx
jae 0x436511
push 0x40
push str.cmdline
mov ecx, esi
call fcn.00419e05
mov eax, dword [ebp + 0x78]
sub eax, dword [edi]
test eax, 0xfffffffe
jle 0x43655b
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x78]
push dword [edi]
call fcn.004143bf
add esp, 0xc
mov esi, dword [edi]
push 0x4c6d14
lea ecx, [ebp + 0x78]
call fcn.0044e66d
push ebx
push 0x4dc0f8
lea ecx, [ebp - 0xac]
call fcn.00414d4c
movzx eax, word [ebp + 0x34]
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp + 0x30], eax
call fcn.0044348d
mov ax, word [ebp + 0x34]
mov word [ebp - 0x80], ax
mov eax, esi
push ebx
lea esi, [ebp - 0xac]
call fcn.0041a08e
push dword [ebp + 0x34]
push dword [edi]
call fcn.00412a99
mov ecx, esi
push ecx
lea ecx, [ebp + 0x78]
push ecx
mov ecx, dword [ebp + 0x50]
push eax
push ebx
push edi
mov dword [ebp + 0x1c], eax
call fcn.00421675
movzx esi, word [ebp + 0x2c]
movzx eax, ax
or dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x1c]
inc eax
push eax
mov eax, esi
xor eax, dword [ebp + 0x30]
push eax
push dword [edi]
call fcn.00412b0d
mov eax, dword [ebp + 0x50]
add esp, 0x2c
and eax, 2
shl esi, 0x10
push ebx
lea ecx, [ebp - 0xac]
or esi, eax
call fcn.00435ea3
lea ecx, [ebp - 0x6c]
call fcn.0043e679
lea ecx, [ebp + 0x78]
call fcn.0043e679
movsx eax, byte [ebp + 0x5b]
push str.PeExe
push eax
push 0x4dc0f8
call fcn.0044749d
mov ecx, dword [edi]
xor eax, eax
mov al, byte [ebp + 0x67]
add esp, 0xc
push ebx
push ebx
mov dword [edi], ebx
and eax, 1
or eax, esi
or eax, 0x80
push eax
push ebx
push dword [ebp + 0x54]
push ecx
mov ecx, 0x4dc0f8
call fcn.0048b9b5
cmp dword [0x4dc4b0], ebx
mov dword [ebp + 0x60], eax
je 0x43665d
push ebx
push 0x4dc4b0
call fcn.00412f55
pop ecx
pop ecx
call fcn.004454bb
cmp dword [0x4dc4ac], ebx
jle 0x436671
mov byte [0x4da2ec], 0xff
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
sub edi, 0x14
call esi
jmp 0x4366d9
call esi
mov dword [ebp + 0x78], eax
sub eax, edi
cmp eax, 1
jb 0x436698
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 0x4366d1
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 0x4366d9
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 [0x4dc4ac], ebx
jg 0x4366aa
cmp dword [0x4dc4ac], ebx
jg 0x436682
lea ecx, [ebp + 0x3c]
call fcn.0043e679
lea ecx, [ebp + 0x54]
call fcn.0043e679
push dword [ebp + 0x20]
call fcn.0043e587
pop ecx
mov ecx, 0x4dc500
call fcn.0043ef7c
mov ecx, 0x4dc918
call fcn.0043efc3
push 0x4dc120
call fcn.0049a8b0
pop ecx
call fcn.00412ef2
mov esi, str.LOGS
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, 0x4dc0f8
movsw word es:[edi], word [esi]
call fcn.0041b363
mov esi, dword [ebp + 0x60]
lea ecx, [ebp + 0x20]
call fcn.0043e679
lea ecx, [ebp + 0x4c]
call fcn.0043e679
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x68
leave
ret