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

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x108
mov eax, dword [ebp + 0x78]
push ebx
push esi
push edi
push 5
mov dword [ebp + 0x4c], eax
xor ebx, ebx
lea eax, [ebp + 0x78]
push ebx
push eax
call fcn.00416853
add esp, 0xc
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x78], eax
call fcn.0040bc51
mov dword [ebp + 0x64], ebx
mov byte [0x4acfa1], 1
call fcn.0040ea8d
mov dword [ebp + 0x28], eax
movzx ax, al
xor ecx, ecx
mov ch, al
mov dword [ebp + 0x58], ebx
or ecx, eax
mov dword [ebp + 0x2c], ecx
lea ecx, [ebp + 0x48]
call fcn.00435d62
push str.PeExe
push 0xffffffffffffffff
mov esi, 0x4acf10
push esi
call fcn.004380d1
add esp, 0xc
lea ecx, [ebp + 0x34]
call fcn.00435d62
push ebx
lea eax, [ebp + 0x34]
push eax
push str.SCRIPTINIT
push 0x64
push dword [0x4ace04]
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
call fcn.00410a1a
lea eax, [ebp + 0x34]
push 1
push eax
call fcn.004774cc
mov edx, dword [ebp + 0x34]
add esp, 0x1c
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], edx
call fcn.0040bc51
cmp dword [ebp + 0x38], 4
mov eax, dword [ebp + 0x60]
jg 0x42982f
mov word [edx], bx
mov word [eax], bx
cmp word [eax], bx
mov edi, 0x4acf10
je 0x42990e
push 0x40
push 0x498ff8
mov ecx, edi
call fcn.0041636e
mov eax, dword [ebp + 0x34]
push dword [ebp + 0x4c]
mov dword [ebp + 0x60], eax
mov al, byte [0x4ab280]
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x5f], al
mov byte [0x4ab280], 1
call fcn.004403c3
push 0x4949a4
push dword [ebp + 0x50]
mov ecx, edi
push dword [ebp + 0x60]
call fcn.0047144b
push 0xffffffffffffffff
mov dword [ebp + 0x64], eax
mov al, byte [ebp + 0x5f]
push ebx
push str.__Autoapp
mov ecx, edi
mov byte [0x4ab280], al
call fcn.0040cb92
cmp eax, ebx
je 0x4298bf
add eax, 4
cmp eax, ebx
je 0x4298bf
mov eax, dword [eax]
xor ecx, ecx
mov cx, word [eax]
cmp cx, bx
je 0x4298b6
inc eax
mov dword [ebp + 0x58], ecx
inc eax
push eax
lea ecx, [ebp + 0x48]
call fcn.00440487
push 0xffffffffffffffff
push ebx
push str.__bInitWin
mov ecx, edi
call fcn.0040cb92
cmp eax, ebx
je 0x429906
add eax, 4
cmp eax, ebx
je 0x429906
mov byte [0x4acec1], 1
mov eax, dword [eax]
mov dword [ebp + 0x44], eax
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x44]
push eax
mov dword [ebp + 0x60], ebx
call fcn.00438b8e
mov eax, dword [ebp + 0x60]
cmp eax, ebx
pop ecx
pop ecx
jle 0x429906
and al, 0x3f
or byte [0x4acec1], al
lea ecx, [ebp + 0x50]
call fcn.0043092f
push dword [ebp + 0x34]
call fcn.00430901
pop ecx
lea ecx, [ebp + 0x34]
call fcn.0043092f
push str.PeExe
push 1
push esi
call fcn.004380d1
add esp, 0xc
lea ecx, [ebp + 0x1c]
call fcn.00435d62
movzx eax, word [ebp + 0x2c]
shl eax, 0x10
cmp word [ebp + 0x58], 0x2a
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x60], ebx
je 0x4299a5
cmp word [ebp + 0x58], 0x24
je 0x4299a5
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
jne 0x4299a5
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x1c]
push eax
push 0x498ed4
push 0x65
push dword [0x4ace04]
call fcn.00410a1a
mov eax, dword [ebp + 0x50]
or eax, 1
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004774cc
mov eax, dword [ebp + 0x1c]
add esp, 0x1c
cmp dword [ebp + 0x20], 4
mov dword [ebp + 0x60], eax
jg 0x4299a5
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x60], ebx
mov eax, dword [ebp + 0x4c]
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x4299cd
push 0x11
lea eax, [ebp + 0x18]
push eax
push str.PECMDpecmd_cmd
call fcn.004309db
add esp, 0xc
test eax, eax
mov byte [0x4acd54], 1
jne 0x4299d3
mov byte [0x4acd54], bl
mov esi, dword [ebp + 0x78]
push 4
push esi
push str.MAIN
call fcn.004318b1
add esp, 0xc
test al, al
je 0x4299f0
mov byte [0x4acb8a], bl
mov al, byte [0x4acd54]
cmp al, bl
mov byte [ebp + 0x7b], al
jne 0x429ac4
cmp word [ebp + 0x58], 0x2d
jne 0x429a0b
or byte [ebp + 0x7b], 2
cmp word [ebp + 0x58], 0x2a
jne 0x429a37
push 0x4acf38
mov byte [0x4ab280], 1
call fcn.004745af
mov eax, dword [ebp + 0x48]
pop ecx
add eax, 8
push eax
mov ecx, edi
call fcn.004255f2
jmp 0x429abc
cmp word [ebp + 0x58], 0x24
jne 0x429a54
push ebx
push ebx
push ebx
push dword [ebp + 0x48]
mov ecx, edi
mov byte [0x4ab280], 1
call fcn.00426546
jmp 0x429abc
mov eax, dword [ebp + 0x48]
cmp word [eax], bx
je 0x429a8a
cmp dword [ebp + 0x60], ebx
jne 0x429a8a
push 0x4951ec
lea ecx, [ebp + 0x48]
mov byte [0x4ab280], 1
call fcn.00435dd0
push esi
lea ecx, [ebp + 0x48]
call fcn.00435dd0
push dword [ebp + 0x48]
mov ecx, edi
call fcn.00428650
jmp 0x429abc
cmp word [esi], bx
jne 0x429ac4
cmp dword [ebp + 0x60], ebx
jne 0x429ac4
push 5
push 0x12e
push dword [0x4ace04]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x429f53
push ebx
push 0x4949a4
mov ecx, edi
call fcn.00425e15
mov dword [ebp + 0x64], eax
jmp 0x429f53
lea ecx, [ebp + 0x58]
call fcn.00435d62
cmp dword [ebp + 0x4c], ebx
jne 0x429ae1
lea ecx, [ebp + 0x58]
call fcn.0043092f
or esi, 0xffffffff
jmp 0x429f91
lea eax, [ebp + 0x58]
push eax
push dword [ebp + 0x4c]
call fcn.00419911
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x64], eax
push 1
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x64]
push eax
mov dword [ebp + 0x4c], ebx
call fcn.00416853
add esp, 0x14
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x64], eax
call fcn.0040bc51
mov esi, dword [ebp + 0x64]
mov eax, esi
sub eax, dword [ebp + 0x58]
sar eax, 1
cmp dword [ebp + 0x60], ebx
mov dword [ebp + 0x4c], eax
je 0x429b2e
cmp byte [ebp + 0x7b], bl
mov byte [ebp + 0x57], 1
je 0x429b31
mov byte [ebp + 0x57], bl
cmp byte [ebp + 0x57], bl
mov byte [ebp + 0x5e], 0x10
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
mov byte [ebp + 0x5f], 1
je 0x429b59
lea esi, [ebp + 0x1c]
mov byte [0x4ab280], 1
mov byte [ebp + 0x5f], bl
jmp 0x429d43
push dword [ebp + 0x1c]
call fcn.00430901
pop ecx
lea ecx, [ebp + 0x1c]
call fcn.0043092f
cmp word [esi], 0x2f
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x7b], bl
jne 0x429b9d
mov ax, word [esi + 2]
or ax, 0x20
cmp ax, 0x6c
jne 0x429b9d
mov ax, word [esi + 4]
call fcn.0040bc38
test al, al
je 0x429b9d
mov al, byte [esi + 2]
mov byte [ebp + 0x7b], al
cmp byte [ebp + 0x7b], bl
mov dword [ebp + 0x60], ebx
je 0x429bc6
mov word [esi + 2], 0x20
mov word [esi], 0x20
add esi, 4
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x64], esi
call fcn.0040bc51
mov esi, dword [ebp + 0x64]
jmp 0x429c6a
cmp word [esi], 0x22
push ebx
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x64]
push eax
sete byte [ebp + 0x33]
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x64], esi
call fcn.00416853
sub eax, dword [ebp + 0x64]
add esp, 0xc
sar eax, 1
push eax
push dword [ebp + 0x64]
lea ecx, [ebp + 0x44]
call fcn.004403e0
push dword [ebp + 0x44]
call fcn.0047f7b4
cmp byte [ebp + 0x33], bl
pop ecx
mov dword [ebp + 0x40], eax
je 0x429c21
cmp eax, ebx
je 0x429c18
mov ax, word [esi + 2]
call fcn.0040bc38
test al, al
je 0x429c21
push esi
call fcn.0040eec0
pop ecx
mov esi, eax
cmp dword [ebp + 0x40], ebx
je 0x429c62
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
mov dword [ebp + 0x40], eax
add eax, 0xa
push eax
lea ecx, [ebp + 0x60]
call fcn.00435da9
push 0xc
push str.LOAD
push dword [ebp + 0x60]
call fcn.004102e0
push dword [ebp + 0x40]
mov eax, dword [ebp + 0x60]
add eax, 0xa
push esi
push eax
call fcn.00404561
mov esi, dword [ebp + 0x60]
add esp, 0x18
lea ecx, [ebp + 0x44]
call fcn.0043092f
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov dword [ebp + 0x44], eax
add eax, 3
push eax
lea ecx, [ebp + 0x34]
call fcn.00435da9
mov eax, dword [ebp + 0x44]
inc eax
push eax
push esi
push dword [ebp + 0x34]
call fcn.00404561
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x44]
add esp, 0xc
cmp byte [ebp + 0x7b], bl
mov word [eax + ecx*2 + 2], bx
je 0x429d34
push dword [ebp + 0x34]
mov byte [ebp + 0x5e], bl
call fcn.00432e8a
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x64], eax
pop ecx
lea eax, [ebp + 0x64]
call fcn.00435a49
mov esi, dword [ebp + 0x64]
sub esi, dword [ebp + 0x34]
mov eax, dword [ebp + 0x4c]
sar esi, 1
add eax, esi
mov dword [ebp + 0x40], eax
inc eax
push eax
lea ecx, [ebp + 0x58]
call fcn.00435da9
cmp esi, ebx
jle 0x429d34
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x4c]
push esi
push dword [ebp + 0x34]
lea eax, [eax + ecx*2]
push eax
call fcn.00404561
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x40]
add esp, 0xc
cmp byte [ebp + 0x7b], 0x4c
mov word [eax + ecx*2], bx
jne 0x429d34
push dword [ebp + 0x64]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
add eax, eax
push eax
push dword [ebp + 0x64]
mov dword [ebp + 0x78], eax
push dword [ebp + 0x34]
call fcn.00410296
mov ecx, dword [ebp + 0x78]
lea eax, [esi + esi]
push eax
mov eax, dword [ebp + 0x34]
add ecx, eax
push ebx
push ecx
call fcn.0047fd70
add esp, 0x18
or byte [ebp + 0x5e], 1
lea ecx, [ebp + 0x60]
lea esi, [ebp + 0x34]
call fcn.0043092f
mov eax, dword [esi]
push 1
push dword [ebp + 0x58]
mov ecx, 0x4acf10
mov dword [ebp + 0x78], eax
call fcn.00443839
cmp byte [ebp + 0x57], bl
je 0x429d68
push 0x10040
push str.101
jmp 0x429d9e
lea ecx, [ebp + 0x78]
call fcn.0040bc51
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edx, dword [ebp + 0x78]
lea ecx, [edx + eax*2 - 2]
jmp 0x429d93
mov ax, word [ecx]
call fcn.0040bc38
test al, al
je 0x429d97
mov word [ecx], bx
dec ecx
dec ecx
cmp ecx, edx
jae 0x429d82
push 0x40
push str.cmdline
mov ecx, edi
call fcn.0041636e
mov edi, dword [esi]
mov eax, dword [ebp + 0x78]
sub eax, edi
test eax, 0xfffffffe
jle 0x429dcd
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x78]
push edi
call fcn.00410296
add esp, 0xc
mov edi, dword [esi]
push 0x498f78
lea ecx, [ebp + 0x78]
call fcn.004403c3
push ebx
push 0x4acf10
lea ecx, [ebp - 0xa0]
call fcn.00428357
movzx eax, word [ebp + 0x2c]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp + 0x44], eax
call fcn.00434c15
mov ax, word [ebp + 0x2c]
mov word [ebp - 0x74], ax
mov eax, edi
push ebx
lea edi, [ebp - 0xa0]
call fcn.004165f7
push dword [ebp + 0x2c]
push dword [esi]
call fcn.0040ea74
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 + 0x40], eax
call fcn.00420f25
movzx edi, word [ebp + 0x28]
movzx eax, ax
or dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x40]
inc eax
push eax
mov eax, edi
xor eax, dword [ebp + 0x44]
push eax
push dword [esi]
call fcn.0040eae8
mov eax, dword [ebp + 0x50]
add esp, 0x2c
and eax, 2
shl edi, 0x10
push ebx
lea ecx, [ebp - 0xa0]
or edi, eax
call fcn.004282f1
lea ecx, [ebp - 0x60]
call fcn.0043092f
lea ecx, [ebp + 0x78]
call fcn.0043092f
movsx eax, byte [ebp + 0x5f]
push str.PeExe
push eax
push 0x4acf10
call fcn.004380d1
mov ecx, dword [esi]
xor eax, eax
mov al, byte [ebp + 0x5e]
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 + 0x58]
push ecx
mov ecx, 0x4acf10
call fcn.00471542
mov dword [ebp + 0x64], eax
call fcn.00436348
cmp dword [0x4ad25c], ebx
jle 0x429ece
mov byte [0x4ab290], 0xff
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov edi, eax
sub edi, 0x14
call esi
jmp 0x429f36
call esi
mov dword [ebp + 0x78], eax
sub eax, edi
cmp eax, 1
jb 0x429ef5
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edi, dword [ebp + 0x78]
push 0x4bf
push 0xa
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x429f2e
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x429f36
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x4ad25c], ebx
jg 0x429f07
cmp dword [0x4ad25c], ebx
jg 0x429edf
lea ecx, [ebp + 0x34]
call fcn.0043092f
lea ecx, [ebp + 0x58]
call fcn.0043092f
mov edi, 0x4acf10
push dword [ebp + 0x1c]
call fcn.00430901
pop ecx
mov ecx, 0x4ad6b8
call fcn.00430e8d
mov ecx, 0x4ad2b0
call fcn.00430ebb
push 0x4acf38
call fcn.004745af
pop ecx
call fcn.0040edcc
mov eax, 0x4949a4
push eax
push eax
mov ecx, edi
call fcn.00418f46
mov esi, dword [ebp + 0x64]
lea ecx, [ebp + 0x1c]
call fcn.0043092f
lea ecx, [ebp + 0x48]
call fcn.0043092f
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x68
leave
ret