Function at 0x494c5c
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
call fcn.00403fd8
mov eax, dword [ebp - 0xc]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x49562e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x1424], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0x14]
mov byte [eax + 0x1404], dl
mov eax, dword [ebp - 4]
mov byte [eax + 0x1368], 0
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x329], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.0048b598
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x495606
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00494170
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x308]
test edi, edi
je 0x494d16
mov eax, edi
mov dl, 1
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x308], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1426], 2
jne 0x494d64
cmp byte [esi], 0
je 0x494d64
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x494d64
mov ecx, 0x495648
mov dl, 0x14
mov eax, dword [ebp - 4]
call fcn.0048dc38
mov eax, dword [ebp - 4]
mov dword [eax + 0x13f8], 0
mov dword [eax + 0x13fc], 0
mov eax, dword [ebp - 0xc]
call fcn.004092d8
mov byte [esi], 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x489830]
call fcn.00489be8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x308], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2c8]
mov eax, ebx
call fcn.0048e074
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov byte [eax + 0x310], 2
mov byte [eax + 0x300], 0
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x313]
mov byte [eax + 0x313], dl
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x318]
mov dword [eax + 0x318], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x142c]
mov dword [eax + 0xc8], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x30], edx
mov dword [eax + 0x2c], 0x4973b8
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x8c]
mov dword [eax + 0x8c], ecx
mov ecx, dword [edx + 0x90]
mov dword [eax + 0x90], ecx
mov edx, dword [ebp - 4]
mov dword [eax + 0x28], edx
mov dword [eax + 0x24], 0x4974fc
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0xf8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xfc], edx
xor edx, edx
push ebp
push 0x4955fc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
call fcn.004091e0
test al, al
jne 0x494e52
mov eax, dword [ebp - 0xc]
call fcn.004575c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
call fcn.004092f0
xor eax, eax
push ebp
push 0x494e7e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x22
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x40f680]
call fcn.00413cb8
mov dword [ebp - 0x20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x494ebe
cmp byte [ebp + 0x14], 1
je 0x494ef4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xa
je 0x494ef4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0x10
je 0x494ef4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xb
je 0x494ef4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xd
jne 0x494f2c
mov byte [ebp + 0x14], 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004968d4
test al, al
je 0x494f28
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x494f28
mov eax, dword [ebp - 0x18]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
jne 0x494f2c
mov byte [ebp + 0x14], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x494f4c
mov eax, dword [ebp - 4]
mov byte [eax + 0x1424], 2
call fcn.004036bc
jmp 0x495606
cmp byte [ebp + 0x14], 0
je 0x494f8c
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00494388
test al, al
jne 0x494ffe
mov eax, dword [ebp - 4]
mov byte [eax + 0x1424], 2
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4914ac]
call fcn.0040badc
call fcn.0040361c
jmp 0x494ffe
mov eax, dword [0x54c5c8]
mov eax, dword [eax]
call fcn.0043b300
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x140c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1408]
mov eax, dword [ebp - 4]
call fcn.00499080
mov edx, dword [ebp - 4]
mov ebx, dword [edx + 0x308]
mov dword [ebx + 0xf0], eax
mov eax, ebx
mov dl, 1
call fcn.0048c630
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0048f01c
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.0048e1b8
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00403e2c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00496d38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x495016
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
je 0x495020
call fcn.004036bc
jmp 0x495606
mov dl, 0xe
mov eax, dword [ebp - 4]
call fcn.004974a4
test al, al
je 0x495038
call fcn.004036bc
jmp 0x495606
mov eax, dword [ebp - 4]
cmp word [eax + 0x112], 0
je 0x495069
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x110]
mov dword [eax + 0x110], ecx
mov ecx, dword [edx + 0x114]
mov dword [eax + 0x114], ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x495089
mov eax, dword [ebp - 4]
mov byte [eax + 0x1424], 2
call fcn.004036bc
jmp 0x495606
cmp byte [esi], 0
je 0x4950e3
cmp dword [ebp - 0x20], 0
je 0x4950e3
cmp byte [esi], 0
je 0x4950cc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1410], 0
je 0x4950cc
mov eax, dword [ebp - 0x20]
call fcn.0041371c
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1414]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 0x20]
call fcn.0041376c
mov eax, dword [ebp - 0x20]
call fcn.0041371c
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13f8], eax
mov dword [ecx + 0x13fc], edx
cmp byte [esi], 0
je 0x495203
mov eax, dword [ebp - 4]
cmp dword [eax + 0x13fc], 0
jne 0x4950ff
cmp dword [eax + 0x13f8], 0
je 0x495203
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x141e]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x141e], 0
xor eax, eax
push ebp
push 0x4951fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push dword [eax + 0x13fc]
push dword [eax + 0x13f8]
lea eax, [ebp - 0x2c]
call fcn.00408e7c
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x49568c
call fcn.00403e70
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004938d8
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x1a5
jne 0x495184
mov eax, dword [ebp - 4]
mov byte [eax + 0x1424], 2
call fcn.004036bc
call fcn.004036bc
jmp 0x495606
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x15e
je 0x4951d0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x4951d0
mov ecx, 0x495648
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.0048dc38
mov eax, dword [ebp - 4]
mov dword [eax + 0x13f8], 0
mov dword [eax + 0x13fc], 0
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.0041376c
push 0
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00496764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49521a
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x21]
mov byte [eax + 0x141e], dl
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0x13f8], 0
mov dword [eax + 0x13fc], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x495232
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
je 0x49523c
call fcn.004036bc
jmp 0x495606
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x49525c
mov eax, dword [ebp - 4]
mov byte [eax + 0x1424], 2
call fcn.004036bc
jmp 0x495606
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2e0], edx
mov dword [eax + 0x2dc], 0x4941f0
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov edx, 0x49569c
call fcn.00403e70
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004938d8
mov dl, 0xe
mov eax, dword [ebp - 4]
call fcn.004974a4
test al, al
je 0x4952a7
call fcn.004036bc
jmp 0x495606
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x4952bd
call fcn.004036bc
jmp 0x495606
mov eax, dword [ebp - 4]
test byte [eax + 0x2e9], 2
jne 0x4952d9
cmp byte [ebp + 0x14], 0
jne 0x4952d9
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00497a58
mov eax, dword [ebp - 4]
cmp word [eax + 0x138e], 0
je 0x4952f8
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1390]
call dword [ebx + 0x138c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xf8]
mov dword [eax + 0xf8], ecx
mov ecx, dword [edx + 0xfc]
mov dword [eax + 0xfc], ecx
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x32c], eax
cmp dword [ebp - 0x20], 0
je 0x495338
lea eax, [ebp - 0x20]
call fcn.004555e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x495361
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x495361
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [ebp - 0xc]
call fcn.0048c180
mov eax, dword [ebp - 4]
cmp word [eax + 0x1396], 0
je 0x495380
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1398]
call dword [ebx + 0x1394]
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x32c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x32c], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x308]
mov ecx, dword [edx + 0x108]
mov dword [eax + 0xf8], ecx
mov ecx, dword [edx + 0x10c]
mov dword [eax + 0xfc], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
xor ecx, ecx
xor edx, edx
call fcn.0048da08
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x4953ff
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x4953ff
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0xc7
jge 0x4953ff
mov dx, 5
mov eax, dword [ebp - 4]
call fcn.0048e164
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x4954b2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x4954b2
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0xc7
jge 0x4954b2
mov edx, 0x2710
mov eax, dword [ebp - 4]
call fcn.0048c93c
mov eax, dword [ebp - 4]
mov byte [eax + 0x328], 1
xor edx, edx
push ebp
push 0x4954ab
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x49546a
push 0
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00496764
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0xc7
jge 0x49548b
test ax, ax
je 0x49548b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x495458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4954b2
mov eax, dword [ebp - 4]
call fcn.0048c98c
mov eax, dword [ebp - 4]
mov byte [eax + 0x328], 0
ret
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495606
cmp dword [ebp - 0x20], 0
je 0x4954d1
lea eax, [ebp - 0x20]
call fcn.004555e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
je 0x4954ef
push 0
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00496764
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1424], 0
jne 0x495541
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x12c
jle 0x495541
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x258
jge 0x495541
mov eax, dword [ebp - 0xc]
call fcn.004575f4
cmp edx, dword [ebp + 0xc]
jne 0x495537
cmp eax, dword [ebp + 8]
jne 0x495537
mov eax, dword [ebp - 4]
mov word [eax + 0x2d8], 0xc8
jmp 0x495541
mov eax, dword [ebp - 4]
mov byte [eax + 0x1424], 2
cmp byte [ebp - 0x19], 0
jne 0x495566
mov eax, dword [ebp - 4]
cmp word [eax + 0x1396], 0
je 0x495566
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1398]
call dword [ebx + 0x1394]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x308]
test esi, esi
je 0x495587
mov eax, esi
mov dl, 1
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x308], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x96
jne 0x4955d4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x4955d4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x4955d4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x4955d4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1368], 0
jne 0x4955d4
mov cl, 1
mov edx, 0x4956ac
mov eax, dword [ebp - 4]
call fcn.004965e8
cmp byte [ebp - 0x19], 0
je 0x4955fb
mov eax, dword [ebp - 4]
cmp word [eax + 0x13b6], 0
je 0x4955fb
mov ebx, dword [ebp - 4]
mov cl, 0xe
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x13b8]
call dword [ebx + 0x13b4]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495635
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00403bcc
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00403bcc
ret