Function at 0x100253b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x44], 0
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x58], eax
movzx eax, word [ecx]
xor ecx, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], ebx
push edi
mov di, word [ebp - 0x44]
cmp cx, ax
jae 0x100259e5
mov edx, eax
mov dword [ebp - 0x40], edx
nop
cmp byte [ebx + 0x4a], 0xc
movzx ecx, di
movzx eax, dx
jae 0x100259e5
mov ebx, dword [esi + 0xbc]
mov edi, dword [esi + 0xb8]
cdq
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x34], eax
cmp ebx, dword [esi + 0xc4]
ja 0x100254da
jb 0x10025442
cmp edi, dword [esi + 0xc0]
jae 0x100254da
cdq
mov ecx, edi
sub ecx, eax
mov byte [ebp - 0x27], 1
mov eax, dword [esi + 0xbc]
sbb ebx, edx
mov dword [ebp - 0x30], edi
add ecx, dword [ebp - 0x2c]
mov dl, byte [ebp - 0x27]
adc ebx, dword [ebp - 0x4c]
mov byte [ebp - 0x21], dl
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
cmp ebx, dword [esi + 0xc4]
jb 0x10025505
mov edx, dword [esi + 0xc0]
ja 0x10025487
cmp ecx, edx
jbe 0x10025505
mov dword [ebp - 0x3c], eax
mov al, byte [ebp - 0x27]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], edi
cmp edx, dword [esi + 0xb0]
jne 0x100254b5
mov edi, dword [esi + 0xb4]
cmp dword [esi + 0xc4], edi
mov edi, dword [ebp - 0x30]
je 0x10025505
mov eax, dword [esi + 0xbc]
mov ecx, edx
mov dl, byte [ebp - 0x27]
mov ebx, dword [esi + 0xc4]
mov edi, dword [esi + 0xb8]
mov byte [ebp - 0x21], dl
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
jmp 0x10025502
mov ecx, dword [esi + 0xb4]
mov ebx, dword [ebp - 0x4c]
mov edi, dword [esi + 0xb0]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
cdq
sub ecx, eax
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x3c]
sbb ebx, edx
add ecx, edi
adc ebx, eax
mov dword [ebp - 0x30], edi
mov edx, dword [esi + 0xa0]
mov dword [ebp - 0x4c], edx
mov edx, dword [esi + 0xa4]
mov dword [ebp - 0x2c], edx
cmp edi, dword [esi + 0xa0]
jne 0x1002597e
cmp eax, edx
jne 0x1002597e
mov dword [ebp - 0x34], 0
mov edx, dword [esi + 0x74]
lea edi, [esi + 0x70]
mov eax, dword [edi]
cmp ebx, edx
jb 0x10025548
ja 0x10025544
cmp ecx, eax
jbe 0x10025548
mov ecx, eax
mov ebx, edx
mov edx, dword [esi + 0x8c]
mov eax, dword [esi + 0x88]
cmp ebx, edx
jb 0x10025562
ja 0x1002555e
cmp ecx, eax
jbe 0x10025562
mov ecx, eax
mov ebx, edx
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x58]
mov eax, dword [edx + 0xa98]
sub eax, dword [edx + 0xaa8]
mov edx, dword [edx + 0xa9c]
sbb edx, dword [esi + 0xaac]
add eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x54]
adc edx, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], edx
cmp ebx, edx
jb 0x1002559e
ja 0x10025599
cmp ecx, eax
jbe 0x1002559e
mov ecx, eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
push dword [ebp - 0x64]
mov edx, dword [ebp - 0x30]
sub ecx, edx
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x28]
mov word [ebp - 0x2c], cx
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push dword [ebp - 0x3c]
push edx
call fcn.10024e40
mov ax, word [ebp - 0x44]
xor cl, cl
add ax, word [ebp - 0x28]
add esp, 0x18
mov word [ebp - 0x44], ax
mov edx, 1
mov ax, word [ebp - 0x2c]
test ax, ax
movzx ecx, cl
movzx eax, ax
cmove ecx, edx
cdq
mov ebx, eax
mov dword [ebp - 0x2c], ecx
add ebx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ebx
adc edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], edx
cmp ebx, dword [edi]
jne 0x100256d5
cmp edx, dword [edi + 4]
jne 0x100256d5
test byte [esi + 0x3a], 0x20
je 0x100256d1
cmp byte [esi + 0x42], 0
jl 0x100256d1
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0xc]
mov ecx, 0xf4240
push dword [0x10059a9c]
mov ebx, dword [0x10059a98]
mul ecx
push ebx
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x40], eax
call fcn.1004a350
push dword [0x10059a9c]
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [ebp - 0x10]
xor edi, edi
mul edx
push ebx
add edi, eax
adc ecx, edx
push ecx
push edi
call fcn.1004a2e0
push dword [0x10059a9c]
mov edi, eax
mov ebx, edx
push dword [0x10059a98]
push dword [ebp - 0x40]
push dword [ebp - 0x4c]
call fcn.1004a2e0
add edi, 0
mov dword [esi + 0x290], edi
adc ebx, eax
mov al, byte [esi + 0x42]
or al, 0x80
mov dword [esi + 0x294], ebx
mov byte [esi + 0x42], al
mov cl, al
test byte [0x10059abc], 4
je 0x100256cb
push ecx
push esi
mov edx, 0x1004ce68
call fcn.1000d0b0
add esp, 8
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov byte [ebp - 0x2c], 1
cmp ebx, dword [esi + 0x88]
jne 0x100257b8
cmp edx, dword [esi + 0x8c]
jne 0x100257b8
test byte [esi + 0x42], 0x40
jne 0x100257b4
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x14]
mov ecx, 0xf4240
push dword [0x10059a9c]
mov ebx, dword [0x10059a98]
mul ecx
push ebx
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x40], eax
call fcn.1004a350
push dword [0x10059a9c]
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [ebp - 0x18]
xor edi, edi
mul edx
push ebx
add edi, eax
adc ecx, edx
push ecx
push edi
call fcn.1004a2e0
push dword [0x10059a9c]
mov edi, eax
mov ebx, edx
push dword [0x10059a98]
push dword [ebp - 0x40]
push dword [ebp - 0x4c]
call fcn.1004a2e0
add edi, 0
mov dword [esi + 0x280], edi
adc ebx, eax
mov al, byte [esi + 0x42]
or al, 0x40
mov dword [esi + 0x284], ebx
mov byte [esi + 0x42], al
mov cl, al
test byte [0x10059abc], 4
je 0x10025797
push ecx
push esi
mov edx, 0x1004ce68
call fcn.1000d0b0
add esp, 8
mov ecx, dword [esi + 0x28]
mov edx, esi
push 0
push 1
add ecx, 0xa70
call fcn.1002fab0
mov edx, dword [ebp - 0x38]
add esp, 8
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 0x2c], 1
cmp ebx, dword [ebp - 0x5c]
jne 0x100258a3
cmp edx, dword [ebp - 0x60]
jne 0x100258a3
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x40], eax
test byte [eax + 0xd9], 0x10
jne 0x1002589f
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x1c]
mov ecx, 0xf4240
push dword [0x10059a9c]
mov ebx, dword [0x10059a98]
mul ecx
push ebx
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], eax
call fcn.1004a350
push dword [0x10059a9c]
mov ecx, eax
mov edx, 0xf4240
mov eax, dword [ebp - 0x20]
xor edi, edi
mul edx
push ebx
add edi, eax
adc ecx, edx
push ecx
push edi
call fcn.1004a2e0
push dword [0x10059a9c]
mov edi, eax
mov ebx, edx
push dword [0x10059a98]
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
call fcn.1004a2e0
mov ecx, dword [ebp - 0x40]
add edi, 0
adc ebx, eax
mov al, byte [ecx + 0xd9]
or al, 0x10
mov dword [ecx + 0xc68], edi
mov dword [ecx + 0xc6c], ebx
mov dl, al
mov byte [ecx + 0xd9], al
test byte [0x10059aba], 0x10
je 0x10025886
push edx
push ecx
mov edx, 0x1004c640
call fcn.1000d0b0
add esp, 8
mov ecx, dword [esi + 0x28]
mov edx, 0x10
add ecx, 0xa70
call fcn.1002f8f0
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 0x2c], 1
cmp byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x34]
je 0x100258de
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], edx
test eax, eax
je 0x100258de
cmp ebx, dword [eax]
jne 0x100258de
cmp edx, dword [eax + 4]
jne 0x100258de
mov ecx, ebx
add ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
adc eax, edx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], eax
mov eax, dword [ebp - 0x34]
cmp dword [esi + 0xb4], edx
ja 0x1002591f
jb 0x100258f0
cmp dword [esi + 0xb0], ebx
jae 0x1002591f
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], edx
test eax, eax
je 0x1002591f
cmp ebx, dword [eax]
jne 0x1002591f
cmp edx, dword [eax + 4]
jne 0x1002591f
mov ecx, ebx
add ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
adc eax, edx
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], eax
mov edi, dword [esi + 0xa4]
mov eax, dword [esi + 0xa0]
cmp edi, edx
ja 0x10025958
jb 0x10025935
cmp eax, ebx
jae 0x10025958
mov ecx, ebx
sub ecx, eax
mov eax, edx
sbb eax, edi
mov edi, dword [ebp - 0x58]
add dword [edi + 0xaa8], ecx
adc dword [edi + 0xaac], eax
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], edx
cmp byte [ebp - 0x2c], 0
mov di, word [ebp - 0x44]
jne 0x100259e5
mov eax, dword [ebp - 0x68]
movzx eax, word [eax]
mov edx, eax
mov dword [ebp - 0x40], edx
cmp di, ax
jae 0x100259e5
mov ebx, dword [ebp - 0x64]
jmp 0x10025400
xor edx, edx
xor edi, edi
cmp edx, dword [esi + 0xd4]
jae 0x100259bd
mov eax, dword [esi + 0xd0]
inc edx
add eax, edi
add edi, 0x10
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10025532
mov esi, dword [ebp - 0x3c]
cmp dword [eax + 4], esi
mov esi, dword [ebp - 0x54]
jb 0x10025982
ja 0x100259b8
mov esi, dword [ebp - 0x30]
cmp dword [eax], esi
mov esi, dword [ebp - 0x54]
jb 0x10025982
mov dword [ebp - 0x34], eax
jmp 0x100259ca
xor eax, eax
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10025532
mov edx, dword [eax]
mov eax, dword [eax + 4]
cmp ebx, eax
jb 0x100259dd
ja 0x100259d9
cmp ecx, edx
jbe 0x100259dd
mov ecx, edx
mov ebx, eax
lea edi, [esi + 0x70]
jmp 0x10025548
mov ecx, esi
call fcn.10026730
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov word [eax], di
pop edi
pop esi
pop ebx
call fcn.100483f7
mov esp, ebp
pop ebp
ret