Function at 0x4303ce
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.00419202
add esp, 0xc
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x78], eax
call fcn.0040e2c3
mov dword [ebp + 0x60], ebx
mov byte [0x4c1049], 0x41
call fcn.00410fcc
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.0043dd7e
mov edi, 0x4ac2ac
push edi
push 0xffffffffffffffff
push 0x4c0fb8
call fcn.00440266
add esp, 0xc
lea ecx, [ebp + 0x3c]
call fcn.0043dd7e
push ebx
lea eax, [ebp + 0x3c]
push eax
push 0x4ac294
push 0x64
push dword [0x4c0ea0]
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
call fcn.00413369
lea eax, [ebp + 0x3c]
push 1
push eax
call fcn.00489b15
mov edx, dword [ebp + 0x3c]
add esp, 0x1c
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x5c], edx
call fcn.0040e2c3
cmp dword [ebp + 0x40], 4
mov eax, dword [ebp + 0x5c]
jg 0x43048d
mov word [edx], bx
mov word [eax], bx
cmp word [eax], bx
mov esi, 0x4c0fb8
je 0x43056e
push pe_nt_image_headers32
push 0x4ac284
mov ecx, esi
call fcn.00418cf0
mov eax, dword [ebp + 0x3c]
push dword [ebp + 0x48]
mov dword [ebp + 0x5c], eax
mov al, byte [0x4bf2a4]
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x3c], ebx
mov byte [ebp + 0x5b], al
mov byte [0x4bf2a4], 1
call fcn.00446497
push 0x4a69d4
push dword [ebp + 0x50]
mov ecx, esi
push dword [ebp + 0x5c]
call fcn.0047f7f5
push ebx
push 0xffffffffffffffff
mov dword [ebp + 0x60], eax
mov al, byte [ebp + 0x5b]
push ebx
push 0x4ac270
mov ecx, esi
mov byte [0x4bf2a4], al
call fcn.0040f3c5
cmp eax, ebx
je 0x43051e
add eax, 4
cmp eax, ebx
je 0x43051e
mov eax, dword [eax]
xor ecx, ecx
mov cx, word [eax]
cmp cx, bx
je 0x430515
inc eax
mov dword [ebp + 0x54], ecx
inc eax
push eax
lea ecx, [ebp + 0x4c]
call fcn.0044655b
push ebx
push 0xffffffffffffffff
push ebx
push 0x4ac258
mov ecx, esi
call fcn.0040f3c5
cmp eax, ebx
je 0x430566
add eax, 4
cmp eax, ebx
je 0x430566
mov byte [0x4c0f4e], 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.00440e07
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
pop ecx
pop ecx
jle 0x430566
and al, 0x3f
or byte [0x4c0f4e], al
lea ecx, [ebp + 0x50]
call fcn.00437e1a
push dword [ebp + 0x3c]
call fcn.00437dec
pop ecx
lea ecx, [ebp + 0x3c]
call fcn.00437e1a
push edi
push 1
push 0x4c0fb8
call fcn.00440266
add esp, 0xc
lea ecx, [ebp + 0x20]
call fcn.0043dd7e
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 0x430606
cmp di, 0x24
je 0x430606
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
jne 0x430606
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x20]
push eax
push 0x4ac178
push 0x65
push dword [0x4c0ea0]
call fcn.00413369
mov eax, dword [ebp + 0x50]
or eax, 1
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00489b15
mov eax, dword [ebp + 0x20]
add esp, 0x1c
cmp dword [ebp + 0x24], 4
mov dword [ebp + 0x5c], eax
jg 0x430606
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 0x43062e
push 0x11
lea eax, [ebp + 0x18]
push eax
push 0x4ac234
call fcn.00437f44
add esp, 0xc
test eax, eax
mov byte [0x4c0ddc], 1
jne 0x430634
mov byte [0x4c0ddc], bl
push 4
push dword [ebp + 0x78]
push 0x4a75b0
call fcn.0043917b
add esp, 0xc
test al, al
je 0x430650
mov byte [0x4c0be6], bl
mov al, byte [0x4c0ddc]
cmp al, bl
mov byte [ebp + 0x67], al
jne 0x430726
cmp di, 0x2d
jne 0x43066a
or byte [ebp + 0x67], 2
cmp di, 0x2a
jne 0x430695
push 0x4c0fe0
mov byte [0x4bf2a4], 1
call fcn.00486b94
mov eax, dword [ebp + 0x4c]
pop ecx
add eax, 8
push eax
mov ecx, esi
call fcn.0042bdd5
jmp 0x43071e
cmp di, 0x24
jne 0x4306b1
push ebx
push ebx
push ebx
push dword [ebp + 0x4c]
mov ecx, esi
mov byte [0x4bf2a4], 1
call fcn.0042d06c
jmp 0x43071e
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
je 0x4306e9
cmp dword [ebp + 0x5c], ebx
jne 0x4306e9
push 0x4a7360
lea ecx, [ebp + 0x4c]
mov byte [0x4bf2a4], 1
call fcn.0043ddea
push dword [ebp + 0x78]
lea ecx, [ebp + 0x4c]
call fcn.0043ddea
push dword [ebp + 0x4c]
mov ecx, esi
call fcn.0042f370
jmp 0x43071e
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
jne 0x430726
cmp dword [ebp + 0x5c], ebx
jne 0x430726
push 5
push 0x12e
push dword [0x4c0ea0]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
test eax, eax
je 0x430bb6
push ebx
push 0x4a69d4
mov ecx, esi
call fcn.0042c6e7
mov dword [ebp + 0x60], eax
jmp 0x430bb6
lea ecx, [ebp + 0x54]
call fcn.0043dd7e
cmp dword [ebp + 0x48], ebx
jne 0x430743
lea ecx, [ebp + 0x54]
call fcn.00437e1a
or esi, 0xffffffff
jmp 0x430c02
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x48]
call fcn.0041c2c0
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.00419202
add esp, 0x14
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], eax
call fcn.0040e2c3
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 0x430790
cmp byte [ebp + 0x67], bl
mov byte [ebp + 0x5a], 1
je 0x430793
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 0x4307bb
lea edi, [ebp + 0x20]
mov byte [0x4bf2a4], 1
mov byte [ebp + 0x5b], bl
jmp 0x430997
push dword [ebp + 0x20]
call fcn.00437dec
pop ecx
lea ecx, [ebp + 0x20]
call fcn.00437e1a
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 0x4307ff
mov ax, word [edi + 2]
or ax, 0x20
cmp ax, 0x6c
jne 0x4307ff
mov ax, word [edi + 4]
call fcn.00437e2d
test al, al
je 0x4307ff
mov al, byte [edi + 2]
mov byte [ebp + 0x7b], al
cmp byte [ebp + 0x7b], bl
mov dword [ebp + 0x5c], ebx
je 0x430828
mov word [edi + 2], 0x20
mov word [edi], 0x20
add edi, 4
lea ecx, [ebp + 0x60]
mov dword [ebp + 0x60], edi
call fcn.0040e2c3
mov edi, dword [ebp + 0x60]
jmp 0x4308c7
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.00419202
sub eax, dword [ebp + 0x60]
add esp, 0xc
sar eax, 1
push eax
push dword [ebp + 0x60]
lea ecx, [ebp + 0x30]
call fcn.004464b4
push dword [ebp + 0x30]
call fcn.00492742
cmp byte [ebp + 0x3b], bl
pop ecx
mov esi, eax
je 0x430882
cmp esi, ebx
je 0x430879
mov ax, word [edi + 2]
call fcn.00437e2d
test al, al
je 0x430882
push edi
call fcn.0041161a
pop ecx
mov edi, eax
cmp esi, ebx
je 0x4308bf
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.0043ddc3
push 0xc
push 0x4ac224
push dword [ebp + 0x5c]
call fcn.004128b6
mov eax, dword [ebp + 0x5c]
push esi
add eax, 0xa
push edi
push eax
call fcn.0040515a
mov edi, dword [ebp + 0x5c]
add esp, 0x18
lea ecx, [ebp + 0x30]
call fcn.00437e1a
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
lea eax, [esi + 3]
push eax
lea ecx, [ebp + 0x3c]
call fcn.0043ddc3
lea eax, [esi + 1]
push eax
push edi
push dword [ebp + 0x3c]
call fcn.0040515a
mov eax, dword [ebp + 0x3c]
add esp, 0xc
cmp byte [ebp + 0x7b], bl
mov word [eax + esi*2 + 2], bx
je 0x430983
push dword [ebp + 0x3c]
mov byte [ebp + 0x67], bl
call fcn.0043a7b7
mov esi, dword [ebp + 0x3c]
pop ecx
lea eax, [ebp + 0x60]
mov dword [ebp + 0x60], esi
call fcn.0043da00
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.0043ddc3
cmp edi, ebx
jle 0x430983
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.0040515a
mov eax, dword [ebp + 0x54]
add esp, 0xc
cmp byte [ebp + 0x7b], 0x4c
mov word [eax + esi*2], bx
jne 0x430983
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.0041286c
lea eax, [edi + edi]
push eax
mov eax, dword [ebp + 0x3c]
add esi, eax
push ebx
push esi
call fcn.00492e00
add esp, 0x18
or byte [ebp + 0x67], 1
lea ecx, [ebp + 0x5c]
lea edi, [ebp + 0x3c]
call fcn.00437e1a
mov esi, 0x4c0fb8
mov eax, dword [edi]
push 1
push dword [ebp + 0x54]
mov ecx, 0x4c0fb8
mov dword [ebp + 0x78], eax
call fcn.00448eba
cmp byte [ebp + 0x5a], bl
je 0x4309bc
push 0x10040
push 0x4aa1b8
jmp 0x4309f2
lea ecx, [ebp + 0x78]
call fcn.0040e2c3
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edx, dword [ebp + 0x78]
lea ecx, [edx + eax*2 - 2]
jmp 0x4309e7
mov ax, word [ecx]
call fcn.00437e2d
test al, al
je 0x4309eb
mov word [ecx], bx
dec ecx
dec ecx
cmp ecx, edx
jae 0x4309d6
push pe_nt_image_headers32
push 0x4ac20c
mov ecx, esi
call fcn.00418cf0
mov eax, dword [ebp + 0x78]
sub eax, dword [edi]
test eax, 0xfffffffe
jle 0x430a20
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.0041286c
add esp, 0xc
mov esi, dword [edi]
push 0x4ac204
lea ecx, [ebp + 0x78]
call fcn.00446497
push ebx
push 0x4c0fb8
lea ecx, [ebp - 0xac]
call fcn.0042efec
movzx eax, word [ebp + 0x34]
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp + 0x30], eax
call fcn.0043c957
mov ax, word [ebp + 0x34]
mov word [ebp - 0x80], ax
mov eax, esi
push ebx
lea esi, [ebp - 0xac]
call fcn.00418f79
push dword [ebp + 0x34]
push dword [edi]
call fcn.00410fb3
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.00424c19
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.00411027
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.0042ef86
lea ecx, [ebp - 0x6c]
call fcn.00437e1a
lea ecx, [ebp + 0x78]
call fcn.00437e1a
movsx eax, byte [ebp + 0x5b]
push 0x4ac2ac
push eax
push 0x4c0fb8
call fcn.00440266
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, 0x4c0fb8
call fcn.0047f8ec
cmp dword [0x4c133c], ebx
mov dword [ebp + 0x60], eax
je 0x430b22
push ebx
push 0x4c133c
call fcn.0041146f
pop ecx
pop ecx
call fcn.0043e3d6
cmp dword [0x4c1338], ebx
jle 0x430b36
mov byte [0x4bf2c0], 0xff
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov edi, eax
sub edi, 0x14
call esi
jmp 0x430b9e
call esi
mov dword [ebp + 0x78], eax
sub eax, edi
cmp eax, 1
jb 0x430b5d
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 0x430b96
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 0x430b9e
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 [0x4c1338], ebx
jg 0x430b6f
cmp dword [0x4c1338], ebx
jg 0x430b47
lea ecx, [ebp + 0x3c]
call fcn.00437e1a
lea ecx, [ebp + 0x54]
call fcn.00437e1a
push dword [ebp + 0x20]
call fcn.00437dec
pop ecx
mov ecx, 0x4c1370
call fcn.004386bb
mov ecx, 0x4c1778
call fcn.004386e9
push 0x4c0fe0
call fcn.00486b94
pop ecx
call fcn.0041140c
mov esi, 0x4ac1f8
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, 0x4c0fb8
movsw word es:[edi], word [esi]
call fcn.0041b3a1
mov esi, dword [ebp + 0x60]
lea ecx, [ebp + 0x20]
call fcn.00437e1a
lea ecx, [ebp + 0x4c]
call fcn.00437e1a
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x68
leave
ret