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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x41e09c
mov eax, dword [ebp - 4]
add esp, 0xfffffef8
push ebx
push esi
push edi
mov edi, 0xb02260
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0xc], edx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1a], 0
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
lea eax, [ebp + 0x10]
push eax
call fcn.00433cb4
pop ecx
push 0x4001
push 0
lea edx, [ebp - 0x410c]
push edx
call fcn.00435974
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x41e113
lea ecx, [edi + 0x429f]
push ecx
call fcn.0040e95c
pop ecx
lea eax, [edi + 0x42de]
push eax
push dword [ebp + 0x10]
call fcn.004340cb
add esp, 8
test ax, ax
jne 0x41e13f
lea edx, [edi + 0x42df]
push edx
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00433eb2
add esp, 8
jmp 0x41e14e
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.00433e96
add esp, 8
mov dword [ebp - 0x38], 0x402d62
mov dword [ebp - 0x34], 0x40f4a5
lea edx, [edi + 0x42ea]
push edx
lea ecx, [ebp - 0x38]
push ecx
call fcn.0040208a
add esp, 8
push dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
push eax
call fcn.00402599
add esp, 8
lea edx, [edi + 0x42f7]
push edx
lea ecx, [ebp - 0x38]
push ecx
call fcn.0040208a
add esp, 8
cmp byte [0xb135a7], 0
je 0x41e1c2
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x30], 2
je 0x41e1ac
mov edx, dword [ebp - 0x30]
cmp byte [edx + 0x28], 0x12
jge 0x41e1b8
mov dword [0xf4fbb4], 1
jmp 0x41e1c2
mov dword [0xf4fbb4], 8
cmp byte [0xf255f8], 0
je 0x41e29a
mov dword [ebp - 0x40], 0x402d62
mov dword [ebp - 0x3c], 0x40f4a5
lea ecx, [edi + 0x42fd]
push ecx
lea eax, [ebp - 0x40]
push eax
call fcn.0040208a
add esp, 8
cmp byte [0xb135a7], 0
je 0x41e267
mov dword [ebp - 0x48], 0x402d62
mov dword [ebp - 0x44], 0x40f4a5
lea edx, [edi + 0x430e]
push edx
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040208a
add esp, 8
mov dword [ebp - 0x50], 0x402d62
mov dword [ebp - 0x4c], 0x40f4a5
lea eax, [edi + 0x4341]
push eax
lea edx, [ebp - 0x50]
push edx
call fcn.0040208a
add esp, 8
mov eax, dword [0xf4fbb4]
cdq
push edx
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x4353]
push eax
lea edx, [ebp - 0x50]
push edx
call fcn.0040208a
add esp, 8
jmp 0x41e39c
cmp byte [0xb135a8], 0
je 0x41e39c
mov dword [ebp - 0x58], 0x402d62
mov dword [ebp - 0x54], 0x40f4a5
lea ecx, [edi + 0x4356]
push ecx
lea eax, [ebp - 0x58]
push eax
call fcn.0040208a
add esp, 8
jmp 0x41e39c
cmp byte [0xb135a7], 0
je 0x41e372
mov dword [ebp - 0x60], 0x402d62
mov dword [ebp - 0x5c], 0x40f4a5
lea edx, [edi + 0x4373]
push edx
lea ecx, [ebp - 0x60]
push ecx
call fcn.0040208a
add esp, 8
cmp byte [0xb135a6], 0
jne 0x41e328
mov dword [ebp - 0x68], 0x402d62
mov dword [ebp - 0x64], 0x40f4e3
lea eax, [edi + 0x4398]
push eax
lea edx, [ebp - 0x68]
push edx
call fcn.0040208a
add esp, 8
mov byte [0xf255e5], 1
push 0
mov cx, word [0xb0207c]
push ecx
mov al, byte [0xf255e4]
push eax
push dword [0xf255e0]
call fcn.004121dd
add esp, 0x10
test al, al
jne 0x41e328
lea edx, [edi + 0x43ba]
push edx
call fcn.0040e95c
pop ecx
mov dword [ebp - 0x70], 0x402d62
mov dword [ebp - 0x6c], 0x40f4a5
lea ecx, [edi + 0x43d4]
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0040208a
add esp, 8
mov eax, dword [0xf4fbb4]
cdq
push edx
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x43e6]
push eax
lea edx, [ebp - 0x70]
push edx
call fcn.0040208a
add esp, 8
jmp 0x41e39c
cmp byte [0xb135a8], 0
je 0x41e39c
mov dword [ebp - 0x78], 0x402d62
mov dword [ebp - 0x74], 0x40f4a5
lea ecx, [edi + 0x43e9]
push ecx
lea eax, [ebp - 0x78]
push eax
call fcn.0040208a
add esp, 8
mov edx, dword [ebp - 0x30]
cmp byte [edx + 0x28], 0xf
setl cl
and ecx, 1
push ecx
push dword [0xf255e8]
push dword [ebp + 8]
call fcn.004171cc
add esp, 0xc
test al, al
jne 0x41e3cc
lea eax, [edi + 0x4406]
push eax
call fcn.0040e95c
pop ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0x80], 0x4032b6
lea ecx, [ebp - 8]
mov dword [ebp - 0x7c], ecx
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.004026cb
add esp, 8
lea ecx, [ebp - 0x10]
push ecx
lea eax, [ebp - 0x80]
push eax
call fcn.004026cb
add esp, 8
dec byte [0xb135a1]
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x20], eax
mov edx, dword [0xf255f4]
mov dword [ebp - 0x24], edx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x88], 0x4032b6
lea eax, [ebp - 8]
mov dword [ebp - 0x84], eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x88]
push ecx
call fcn.004026cb
add esp, 8
cmp dword [ebp - 0x18], 0xffffffff
je 0x41e5e5
mov dword [ebp - 0x90], 0x4032b6
lea eax, [ebp - 8]
mov dword [ebp - 0x8c], eax
lea edx, [ebp - 0x1a]
push edx
lea ecx, [ebp - 0x90]
push ecx
call fcn.00402609
add esp, 8
mov dword [ebp - 0x98], 0x402d62
mov dword [ebp - 0x94], 0x40f4e3
lea eax, [edi + 0x4421]
push eax
lea edx, [ebp - 0x98]
push edx
call fcn.0040208a
add esp, 8
push dword [ebp - 0x18]
lea ecx, [ebp - 0x98]
push ecx
call fcn.00402302
add esp, 8
lea eax, [edi + 0x442f]
push eax
lea edx, [ebp - 0x98]
push edx
call fcn.0040208a
add esp, 8
movsx eax, word [ebp - 0x1a]
cdq
push edx
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x4431]
push eax
lea edx, [ebp - 0x98]
push edx
call fcn.0040208a
add esp, 8
movsx ecx, word [ebp - 0x1a]
mov eax, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x34]
jle 0x41e508
lea edx, [edi + 0x4435]
push edx
call fcn.0040e95c
pop ecx
cmp word [ebp - 0x1a], 0x80
jle 0x41e551
cmp byte [0xb135a7], 0
je 0x41e551
mov dword [ebp - 0xa0], 0x402d62
mov dword [ebp - 0x9c], 0x40f4a5
lea ecx, [edi + 0x4465]
push ecx
lea eax, [ebp - 0xa0]
push eax
call fcn.0040208a
add esp, 8
mov byte [0xb135a7], 0
mov byte [0xb1359b], 0
xor ebx, ebx
mov si, word [ebp - 0x1a]
dec esi
cmp si, bx
jl 0x41e591
mov dword [ebp - 0xa8], 0x4032b6
lea eax, [ebp - 8]
mov dword [ebp - 0xa4], eax
movsx edx, bx
lea ecx, [ebp - 0x410c]
add edx, ecx
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.00402683
add esp, 8
inc ebx
cmp si, bx
jge 0x41e55d
movsx edx, word [ebp - 0x1a]
push edx
lea ecx, [ebp - 0x410c]
push ecx
push dword [ebp - 0x18]
call fcn.0041d8ef
add esp, 0xc
test al, al
jne 0x41e5b7
inc byte [0xb135a1]
jmp 0x41eb71
cmp byte [0xb0f5f8], 0
je 0x41e5cb
inc byte [0xb135a1]
jmp 0x41eb71
movsx eax, word [ebp - 0x1a]
add dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00416229
add esp, 8
jmp 0x41e41b
call fcn.0041d4d6
test al, al
jne 0x41e5f9
inc byte [0xb135a1]
jmp 0x41eb71
call fcn.00416298
mov dword [ebp - 0xb0], 0x402d62
mov dword [ebp - 0xac], 0x40f4e3
lea edx, [edi + 0x449b]
push edx
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0040208a
add esp, 8
mov eax, dword [0xf255f4]
sub eax, dword [ebp - 0x24]
cdq
push edx
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x44a9]
push eax
lea edx, [ebp - 0xb0]
push edx
call fcn.0040208a
add esp, 8
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 0x20]
cdq
push edx
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x44b4]
push eax
lea edx, [ebp - 0xb0]
push edx
call fcn.0040208a
add esp, 8
lea ecx, [edi + 0x44b8]
push ecx
lea eax, [ebp - 0xb0]
push eax
call fcn.0040208a
add esp, 8
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 0x20]
push eax
mov edx, dword [0xf255f4]
sub edx, dword [ebp - 0x24]
push edx
call fcn.0041283d
add esp, 8
cdq
push edx
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x44c8]
push eax
lea edx, [ebp - 0xb0]
push edx
call fcn.0040208a
add esp, 8
mov dword [ebp - 0xb8], 0x402d62
mov dword [ebp - 0xb4], 0x40f4e3
lea ecx, [edi + 0x44d0]
push ecx
lea eax, [ebp - 0xb8]
push eax
call fcn.0040208a
add esp, 8
cmp byte [0xb1359b], 0
je 0x41ea31
mov edx, dword [ebp - 0x30]
cmp byte [edx + 0x27], 1
je 0x41ea31
mov dword [ebp - 0xc0], 0x402d62
mov dword [ebp - 0xbc], 0x40f4a5
lea ecx, [edi + 0x44db]
push ecx
lea eax, [ebp - 0xc0]
push eax
call fcn.0040208a
add esp, 8
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc8], 0x4032b6
lea ecx, [ebp - 8]
mov dword [ebp - 0xc4], ecx
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0xc8]
push edx
call fcn.004026cb
add esp, 8
mov dword [ebp - 0xd0], 0x4032b6
lea ecx, [ebp - 8]
mov dword [ebp - 0xcc], ecx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xd0]
push edx
call fcn.004026cb
add esp, 8
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x20], eax
mov ecx, dword [0xf255f0]
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xd8], 0x4032b6
lea edx, [ebp - 8]
mov dword [ebp - 0xd4], edx
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0xd8]
push eax
call fcn.004026cb
add esp, 8
cmp dword [ebp - 0x18], 0xffffffff
je 0x41e91f
mov dword [ebp - 0xe0], 0x4032b6
lea edx, [ebp - 8]
mov dword [ebp - 0xdc], edx
lea ecx, [ebp - 0x1a]
push ecx
lea eax, [ebp - 0xe0]
push eax
call fcn.00402609
add esp, 8
mov dword [ebp - 0xe8], 0x402d62
mov dword [ebp - 0xe4], 0x40f4e3
lea edx, [edi + 0x44f5]
push edx
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0040208a
add esp, 8
push dword [ebp - 0x18]
lea eax, [ebp - 0xe8]
push eax
call fcn.00402302
add esp, 8
lea edx, [edi + 0x4501]
push edx
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0040208a
add esp, 8
movsx eax, word [ebp - 0x1a]
cdq
push edx
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x4503]
push eax
lea edx, [ebp - 0xe8]
push edx
call fcn.0040208a
add esp, 8
xor ebx, ebx
mov si, word [ebp - 0x1a]
dec esi
cmp si, bx
jl 0x41e8cb
mov dword [ebp - 0xf0], 0x4032b6
lea eax, [ebp - 8]
mov dword [ebp - 0xec], eax
movsx edx, bx
lea ecx, [ebp - 0x410c]
add edx, ecx
push edx
lea eax, [ebp - 0xf0]
push eax
call fcn.00402683
add esp, 8
inc ebx
cmp si, bx
jge 0x41e897
mov dx, word [ebp - 0x1a]
push edx
lea ecx, [ebp - 0x410c]
push ecx
push dword [ebp - 0x18]
call fcn.00416662
add esp, 0xc
test al, al
jne 0x41e8f1
inc byte [0xb135a1]
jmp 0x41eb71
cmp byte [0xb0f5f8], 0
je 0x41e905
inc byte [0xb135a1]
jmp 0x41eb71
movsx eax, word [ebp - 0x1a]
add dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00416229
add esp, 8
jmp 0x41e7b7
call fcn.00416298
mov dword [ebp - 0xf8], 0x402d62
mov dword [ebp - 0xf4], 0x40f4e3
lea edx, [edi + 0x4507]
push edx
lea ecx, [ebp - 0xf8]
push ecx
call fcn.0040208a
add esp, 8
mov eax, dword [0xf255f0]
sub eax, dword [ebp - 0x28]
cdq
push edx
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x4519]
push eax
lea edx, [ebp - 0xf8]
push edx
call fcn.0040208a
add esp, 8
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 0x20]
cdq
push edx
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x4524]
push eax
lea edx, [ebp - 0xf8]
push edx
call fcn.0040208a
add esp, 8
lea ecx, [edi + 0x4528]
push ecx
lea eax, [ebp - 0xf8]
push eax
call fcn.0040208a
add esp, 8
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 0x20]
push eax
mov edx, dword [0xf255f0]
sub edx, dword [ebp - 0x28]
push edx
call fcn.0041283d
add esp, 8
cdq
push edx
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.00402141
add esp, 0xc
lea eax, [edi + 0x4538]
push eax
lea edx, [ebp - 0xf8]
push edx
call fcn.0040208a
add esp, 8
mov dword [ebp - 0x100], 0x402d62
mov dword [ebp - 0xfc], 0x40f4e3
lea ecx, [edi + 0x4540]
push ecx
lea eax, [ebp - 0x100]
push eax
call fcn.0040208a
add esp, 8
inc byte [0xb135a1]
push dword [ebp - 0xc]
call fcn.00416967
pop ecx
mov edx, dword [ebp - 0x30]
mov byte [edx], 3
cmp byte [0xf255e5], 0
je 0x41ea80
mov dword [ebp - 0x108], 0x402d62
mov dword [ebp - 0x104], 0x40f4e3
lea ecx, [edi + 0x454b]
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.0040208a
add esp, 8
mov byte [0xf255e5], 0
mov edx, dword [ebp - 0x30]
cmp byte [edx + 0x30], 2
jne 0x41eaba
push 0
mov cx, word [0xb0207c]
push ecx
mov al, byte [0xf255e4]
push eax
push dword [0xf255e0]
call fcn.004121dd
add esp, 0x10
test al, al
jne 0x41eae4
lea edx, [edi + 0x456e]
push edx
call fcn.0040e95c
pop ecx
jmp 0x41eae4
push 0
mov cx, word [0xb0207c]
push ecx
push 0
push 0x1c200
call fcn.004121dd
add esp, 0x10
test al, al
jne 0x41eae4
lea eax, [edi + 0x4588]
push eax
call fcn.0040e95c
pop ecx
mov edx, dword [ebp - 0x30]
cmp byte [edx + 0x30], 2
je 0x41eb11
push 0
push dword [0xf255e8]
push dword [ebp + 8]
call fcn.004171cc
add esp, 0xc
test al, al
jne 0x41eb11
lea ecx, [edi + 0x45a2]
push ecx
call fcn.0040e95c
pop ecx
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x30], 2
je 0x41eb34
push dword [ebp + 8]
call fcn.00417669
pop ecx
test al, al
jne 0x41eb34
lea edx, [edi + 0x45bd]
push edx
call fcn.0040e95c
pop ecx
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 0x30], 2
je 0x41eb64
cmp byte [0xf255f8], 0
je 0x41eb64
push 1
push dword [ebp + 8]
call fcn.004177f8
add esp, 8
test al, al
jne 0x41eb64
lea eax, [edi + 0x45dd]
push eax
call fcn.0040e95c
pop ecx
push dword [ebp + 8]
call fcn.00417977
pop ecx
mov byte [ebp - 1], 1
lea edx, [ebp + 0x10]
push edx
call fcn.00433d90
pop ecx
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00433d9e
pop ecx
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret