Function at 0x1000a0cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
push edi
push 2
pop esi
mov ebx, ecx
mov dword [esp + 0x14], 0
push esi
lea ecx, [esp + 0x48]
mov edi, edx
call fcn.1000ecc1
xor edx, edx
mov dword [esp + 0xc], edx
jmp 0x1000a10d
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x2c], 1
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 1
jl 0x1000a0fd
mov dword [esp + 0xc], edx
jmp 0x1000a12a
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
or dword [eax + ecx*4], 0xffffffff
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1000a11a
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], edx
je 0x1000a157
mov dword [esp + 0x20], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x20], 0x7a4a12b5
mov dword [esp + 0x20], edx
jmp 0x1000a2e3
mov dword [esp + 0xc], edx
mov dword [esp + 0xc], edx
jmp 0x1000a171
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x3c], 0x11b55e97
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1000a161
cmp dword [esp + 0x2c], edx
je 0x1000a236
mov dword [esp + 0x20], 0xa6e483bb
mov dword [esp + 0xc], 0xfffffffa
mov dword [esp + 0x1c], 0xe630971c
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0x1d
jl 0x1000a2c2
mov dword [esp + 0x10], 0x5c6f
xor ecx, ecx
mov dword [esp + 0x1c], 0xfffffff8
inc ecx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
sub ecx, eax
je 0x1000a1cf
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x2c], 1
sbb eax, eax
inc eax
cmp eax, 1
mov eax, dword [esp + 0x10]
sbb edx, edx
imul eax, dword [esp + 0x14]
xor ecx, ecx
inc edx
cmp eax, edx
setl cl
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esp + 0x10]
neg ecx
sbb ecx, ecx
neg ecx
cmp ecx, esi
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
setl cl
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x1d
jge 0x1000a1a8
jmp 0x1000a2c0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], edx
mov byte [esp + 0x1b], dl
cmp byte [esp + 0x1b], dl
je 0x1000a262
push edx
push 0x1585
push 0x1c53
push 0x1756
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov dword [esp + 0xc], 0xffff
mov ecx, dword [esp + 0xc]
imul ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
neg eax
cmp ecx, eax
jle 0x1000a29b
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
cmp eax, dword [ecx + 4]
setg dl
cmp edx, dword [esp + 0x14]
jg 0x1000a29b
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x10]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
xor edx, edx
mov byte [esp + 0x1b], dl
cmp byte [esp + 0x1b], 0
je 0x1000a2e3
push edx
push edx
push 0xa39
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
cmp dword [esp + 0x44], 0
je 0x1000a302
push dword [esp + 0x44]
call fcn.1004fc57
xor edx, edx
pop ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], 0x571177e8
mov dword [esp + 0xc], 0x96c7979b
mov dword [esp + 0x20], 0x8951bb35
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0xfffffffb
je 0x1000a3bd
mov dword [esp + 0x10], 0xfffffffb
mov dword [esp + 0xc], edx
jmp 0x1000a34a
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xa0], 6
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x1000a337
mov dword [esp + 0xc], edx
jmp 0x1000a367
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x78], 9
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1000a357
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x4d63a88e
setne cl
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], 0xfffffffe
dec dword [esp + 0x14]
cmp dword [esp + 0x14], eax
jne 0x1000a329
mov dword [esp + 0xc], 0xfffffff9
xor ecx, ecx
mov dword [esp + 0x28], 6
inc ecx
mov dword [esp + 0x30], 0x1c097bc8
mov dword [esp + 0x14], 0x73196e86
mov dword [esp + 0x10], 0x51acae7
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], 0xfffffffa
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x1c], 0x2dd0685
mov dword [esp + 0x10], edx
jmp 0x1000a416
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x74], 0xf27260e9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1000a406
mov eax, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
cmp eax, ecx
mov eax, dword [esp + 0x28]
setge dl
xor ecx, ecx
cmp edx, 0x2eb2fc25
setl cl
xor edx, edx
add eax, ecx
cmp eax, 0x4087a912
jne 0x1000a457
cmp dword [esp + 0x28], edx
jne 0x1000a457
mov eax, edx
jmp 0x1000a45a
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
xor ecx, ecx
mov eax, dword [esp + 0x14]
cmp eax, 0x23d
setg cl
xor eax, eax
cmp ecx, 1
mov ecx, dword [esp + 0xc]
setle al
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x28]
je 0x1000a634
mov dword [esp + 0x6c], 0xf50e16ff
mov dword [esp + 0x1c], 0xfffffffa
mov dword [esp + 0xc], edx
jmp 0x1000a4de
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x90], 0xa9ac04bb
inc dword [esp + 0xc]
cmp dword [esp + 0xc], esi
jl 0x1000a4cb
mov dword [esp + 0xc], edx
jmp 0x1000a4fd
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x80], 0xd88c924d
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x1000a4ea
mov dword [esp + 0x14], edx
jmp 0x1000a620
mov dword [esp + 0x5c], 0x8d
mov dword [esp + 0x54], 0x785e8a77
mov dword [esp + 0x1c], 0x17f9
cmp dword [esp + 0x1c], 0x93e
jge 0x1000a5ef
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x80]
push eax
push 0x10007850
call fcn.1004f8bb
movd xmm0, dword [esp + 0x7c]
add esp, 0x18
movd xmm3, dword [esp + 0x38]
cvtdq2pd xmm0, xmm0
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
add edx, ecx
cvtdq2pd xmm3, xmm3
movd xmm2, eax
mov eax, edx
divsd xmm3, xmm0
cvtdq2pd xmm2, xmm2
movapd xmm1, xmm3
divsd xmm2, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si esi, xmm1
movapd xmm1, xmm3
imul eax, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jb 0x1000a5d7
lea eax, [esi + 1]
imul eax, edx
movd xmm3, eax
cvtdq2pd xmm3, xmm3
addsd xmm2, xmm3
push ecx
push ecx
movsd qword [esp], xmm2
push 0x10007864
call fcn.1004faef
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x74]
push eax
lea edx, [esp + 0x60]
lea ecx, [esp + 0x40]
call fcn.100098a6
add esp, 0xc
mov byte [esp + 0x27], 0
lea ecx, [esp + 0x27]
call fcn.10009cc6
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffff7
jge 0x1000a50d
dec dword [esp + 0x84]
jmp 0x1000a6a5
mov dword [esp + 0x58], 0x24061354
mov dword [esp + 0x1c], 0xfffffff8
mov dword [esp + 0x1c], 0xe38b13f4
mov dword [esp + 0x1c], 0x16d172e3
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x1c], 1
mov dword [esp + 0x1c], 0x5249f392
mov dword [esp + 0x60], esi
mov dword [esp + 0x10], edx
jmp 0x1000a689
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x98], 0xfffffff6
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1000a676
lea edx, [esp + 0x28]
lea ecx, [esp + 0x58]
call fcn.10009e0b
lea ecx, [esp + 0x60]
call fcn.1000a00d
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
mov ecx, ebx
mov edi, edx
mov esi, eax
call fcn.10009834
add eax, esi
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret