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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, dword [0x5190f8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
cmp edi, 0xffffffff
jne 0x100445ee
mov esi, dword [0x10182528]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov ecx, eax
sub edx, esi
sub ecx, esi
cmp eax, esi
cmovae ecx, edx
cmp ecx, 0xa6
jb 0x100449ec
or edx, 0xffffffff
lea eax, [ebx + 1]
cmp edi, 0xfffffffe
cmovne edx, edi
xor ecx, ecx
cmp eax, 6
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], edx
cmovl ecx, eax
xor ebx, ebx
mov dword [0x5190f8], ecx
mov eax, dword [0x1013cbd0]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
cmp edx, 0xffffffff
jne 0x1004462b
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 2
jmp 0x10044650
mov eax, dword [0x1013ca84]
mov eax, dword [eax]
test eax, eax
js 0x1004463b
cmp eax, 0xa
jl 0x1004463c
int3
mov eax, dword [eax*4 + 0x59e81c]
mov dword [ebp - 0x34], 3
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x30], eax
xor esi, esi
mov dword [ebp - 4], esi
nop word [eax + eax]
mov eax, dword [ebp + esi*4 - 0x3c]
cmp eax, 0xffffffff
je 0x100449d4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call dword [0x10120ea0]
mov edi, eax
test edi, edi
je 0x100449d4
mov dword [ebp - 0x10], 0
cmp esi, 1
jne 0x100446b3
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100446b3
test eax, 0xf000000
je 0x100446ae
test eax, 0xff0000
je 0x100446b3
movzx ebx, word [edi + 8]
dec ebx
mov ecx, dword [ebp + esi*4 - 0x34]
lea esi, [edi + 0x3e]
mov dword [ebp - 0xc], ecx
mov edx, esi
lea eax, [ecx - 1]
cmp eax, 4
ja 0x100446cb
add edx, dword [edi + ecx*4 + 0x22]
test ebx, ebx
jle 0x100446f0
movzx eax, word [edi + 8]
dec eax
cmp ebx, eax
cmovle eax, ebx
test eax, eax
jle 0x100446f0
nop dword [eax]
mov ecx, dword [edx + 4]
dec eax
add edx, 0xc
add edx, ecx
test eax, eax
jg 0x100446e0
mov ecx, dword [ebp - 0xc]
lea eax, [edx + 0xc]
mov edx, esi
mov dword [ebp - 0x24], eax
lea eax, [ecx - 1]
cmp eax, 4
ja 0x10044704
add edx, dword [edi + ecx*4 + 0x22]
test ebx, ebx
jle 0x10044726
movzx ecx, word [edi + 8]
dec ecx
cmp ebx, ecx
cmovle ecx, ebx
test ecx, ecx
jle 0x10044723
mov eax, dword [edx + 4]
dec ecx
add edx, 0xc
add edx, eax
test ecx, ecx
jg 0x10044716
mov ecx, dword [ebp - 0xc]
movzx edx, word [edx + 2]
lea eax, [ecx - 1]
cmp eax, 4
ja 0x10044736
add esi, dword [edi + ecx*4 + 0x22]
test ebx, ebx
jle 0x10044755
movzx ecx, word [edi + 8]
dec ecx
cmp ebx, ecx
cmovle ecx, ebx
test ecx, ecx
jle 0x10044755
mov eax, dword [esi + 4]
dec ecx
add esi, 0xc
add esi, eax
test ecx, ecx
jg 0x10044748
movzx eax, word [esi]
mov esi, 0x3c
mov edi, dword [ebp - 0x14]
cmp eax, esi
mov dword [ebp - 0x20], eax
cmovb esi, eax
cmp edx, 0x64
mov eax, 0x64
mov dword [ebp - 0x18], esi
cmova edx, eax
mov dword [ebp - 0xc], edx
cmp edi, 3
jne 0x10044864
mov eax, dword [0x59e97c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call dword [0x10120fb4]
cmp dword [ebp - 4], 0
mov ecx, dword [eax + 0x2c]
mov edi, dword [eax + 0x18]
mov eax, 0x230
mov dword [ebp - 8], ecx
mov dword [ebp - 0x48], 0x19
jne 0x100447b3
mov eax, 0xf
mov dword [ebp - 0x4c], eax
mov ecx, 0x6f
add eax, 0x3b
mov dword [ebp - 0x40], 0x7c
mov dword [ebp - 0x44], eax
mov eax, dword [0x1013cc90]
cmp dword [eax], 0
mov eax, 0x1a4
cmovne ecx, eax
lea eax, [ebp - 0x10]
or ecx, 0x6000000
push eax
push ecx
call fcn.10017c60
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10044820
mov edx, dword [ebp - 0x48]
mov ecx, edx
imul ecx, edi
push edi
lea eax, [edx + edx*4]
shl eax, 7
add ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x4c]
push ecx
push 0x280
push 0x64
push 0x3c
push eax
call fcn.1003eed0
mov esi, dword [ebp - 0x18]
add esp, 0x18
mov eax, 0x64
sub eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
mov eax, 0x3c
sar ecx, 1
sub eax, esi
add ecx, dword [ebp - 0x48]
cdq
imul ecx, edi
sub eax, edx
sar eax, 1
push edi
add ecx, dword [ebp - 0x4c]
add eax, ecx
add eax, dword [ebp - 8]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x24]
call fcn.1003efa0
mov eax, dword [0x59e97c]
jmp 0x10044997
mov eax, dword [0x1013cbc4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call dword [0x10120fb4]
cmp dword [ebp - 4], 0
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], ecx
je 0x100448a8
cmp edi, 2
jne 0x100448a1
mov esi, dword [0x10174fec]
mov edi, 0x27
add esi, 0x1aa
jmp 0x100448c8
mov esi, 0x129
jmp 0x100448c3
cmp edi, 2
jne 0x100448b7
mov edi, 0x27
lea esi, [edi + 9]
jmp 0x100448c8
mov esi, dword [0x10174ff0]
add esi, 0xb0
mov edi, 0x25
lea eax, [esi + 0x3b]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], eax
lea eax, [edi + 0x63]
mov dword [ebp - 0x40], eax
mov eax, dword [0x10174fe4]
mov dword [ebp - 0x48], edi
test eax, eax
je 0x100448eb
mov eax, dword [eax + 0x3e]
mov edx, dword [eax + 0xc]
jmp 0x10044926
mov eax, dword [ebp - 0x14]
sub eax, 0
je 0x10044906
sub eax, 1
je 0x100448ff
mov ecx, 0x72
jmp 0x1004490b
mov ecx, 0x71
jmp 0x1004490b
mov ecx, 0x30
lea eax, [ebp - 0x10]
push eax
push ecx
or ecx, 0x6000000
call fcn.10017c60
mov edi, dword [ebp - 0x48]
mov edx, eax
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 8]
test edx, edx
je 0x10044952
mov eax, dword [ebp - 0x1c]
imul ecx, edi
mov edi, dword [ebp - 8]
push edi
add eax, ecx
add eax, esi
push eax
push edi
push 0x64
lea eax, [ecx + edx]
add eax, esi
push 0x3c
push eax
call fcn.1003eed0
mov edi, dword [ebp - 0x48]
add esp, 0x18
mov esi, dword [ebp - 0x4c]
push dword [ebp - 8]
mov eax, 0x64
sub eax, dword [ebp - 0xc]
cdq
sub eax, edx
mov ecx, eax
mov eax, 0x3c
sar ecx, 1
add ecx, edi
mov edi, dword [ebp - 0x18]
imul ecx, dword [ebp - 8]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add ecx, dword [ebp - 0x1c]
add eax, ecx
add eax, esi
push eax
push dword [ebp - 0x20]
push dword [ebp - 0xc]
push edi
push dword [ebp - 0x24]
call fcn.1003efa0
mov eax, dword [0x1013cbc4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
add esp, 0x18
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call dword [0x101210f4]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call dword [0x10120e98]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100449d1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call dword [0x10120e98]
mov esi, dword [ebp - 4]
inc esi
mov dword [ebp - 4], esi
cmp esi, 2
jl 0x10044660
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10182528], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret