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

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 0x78]
push 5
xor ebx, ebx
lea eax, [ebp + 0x78]
push ebx
push eax
mov dword [ebp + 0x54], edi
call fcn.1001a65a
add esp, 0xc
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x78], eax
call fcn.1000f804
mov dword [ebp + 0x60], ebx
mov byte [0x100e3199], 0x41
call fcn.10012c65
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x5c], ebx
call fcn.10046123
push str.PeExe
push 0xffffffffffffffff
push 0x100e3108
call fcn.1004884d
mov al, byte [0x100e31cc]
add esp, 0xc
cmp al, bl
mov byte [0x100e31cc], 1
jne 0x10036d99
lea ecx, [ebp + 0x48]
call fcn.10046123
push ebx
lea eax, [ebp + 0x48]
push eax
push str.SCRIPTINIT
push 0x64
push dword [0x100e2c88]
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
call fcn.100155e3
lea eax, [ebp + 0x48]
push 1
push eax
call fcn.100a3193
mov edx, dword [ebp + 0x48]
add esp, 0x1c
lea ecx, [ebp + 0x58]
mov dword [ebp + 0x58], edx
call fcn.1000f804
cmp dword [ebp + 0x4c], 4
mov eax, dword [ebp + 0x58]
jg 0x10036c98
mov word [edx], bx
mov word [eax], bx
cmp word [eax], bx
mov esi, 0x100e3108
je 0x10036d86
push 0x40
push 0x100cceb8
mov ecx, esi
call fcn.1001a148
mov al, byte [0x100e12d0]
mov edi, dword [ebp + 0x48]
push 0xffffffffffffffff
push 0x100cceb0
lea ecx, [ebp + 0x58]
mov dword [ebp + 0x48], ebx
mov byte [ebp + 0x67], al
mov byte [0x100e12d0], 1
call fcn.10050221
push dword [ebp + 0x78]
lea ecx, [ebp + 0x58]
call fcn.1004618f
push 0x100c6a64
push dword [ebp + 0x58]
mov ecx, esi
push edi
call fcn.1009007a
push ebx
push 0xffffffffffffffff
mov dword [ebp + 0x60], eax
mov al, byte [ebp + 0x67]
push ebx
push str.__Autoapp
mov ecx, esi
mov byte [0x100e12d0], al
call fcn.10010cdd
cmp eax, ebx
je 0x10036d33
add eax, 4
cmp eax, ebx
je 0x10036d33
mov eax, dword [eax]
xor ecx, ecx
mov cx, word [eax]
cmp cx, bx
je 0x10036d2a
inc eax
mov dword [ebp + 0x5c], ecx
inc eax
push eax
lea ecx, [ebp + 0x40]
call fcn.100502c8
push ebx
push 0xffffffffffffffff
push ebx
push str.__bInitWin
mov ecx, esi
call fcn.10010cdd
cmp eax, ebx
je 0x10036d7b
add eax, 4
cmp eax, ebx
je 0x10036d7b
mov byte [0x100e3070], 1
mov eax, dword [eax]
mov dword [ebp + 0x2c], eax
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x2c]
push eax
mov dword [ebp + 0x44], ebx
call fcn.10049634
mov eax, dword [ebp + 0x44]
cmp eax, ebx
pop ecx
pop ecx
jle 0x10036d7b
and al, 0x3f
or byte [0x100e3070], al
lea ecx, [ebp + 0x58]
call fcn.1003f96c
mov edi, dword [ebp + 0x54]
push dword [ebp + 0x48]
call fcn.1003f93e
pop ecx
lea ecx, [ebp + 0x48]
call fcn.1003f96c
jmp 0x10036d9e
mov esi, 0x100e3108
push str.PeExe
push 1
push 0x100e3108
call fcn.1004884d
add esp, 0xc
lea ecx, [ebp + 0x30]
call fcn.10046123
cmp edi, ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x28], edi
je 0x10036de5
push 0x11
lea eax, [ebp + 0x28]
push eax
push 0x100c78d8
call fcn.1003faa9
add esp, 0xc
test eax, eax
mov byte [0x100e2e68], 1
jne 0x10036deb
mov byte [0x100e2e68], bl
push 4
push dword [ebp + 0x78]
push 0x100c78c8
call fcn.10040df5
add esp, 0xc
test al, al
je 0x10036e07
mov byte [0x100e2c3e], bl
cmp byte [0x100e2e68], bl
jne 0x10036ec7
cmp word [ebp + 0x5c], 0x2a
jne 0x10036e3f
push 0x100e3130
mov byte [0x100e12d0], 1
call fcn.1009fcc3
mov eax, dword [ebp + 0x40]
pop ecx
add eax, 8
push eax
mov ecx, esi
call fcn.10030c71
jmp 0x10036ebf
cmp word [ebp + 0x5c], 0x24
jne 0x10036e5c
push ebx
push ebx
push ebx
push dword [ebp + 0x40]
mov ecx, esi
mov byte [0x100e12d0], 1
call fcn.10034bed
jmp 0x10036ebf
mov eax, dword [ebp + 0x40]
cmp word [eax], bx
je 0x10036e8f
push 0x100c7598
lea ecx, [ebp + 0x40]
mov byte [0x100e12d0], 1
call fcn.1004618f
push dword [ebp + 0x78]
lea ecx, [ebp + 0x40]
call fcn.1004618f
push dword [ebp + 0x40]
mov ecx, esi
call fcn.1002335d
jmp 0x10036ebf
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
jne 0x10036ec7
push 5
push 0x12e
push dword [0x100e2c88]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100372f5
push ebx
push 0x100c6a64
mov ecx, esi
call fcn.1002d239
mov dword [ebp + 0x60], eax
jmp 0x100372f5
lea ecx, [ebp + 0x5c]
call fcn.10046123
cmp edi, ebx
jne 0x10036ee3
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
or esi, 0xffffffff
jmp 0x10037341
lea eax, [ebp + 0x5c]
push eax
push edi
call fcn.1001c6d5
mov eax, dword [ebp + 0x5c]
mov dword [ebp + 0x60], eax
push 1
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x78], ebx
call fcn.1001a65a
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], eax
call fcn.1000f804
mov esi, dword [ebp + 0x60]
push dword [ebp + 0x30]
mov edi, esi
sub edi, dword [ebp + 0x5c]
mov byte [ebp + 0x67], 0x10
sar edi, 1
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
call fcn.1003f93e
add esp, 0x18
lea ecx, [ebp + 0x30]
call fcn.1003f97f
cmp word [esi], 0x2f
mov byte [ebp + 0x7b], bl
jne 0x10036f64
mov ax, word [esi + 2]
or ax, 0x20
cmp ax, 0x6c
jne 0x10036f64
mov ax, word [esi + 4]
call fcn.10002df6
test al, al
je 0x10036f64
mov al, byte [esi + 2]
mov byte [ebp + 0x7b], al
cmp byte [ebp + 0x7b], bl
mov dword [ebp + 0x58], ebx
je 0x10036f8d
mov word [esi + 2], 0x20
mov word [esi], 0x20
add esi, 4
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], esi
call fcn.1000f804
mov esi, dword [ebp + 0x60]
jmp 0x10037031
cmp word [esi], 0x22
push ebx
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x60]
push eax
sete byte [ebp + 0x3f]
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x60], esi
call fcn.1001a65a
sub eax, dword [ebp + 0x60]
add esp, 0xc
sar eax, 1
push eax
push dword [ebp + 0x60]
lea ecx, [ebp + 0x44]
call fcn.10050208
push dword [ebp + 0x44]
call fcn.100b3871
cmp byte [ebp + 0x3f], bl
pop ecx
mov dword [ebp + 0x54], eax
je 0x10036fe8
cmp eax, ebx
je 0x10036fdf
mov ax, word [esi + 2]
call fcn.10002df6
test al, al
je 0x10036fe8
push esi
call fcn.100132bf
pop ecx
mov esi, eax
cmp dword [ebp + 0x54], ebx
je 0x10037029
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp + 0x54], eax
add eax, 0xc
push eax
lea ecx, [ebp + 0x58]
call fcn.10046168
push 0xc
push 0x100cce74
push dword [ebp + 0x58]
call fcn.100144ff
push dword [ebp + 0x54]
mov eax, dword [ebp + 0x58]
add eax, 0xa
push esi
push eax
call fcn.10005b3b
mov esi, dword [ebp + 0x58]
add esp, 0x18
lea ecx, [ebp + 0x44]
call fcn.1003f96c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0x44], eax
add eax, 3
push eax
lea ecx, [ebp + 0x48]
call fcn.10046168
mov eax, dword [ebp + 0x44]
inc eax
push eax
push esi
push dword [ebp + 0x48]
call fcn.10005b3b
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x44]
add esp, 0xc
cmp byte [ebp + 0x7b], bl
mov word [eax + ecx*2 + 2], bx
je 0x100370f1
push dword [ebp + 0x48]
mov byte [ebp + 0x67], bl
call fcn.10042587
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x60], eax
pop ecx
lea eax, [ebp + 0x60]
call fcn.10005b53
mov esi, dword [ebp + 0x60]
sub esi, dword [ebp + 0x48]
lea ecx, [ebp + 0x5c]
sar esi, 1
lea eax, [esi + edi]
mov dword [ebp + 0x54], eax
inc eax
push eax
call fcn.10046168
cmp esi, ebx
jle 0x100370f1
mov eax, dword [ebp + 0x5c]
push esi
push dword [ebp + 0x48]
lea eax, [eax + edi*2]
push eax
call fcn.10005b3b
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x54]
add esp, 0xc
cmp byte [ebp + 0x7b], 0x4c
mov word [eax + ecx*2], bx
jne 0x100370f1
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 + 0x48]
call fcn.100144b5
lea eax, [esi + esi]
push eax
mov eax, dword [ebp + 0x48]
add edi, eax
push ebx
push edi
call fcn.100b40f0
add esp, 0x18
or byte [ebp + 0x67], 1
lea ecx, [ebp + 0x58]
call fcn.1003f96c
mov eax, dword [ebp + 0x48]
push 1
push dword [ebp + 0x5c]
mov edi, 0x100e3108
mov ecx, edi
mov dword [ebp + 0x78], eax
call fcn.10053203
lea ecx, [ebp + 0x78]
call fcn.1000f804
mov esi, dword [ebp + 0x78]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esi + eax*2 - 2]
jmp 0x1003713d
mov ax, word [ecx]
call fcn.10002df6
test al, al
je 0x10037141
mov word [ecx], bx
dec ecx
dec ecx
cmp ecx, esi
jae 0x1003712c
push 0x40
push str.cmdline
mov ecx, 0x100e3108
call fcn.1001a148
mov eax, esi
sub eax, dword [ebp + 0x48]
test eax, 0xfffffffe
jle 0x10037176
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push dword [ebp + 0x48]
call fcn.100144b5
add esp, 0xc
mov esi, dword [ebp + 0x48]
push 0x100cce54
lea ecx, [ebp + 0x78]
call fcn.100501eb
push ebx
push edi
lea ecx, [ebp - 0x9c]
call fcn.10014f6a
push ebx
lea ecx, [ebp - 0x9c]
call fcn.10044a42
mov eax, esi
push ebx
lea esi, [ebp - 0x9c]
mov word [ebp - 0x70], bx
call fcn.1001a3d1
push ebx
push dword [ebp + 0x48]
call fcn.10012c4c
mov ecx, esi
push ecx
lea ecx, [ebp + 0x78]
push ecx
push eax
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x48]
push ebx
push eax
xor ecx, ecx
call fcn.100227f9
movzx esi, ax
mov eax, dword [ebp + 0x54]
inc eax
push eax
push ebx
push dword [ebp + 0x48]
call fcn.10012cc0
add esp, 0x2c
push ebx
lea ecx, [ebp - 0x9c]
call fcn.10036b70
lea ecx, [ebp - 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x78]
call fcn.1003f96c
push str.PeExe
push 1
push edi
call fcn.1004884d
mov ecx, dword [ebp + 0x48]
xor eax, eax
mov al, byte [ebp + 0x67]
add esp, 0xc
push ebx
push ebx
and esi, 2
mov dword [ebp + 0x48], ebx
and eax, 1
or eax, esi
or eax, 0x80
push eax
push ebx
push dword [ebp + 0x5c]
push ecx
mov ecx, 0x100e3108
call fcn.10090180
cmp dword [0x100e34c4], ebx
mov dword [ebp + 0x60], eax
je 0x10037253
push ebx
push 0x100e34c4
call fcn.1001310a
pop ecx
pop ecx
call fcn.1004686b
cmp dword [0x100e34c0], ebx
jle 0x10037267
mov byte [0x100e12e4], 0xff
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
sub edi, 0x14
call esi
jmp 0x100372dd
call esi
mov dword [ebp + 0x78], eax
sub eax, edi
cmp eax, 1
jb 0x1003729c
push ebx
push ebx
push ebx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
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 0x100372d5
push 1
push ebx
push ebx
push ebx
lea eax, [ebp]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x100372dd
lea eax, [ebp]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x100e34c0], ebx
jg 0x100372ae
cmp dword [0x100e34c0], ebx
jg 0x10037278
lea ecx, [ebp + 0x48]
call fcn.1003f96c
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
push dword [ebp + 0x30]
call fcn.1003f93e
pop ecx
mov ecx, 0x100e3510
call fcn.100402ad
mov ecx, 0x100e3960
call fcn.100402f4
push 0x100e3130
call fcn.1009fcc3
pop ecx
call fcn.100130a7
mov esi, str.LOGS
lea edi, [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
lea eax, [ebp + 0x24]
push eax
mov ecx, 0x100e3108
movsw word es:[edi], word [esi]
call fcn.1001b6a3
mov esi, dword [ebp + 0x60]
lea ecx, [ebp + 0x30]
call fcn.1003f96c
lea ecx, [ebp + 0x40]
call fcn.1003f96c
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x68
leave
ret