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

Disassembly:
push 0xffffffffffffffff
push 0x4b7f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0xf2]
lea esi, [ebx + 0xf2]
test eax, eax
push edi
mov dword [esp + 0x10], esi
je 0x45bcc4
push ebx
lea ecx, [esp + 0x18]
call fcn.004adda0
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
sub esp, 0xc
and eax, ebp
lea ebp, [ebx + 0x10a]
mov ecx, ebp
mov edx, esp
sub esp, 0xc
mov dword [esp + 0x7c], 0
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, esi
mov ecx, esp
push eax
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
call fcn.0048ddb0
add esp, 0x1c
mov ecx, esi
push ebp
call fcn.00446970
test eax, eax
je 0x45b9b4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
sub esp, 0xc
and eax, ecx
mov ecx, ebp
mov edx, esp
sub esp, 0xc
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, esi
mov ecx, esp
push eax
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
call fcn.0048ddb0
add esp, 0x1c
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
sub esp, 0xc
mov ecx, ebp
and eax, edi
mov edx, esp
sub esp, 0xc
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esi]
mov edx, esp
push eax
mov dword [edx], ecx
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
call fcn.0048ddb0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x1c
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x12c
jae 0x45ba17
call esi
sub eax, edi
cmp eax, 0x12c
jb 0x45ba0c
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
sub esp, 0xc
mov edx, ebp
and eax, ecx
mov ecx, esp
sub esp, 0xc
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x28]
mov edx, esp
push eax
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
call fcn.0048ddb0
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
add esp, 0x10
mov edx, ebp
and eax, ecx
mov ecx, esp
sub esp, 0xc
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x28]
mov edx, esp
push eax
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
call fcn.0048ddb0
add esp, 0x1c
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x12c
jae 0x45babc
call esi
sub eax, edi
cmp eax, 0x12c
jb 0x45bab1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
sub esp, 0xc
mov edx, ebp
and eax, ecx
mov ecx, esp
sub esp, 0xc
mov esi, dword [edx]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov edx, dword [edx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x28]
mov edx, esp
push eax
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
call fcn.0048ddb0
mov edx, dword [ebx + 0x112]
mov eax, dword [ebx + 0xfa]
add esp, 0x1c
cmp edx, eax
je 0x45bcb3
mov eax, dword [ebx + 0x12b]
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x45bb43
mov edx, dword [eax + 0x3c]
mov ecx, dword [ebx + 0xd6]
add edx, 0x34
push ecx
push edx
call fcn.004682f0
mov ecx, dword [ebx + 0x12b]
add esp, 8
mov dword [ecx + 0x40], eax
mov eax, dword [ebx + 0x12b]
mov edx, dword [ebx + 0x7f2]
push edx
mov ecx, dword [eax + 0x40]
push ecx
call fcn.004684d0
mov edx, dword [ebx + 0x12b]
add esp, 8
mov eax, dword [edx + 0x40]
mov esi, dword [eax + 0x48]
test esi, esi
je 0x45bb79
mov ecx, 0xc
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [0x4d6de4]
mov edx, dword [ecx + 0x8ab]
movsx eax, byte [edx]
sub eax, 0
je 0x45bbbc
dec eax
jne 0x45bbd1
mov eax, dword [ebx + 0x7ee]
mov eax, dword [eax + 0x1e]
test eax, eax
je 0x45bbd1
mov eax, dword [eax]
test eax, eax
je 0x45bbab
lea ecx, [esp + 0x28]
push eax
push ecx
jmp 0x45bbcb
mov eax, dword [ebx + 0x80c]
lea edx, [esp + 0x28]
add eax, 4
push eax
push edx
jmp 0x45bbcb
mov eax, dword [ebx + 0x80c]
add eax, 4
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebx + 0x112]
mov edi, dword [ebx + 0xfa]
sub eax, edi
mov ecx, dword [ebx + 0x7f2]
cdq
xor eax, edx
mov dword [esp + 0x48], ecx
sub eax, edx
add eax, 0xa
push eax
call fcn.004970a0
mov edx, dword [esp + 0x14]
mov esi, eax
push esi
push ebp
push edx
call fcn.00481390
mov edx, dword [ebx + 0x12b]
mov ecx, dword [ebx + 0x7f2]
push 1
lea eax, [esp + 0x3c]
push esi
push eax
mov eax, dword [edx + 0x40]
push ecx
push eax
call fcn.004687e0
push esi
call fcn.00496fcb
mov eax, dword [ebx + 0x12b]
add esp, 0x28
xor cl, cl
mov esi, dword [eax + 0x54]
test esi, esi
jle 0x45bc57
mov edx, dword [ebx + 0x7f2]
mov ebp, dword [eax + 0x5c]
mov edi, esi
cmp dword [ebp], edx
jne 0x45bc4d
mov cl, 1
add ebp, 4
dec edi
jne 0x45bc46
test cl, cl
jne 0x45bca9
inc esi
mov dword [eax + 0x54], esi
mov eax, dword [ebx + 0x12b]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x54]
cmp edx, ecx
jle 0x45bc93
add ecx, 0xa
mov dword [eax + 0x58], ecx
mov eax, dword [ebx + 0x12b]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
shl ecx, 2
push ecx
push edx
call fcn.00497980
mov ecx, dword [ebx + 0x12b]
add esp, 8
mov dword [ecx + 0x5c], eax
mov eax, dword [ebx + 0x12b]
mov ecx, dword [ebx + 0x7f2]
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x5c]
mov dword [eax + edx*4 - 4], ecx
mov edx, dword [esp + 0x10]
mov dword [edx], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call fcn.004ade12
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 4