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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x1003e620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
imul eax, eax, 0x136c
push edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x60], eax
cmp esi, eax
ja 0x1000dca7
nop
xor edi, edi
cmp esi, 0x3efed
ja 0x1000d9c5
je 0x1000d9ad
cmp esi, 0xeee3
ja 0x1000d8f7
je 0x1000dcce
cmp esi, 0xa3
ja 0x1000d882
je 0x1000d86a
mov eax, esi
sub eax, 0x34
je 0x1000dcbb
sub eax, 0x53
jne 0x1000dc90
mov dword [ebp - 0x5c], edi
cmp ebx, edi
je 0x1000d8ed
lea eax, [ebx + 0x24]
push 0x98
push eax
call fcn.100020b0
add esp, 8
cmp eax, edi
jne 0x1000d8ed
cmp dword [ebx + 0x18], edi
je 0x1000dc90
mov edi, 0x2f
mov edi, edi
mov eax, edi
sub eax, 0x2d
je 0x1000d84c
dec eax
je 0x1000d745
dec eax
jne 0x1000d858
mov ecx, dword [ebx]
push ecx
call fcn.10006180
mov dword [ebp - 0x38], eax
jmp 0x1000d855
cmp byte [ebx + 0x20], 0
je 0x1000d7a3
xor esi, esi
cmp dword [ebx + 0x1c], esi
jbe 0x1000d79f
mov edx, dword [ebx + 0x18]
cmp dword [edx + esi*4], 0
lea eax, [edx + esi*4]
je 0x1000d799
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0x63
mov dword [ebp - 0x54], eax
call fcn.100059a0
add esp, 0xc
test eax, eax
je 0x1000d799
push str.MCH_Counter_2_Threshold
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
add esp, 0x18
inc esi
cmp esi, dword [ebx + 0x1c]
jb 0x1000d752
mov byte [ebx + 0x20], 0
xor esi, esi
cmp dword [ebx + 0x1c], esi
jbe 0x1000d858
mov edi, edi
mov eax, dword [ebx + 0x18]
cmp dword [eax + esi*4], 0
lea eax, [eax + esi*4]
je 0x1000d840
mov ecx, dword [eax]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x58]
push edx
push 0x67
push 0
push eax
push 0
mov dword [ebp - 0x58], ecx
call fcn.1000c260
add esp, 0x14
test eax, eax
je 0x1000d7ff
push str.icudt51l_confusables.cfu
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
add esp, 0x18
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx + esi*4]
mov eax, dword [ebp - 0x38]
push edx
push eax
call fcn.10007820
add esp, 8
test eax, eax
je 0x1000d836
push str.Inf_input_to_percentile__
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
add esp, 0x18
mov ecx, dword [ebx + 0x18]
mov dword [ecx + esi*4], 0
inc esi
cmp esi, dword [ebx + 0x1c]
jb 0x1000d7b0
jmp 0x1000d858
mov edx, dword [ebx + 0x18]
push edx
call fcn.100271f9
add esp, 4
dec edi
cmp edi, 0x2c
ja 0x1000d720
mov esi, dword [ebp - 0x3c]
jmp 0x1000dc90
push 4
lea eax, [ebp - 0x2c]
push 0x10035f94
push eax
call fcn.100273c0
add esp, 0xc
jmp 0x1000dc90
cmp esi, 0x77b5
je 0x1000d8af
cmp esi, 0x9089
jne 0x1000dc90
mov cx, word [0x10035f90]
mov dl, byte [0x10035f92]
mov word [ebp - 0x29], cx
mov byte [ebp - 0x27], dl
jmp 0x1000dc90
jbe 0x1000d91a
int1
add al, byte [eax - 0x80]
jnp 0x1000d8d8
add byte [ecx + 0x33], dh
idiv byte [ecx]
jae 0x1000d8cf
jbe 0x1000d8db
xor edi, edi
mov eax, dword [ebx + 0x14]
mov ecx, dword [edi + eax]
push ecx
call fcn.100271f9
inc esi
add esp, 4
add edi, 0x10
cmp esi, dword [ebx + 0x10]
jb 0x1000d8c3
adc byte [edx - 0x18], dh
mov edx, dword [ebx + 0x14]
push edx
call fcn.100271f9
push ebx
call fcn.100271f9
add esp, 8
mov esi, 0x77b5
jmp 0x1000dc90
cmp esi, 0x2403b
ja 0x1000d973
je 0x1000d95b
cmp esi, 0x1206f
je 0x1000d94d
cmp esi, 0x1b055
jne 0x1000dc90
push 2
lea eax, [ebp - 0x26]
push 0x10035f8c
push eax
call fcn.100273c0
push 1
lea ecx, [ebp - 0x2c]
push 0x10034410
push ecx
call fcn.10027280
push 3
lea edx, [ebp - 0x24]
push 0x10035f88
push edx
call fcn.10026900
add esp, 0x24
jmp 0x1000dc90
mov eax, 0x73
mov word [ebp - 0x27], ax
jmp 0x1000dc90
push 5
lea ecx, [ebp - 0x22]
push str.imeA
push ecx
call fcn.10026900
add esp, 0xc
jmp 0x1000dc90
cmp esi, 0x2d021
je 0x1000d995
cmp esi, 0x36007
jne 0x1000dc90
mov edx, 0x6c
mov word [ebp - 0x1b], dx
jmp 0x1000dc90
push 4
lea eax, [ebp - 0x1e]
push 0x10035f7c
push eax
call fcn.100273c0
add esp, 0xc
jmp 0x1000dc90
push 3
lea ecx, [ebp - 0x1a]
push 0x10035e5c
push ecx
call fcn.10026900
add esp, 0xc
jmp 0x1000dc90
cmp esi, 0x74f51
ja 0x1000dc20
je 0x1000dab9
cmp esi, 0x59f9f
ja 0x1000da4d
je 0x1000da2c
cmp esi, 0x47fd3
je 0x1000d9fe
cmp esi, 0x50fb9
jne 0x1000dc90
mov byte [ebp - 0x13], 0
jmp 0x1000dc90
push 2
lea eax, [ebp - 0x17]
mov edx, 0x69
push 0x10035f78
push eax
mov word [ebp - 0x18], dx
call fcn.10026900
mov ecx, 0x65
add esp, 0xc
mov word [ebp - 0x16], cx
mov byte [ebp - 0x14], 0x6b
jmp 0x1000dc90
push 7
lea eax, [ebp - 0x12]
mov edx, 0x65
push str.rnel32
push eax
mov word [ebp - 0x13], dx
call fcn.10026900
add esp, 0xc
jmp 0x1000dc90
cmp esi, 0x62f85
je 0x1000da75
cmp esi, 0x6bf6b
jne 0x1000dc90
mov dword [ebp - 0x40], edi
mov dword [0x100406dc], edi
mov dword [0x100406d8], edi
jmp 0x1000dc90
mov dl, byte [0x10035f6e]
mov ax, word [0x10034ae8]
mov cx, word [0x10035f6c]
mov byte [ebp - 0xa], dl
lea edx, [ebp - 0x14]
mov word [ebp - 0xa], ax
push edx
lea eax, [ebp - 0x2c]
mov word [ebp - 0xc], cx
mov cl, byte [0x10034aea]
push eax
push 0x8a
mov byte [ebp - 8], cl
call fcn.10001f60
add esp, 0xc
mov dword [ebp - 0x50], eax
jmp 0x1000dc90
cmp ebx, edi
jne 0x1000db1d
mov esi, 0x1f
cmp esi, 0x1f
je 0x1000dae8
cmp esi, 0x573
jne 0x1000db0f
or ebp, dword [ecx]
mov esi, 0x458b3eaf
rcr byte [edi + 0x5e], 0x5b
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
push 0x10035f50
push 0x1003455f
push 0
push 0x1003455f
push str.HG_Util
push 2
call fcn.100021f0
add esp, 0x18
mov dword [ebp - 0x40], 0xffffffff
add esi, 0x554
cmp esi, 0xaa8
jbe 0x1000dac2
cmp dword [0x100406dc], 0
jne 0x1000dbaf
mov esi, 0xf4
mov edi, 1
mov eax, esi
sub eax, 0xf4
je 0x1000db9f
sub eax, edi
je 0x1000db8e
sub eax, edi
jne 0x1000dba5
cmp dword [0x100406d8], eax
je 0x1000db69
push 0x100406d0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [ebp - 0x68]
fdiv qword [0x10034da0]
fstp qword [0x100406c8]
jmp 0x1000dba5
push 0
push 0x6c
call fcn.100078d0
fld qword [0x10035f48]
fstp qword [0x100406c8]
add esp, 8
mov dword [0x100406d0], eax
mov dword [0x100406d4], edx
jmp 0x1000dba5
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [0x100406d8], eax
jmp 0x1000dba5
mov dword [0x100406dc], edi
add esi, edi
cmp esi, 0xf7
jb 0x1000db34
cmp dword [0x100406d8], 0
je 0x1000dbc4
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x1000dc06
mov edi, dword [ebp - 0x50]
mov esi, 0xf4
xor ecx, ecx
mov edi, edi
mov eax, esi
sub eax, 0xf4
je 0x1000dbf5
dec eax
je 0x1000dbea
dec eax
jne 0x1000dbfd
mov eax, dword [ebp - 0x48]
or dword [ebp - 0x34], eax
or dword [ebp - 0x30], ecx
jmp 0x1000dbfd
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
jmp 0x1000dbfd
lea eax, [ebp - 0x48]
push eax
call edi
xor ecx, ecx
inc esi
cmp esi, 0xf7
jb 0x1000dbd0
mov ecx, dword [0x100406d0]
sub dword [ebp - 0x34], ecx
mov edx, dword [0x100406d4]
mov esi, dword [ebp - 0x3c]
sbb dword [ebp - 0x30], edx
jmp 0x1000dc90
cmp esi, 0x8ff03
ja 0x1000dc88
je 0x1000dc80
cmp esi, 0x7df37
je 0x1000dc5b
cmp esi, 0x86f1d
jne 0x1000dc90
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
push 0
push 0xf4240
push eax
push edi
call fcn.10027c70
imul eax, eax, 0xf4240
sub edi, eax
mov dword [ebx + 4], edi
jmp 0x1000dc90
fild qword [ebp - 0x34]
fdiv qword [0x100406c8]
call fcn.10027bf6
push edi
push 0xf4240
push edx
push eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
call fcn.10027c70
mov dword [ebx], eax
jmp 0x1000dc90
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
jmp 0x1000dc90
cmp esi, 0x98ee9
je 0x1000dca7
mov edx, dword [ebp + 0xc]
imul edx, edx, 0xe2
add esi, edx
mov dword [ebp - 0x3c], esi
cmp esi, dword [ebp - 0x60]
jbe 0x1000d6a0
mov eax, dword [ebp - 0x4c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x5c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027670
mov esp, ebp
pop ebp
ret