Function at 0x100445c0
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 0x100445fe
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 0x100449fc
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 0x1004463b
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 2
jmp 0x10044660
mov eax, dword [0x1013ca84]
mov eax, dword [eax]
test eax, eax
js 0x1004464b
cmp eax, 0xa
jl 0x1004464c
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 0x100449e4
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 0x100449e4
mov dword [ebp - 0x10], 0
cmp esi, 1
jne 0x100446c3
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100446c3
test eax, 0xf000000
je 0x100446be
test eax, 0xff0000
je 0x100446c3
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 0x100446db
add edx, dword [edi + ecx*4 + 0x22]
test ebx, ebx
jle 0x10044700
movzx eax, word [edi + 8]
dec eax
cmp ebx, eax
cmovle eax, ebx
test eax, eax
jle 0x10044700
nop dword [eax]
mov ecx, dword [edx + 4]
dec eax
add edx, 0xc
add edx, ecx
test eax, eax
jg 0x100446f0
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 0x10044714
add edx, dword [edi + ecx*4 + 0x22]
test ebx, ebx
jle 0x10044736
movzx ecx, word [edi + 8]
dec ecx
cmp ebx, ecx
cmovle ecx, ebx
test ecx, ecx
jle 0x10044733
mov eax, dword [edx + 4]
dec ecx
add edx, 0xc
add edx, eax
test ecx, ecx
jg 0x10044726
mov ecx, dword [ebp - 0xc]
movzx edx, word [edx + 2]
lea eax, [ecx - 1]
cmp eax, 4
ja 0x10044746
add esi, dword [edi + ecx*4 + 0x22]
test ebx, ebx
jle 0x10044765
movzx ecx, word [edi + 8]
dec ecx
cmp ebx, ecx
cmovle ecx, ebx
test ecx, ecx
jle 0x10044765
mov eax, dword [esi + 4]
dec ecx
add esi, 0xc
add esi, eax
test ecx, ecx
jg 0x10044758
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 0x10044874
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 0x100447c3
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.10017c70
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10044830
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.1003eee0
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.1003efb0
mov eax, dword [0x59e97c]
jmp 0x100449a7
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 0x100448b8
cmp edi, 2
jne 0x100448b1
mov esi, dword [0x10174fec]
mov edi, 0x27
add esi, 0x1aa
jmp 0x100448d8
mov esi, 0x129
jmp 0x100448d3
cmp edi, 2
jne 0x100448c7
mov edi, 0x27
lea esi, [edi + 9]
jmp 0x100448d8
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 0x100448fb
mov eax, dword [eax + 0x3e]
mov edx, dword [eax + 0xc]
jmp 0x10044936
mov eax, dword [ebp - 0x14]
sub eax, 0
je 0x10044916
sub eax, 1
je 0x1004490f
mov ecx, 0x72
jmp 0x1004491b
mov ecx, 0x71
jmp 0x1004491b
mov ecx, 0x30
lea eax, [ebp - 0x10]
push eax
push ecx
or ecx, 0x6000000
call fcn.10017c70
mov edi, dword [ebp - 0x48]
mov edx, eax
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 8]
test edx, edx
je 0x10044962
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.1003eee0
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.1003efb0
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 0x100449e1
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 0x10044670
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10182528], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret