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

Disassembly:
xor edx, edx
jmp 0x100a659
xor eax, eax
jmp 0x100a4d9
mov dword [ebp - 0x420], esi
jmp 0x100a4e3
cmp cx, 4
jne 0x100a57b
jmp 0x100a571
and dword [ecx], 0
jmp 0x100a69e
mov eax, 0x1023067
call fcn.010014dd
sub esp, 0x438
mov eax, dword [0x1027090]
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov edx, 0x80
mov dword [ebp - 0x10], eax
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x416]
mov word [ebp - 0x418], si
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x212]
mov word [ebp - 0x214], si
rep stosd dword es:[edi], eax
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x430], esi
mov eax, dword [ebx + 0x44c]
mov eax, dword [eax + 0x78]
cmp eax, 0x29
mov dword [ebp - 4], esi
ja 0x1015f09
cmp dword [0x102705c], esi
lea edi, [eax + 2]
jne 0x1015f13
cmp edi, esi
jle 0x100a3fa
mov eax, edi
shl eax, 4
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x41c], eax
cmp eax, esi
mov byte [ebp - 4], 1
je 0x100a3f3
push fcn.0100923f
push edi
push 0x10
push eax
call fcn.01008d60
mov eax, dword [ebp - 0x41c]
mov byte [ebp - 4], 0
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], esi
je 0x1015f1a
push 0x100
lea eax, [ebp - 0x418]
push eax
mov eax, dword [ebx + 0x44c]
push dword [eax + 8]
call sub.HID.DLL_HidD_GetProductString
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebx + 0x8c]
call fcn.0100ca96
mov eax, dword [ebx + 0x44c]
movzx eax, word [eax + 0x66]
push eax
push 0x100a9e8
lea eax, [ebp - 0x214]
push 0x101
push eax
call fcn.0100cfad
mov dword [ebp - 0x428], eax
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebx + 0x90]
call fcn.0100ca96
mov eax, dword [ebx + 0x44c]
mov dword [ebx + 0xb4], esi
mov cx, word [eax + 0x20]
cmp cx, 2
jne 0x1015f24
mov dword [ebx + 0xb4], 1
or dword [ebx + 0xb4], 4
xor edi, edi
cmp dword [eax + 0x78], edi
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x440], edi
jbe 0x100a79e
mov ecx, dword [ebp - 0x420]
add ecx, 8
mov dword [ebp - 0x42c], ecx
mov edx, dword [eax + 0x74]
add edx, edi
push 0x11
mov dword [ebp - 0x41c], edx
pop ecx
mov edx, 0x2354
mov esi, dword [ebp - 0x41c]
movzx esi, word [esi]
cmp esi, dword [edx + 0x1027a24]
jne 0x100a5de
mov esi, dword [ebp - 0x41c]
movzx esi, word [esi + 0x18]
cmp esi, dword [edx + 0x1027a28]
je 0x100a5ed
add edx, 0x214
inc ecx
cmp edx, 0x4ce4
jb 0x100a5bb
cmp ecx, 0x24
ja 0x100a77a
imul ecx, ecx, 0x214
lea esi, [ecx + 0x1027c30]
push dword [esi]
lea ecx, [ebx + 0xec]
mov dword [ebp - 0x444], esi
call fcn.0100c72f
mov eax, dword [ebx + 0x44c]
mov eax, dword [eax + 0x74]
lea eax, [eax + edi + 0x14]
push eax
push dword [esi]
lea ecx, [ebx + 0xec]
call fcn.010092f4
mov ecx, dword [ebx + 0x44c]
mov eax, dword [ecx + 0x74]
mov al, byte [edi + eax + 0x1c]
and al, 0xf
xor edx, edx
cmp byte [edx*4 + 0x10279f4], al
je 0x100a650
inc edx
cmp edx, 0xb
jb 0x100a641
cmp edx, 0xb
jae 0x100a3ec
mov eax, dword [ecx + 0x74]
mov dx, word [edx*4 + 0x10279f6]
lea ecx, [edi + eax]
mov eax, dword [ecx + 0x20]
mov esi, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x42c]
mov dword [ecx - 8], esi
mov esi, dword [ebx + 0x44c]
mov esi, dword [esi + 0x74]
mov esi, dword [esi + edi + 0x28]
shr eax, 4
and eax, 0xf
cmp eax, 5
mov dword [ecx - 4], esi
jae 0x100a414
mov eax, dword [eax*4 + 0x10279e0]
mov dword [ecx], eax
mov eax, dword [ebx + 0x44c]
mov eax, dword [eax + 0x74]
lea esi, [eax + edi]
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x24]
mov dword [ebp - 0x41c], eax
fild dword [ebp - 0x41c]
fld qword [0x100a9e0]
movsx eax, dx
mov dword [ebp - 0x41c], eax
fild dword [ebp - 0x41c]
call sub.msvcrt.dll__CIpow
fst dword [ebp - 0x41c]
mov eax, dword [esi + 0x30]
sub eax, dword [esi + 0x2c]
inc dword [ebp - 0x424]
mov dword [ebp - 0x41c], eax
fimul dword [ebp - 0x41c]
mov eax, dword [ebp - 0x42c]
add dword [ebp - 0x42c], 0x10
lea ecx, [ebp - 0x43c]
fdivp st(1)
fstp dword [eax + 4]
mov eax, dword [ebp - 0x444]
mov eax, dword [eax]
push dword [eax*4 + 0x10277a0]
push dword [ebp - 0x434]
call fcn.0100a9f5
mov eax, dword [ebx + 0x44c]
mov ecx, dword [eax + 0x74]
add ecx, edi
cmp word [ecx], 1
jne 0x100a77a
cmp word [ecx + 0x18], 0x30
jne 0x100a758
mov ecx, dword [eax + 0x74]
mov ecx, dword [edi + ecx + 0x24]
mov dword [ebx + 0x94], ecx
mov ecx, dword [eax + 0x74]
mov ecx, dword [edi + ecx + 0x28]
mov dword [ebx + 0x9c], ecx
mov ecx, dword [eax + 0x74]
cmp word [edi + ecx + 0x18], 0x31
jne 0x100a77a
mov ecx, dword [edi + ecx + 0x24]
mov dword [ebx + 0x98], ecx
mov ecx, dword [eax + 0x74]
mov ecx, dword [edi + ecx + 0x28]
mov dword [ebx + 0xa0], ecx
inc dword [ebp - 0x440]
mov ecx, dword [ebx + 0x44c]
mov edx, dword [ebp - 0x440]
mov esi, dword [ebp - 0x424]
add edi, 0x3c
cmp edx, dword [ecx + 0x78]
jb 0x100a5a8
mov ecx, dword [ebp - 0x420]
fldz
mov eax, esi
shl eax, 4
add eax, ecx
and dword [eax], 0
fstp dword [eax + 0xc]
and dword [eax + 8], 0
mov dword [eax + 4], 8
push dword [0x10277ac]
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x434]
inc esi
call fcn.0100a9f5
xor edi, edi
cmp dword [0x102705c], edi
jne 0x1015f33
cmp dword [ebp - 0x438], edi
mov esi, dword [ebp - 0x434]
mov dword [ebx + 0x110], edi
mov dword [ebx + 0xe4], edi
mov dword [ebx + 0xe8], edi
je 0x1015fa9
mov eax, esi
sub eax, dword [ebp - 0x438]
sar eax, 4
shl eax, 4
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
mov dword [ebx + 0xd0], eax
je 0x100a9a7
push eax
push esi
push dword [ebp - 0x438]
call fcn.01008daa
cmp dword [ebp - 0x438], edi
je 0x1015fb0
sub esi, dword [ebp - 0x438]
sar esi, 4
lea eax, [ebx + 0xd8]
mov dword [ebx + 0xcc], esi
push eax
lea esi, [ebx + 0xd4]
push esi
mov ecx, ebx
call fcn.0100db0f
cmp dword [esi], edi
je 0x100a8a8
push 4
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
push 4
mov dword [ebx + 0xdc], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [ebx + 0xdc]
cmp edx, edi
pop ecx
pop ecx
lea ecx, [ebx + 0xe0]
mov dword [ecx], eax
je 0x100a9a7
cmp eax, edi
je 0x100a9a7
or dword [edx], 0xffffffff
mov eax, dword [ecx]
or dword [eax], 0xffffffff
mov eax, dword [ebx + 0xc0]
cmp eax, edi
jne 0x1015fb7
mov eax, dword [ebx + 0xc8]
cmp eax, edi
jne 0x1015fcf
mov eax, dword [ebx + 0xcc]
cmp eax, edi
mov dword [ebx + 0xbc], eax
je 0x100a935
shl eax, 5
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
mov dword [ebx + 0xc0], eax
je 0x100a9a7
xor edx, edx
cmp dword [ebx + 0xbc], edi
jbe 0x100a935
xor ecx, ecx
xor eax, eax
mov esi, dword [ebx + 0xd0]
mov edi, dword [ebx + 0xc0]
add esi, eax
add edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0xc0]
mov esi, dword [ebp - 0x420]
add esi, eax
lea edi, [edi + ecx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc edx
movsd dword es:[edi], dword [esi]
add eax, 0x10
add ecx, 0x20
cmp edx, dword [ebx + 0xbc]
jb 0x100a8fa
xor edi, edi
mov eax, dword [ebx + 0xd4]
cmp eax, edi
mov dword [ebx + 0xc4], eax
je 0x100a97a
shl eax, 4
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
mov dword [ebx + 0xc8], eax
je 0x100a9a7
mov ecx, dword [ebx + 0xc4]
mov esi, dword [ebx + 0xd8]
shl ecx, 4
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
mov eax, dword [ebx + 0xc4]
push dword [ebp - 0x420]
add eax, 0x1f
shr eax, 5
add eax, dword [ebx + 0xbc]
shl eax, 2
mov dword [ebx + 0xb8], eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x428], edi
cmp dword [ebp - 0x428], edi
jl 0x1015fe7
mov esi, dword [ebp - 0x428]
lea ecx, [ebp - 0x43c]
call fcn.01006cce
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01007dc7
leave
ret
mov esi, 0x8000ffff
jmp 0x100a9b9
inc edi
inc edi
jmp 0x100a49f
mov esi, 0x8007000e
jmp 0x100a9b9
cmp cx, 3
je 0x100a571
jmp 0x100a405
mov ecx, dword [ebp - 0x420]
fldz
mov eax, esi
shl eax, 4
add eax, ecx
fstp dword [eax + 0xc]
mov dword [eax], 0x80000000
mov dword [eax + 4], 0x7fffffff
mov dword [eax + 8], edi
push dword [0x1027890]
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x434]
inc esi
call fcn.0100a9f5
fldz
mov eax, dword [ebp - 0x420]
shl esi, 4
add eax, esi
fstp dword [eax + 0xc]
mov dword [eax], 0x80000000
mov dword [eax + 4], 0x7fffffff
mov dword [eax + 8], edi
push dword [0x1027894]
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x434]
call fcn.0100a9f5
jmp 0x100a7e4
xor eax, eax
jmp 0x100a813
xor esi, esi
jmp 0x100a84d
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebx + 0xbc], edi
mov dword [ebx + 0xc0], edi
jmp 0x100a8b6
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebx + 0xc4], edi
mov dword [ebx + 0xc8], edi
jmp 0x100a8c4
mov eax, dword [ebx + 0xd0]
cmp eax, edi
je 0x1015ff8
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebx + 0xdc]
cmp eax, edi
je 0x1016009
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebx + 0xe0]
cmp eax, edi
je 0x101601a
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push 8
xor eax, eax
pop ecx
lea edi, [ebx + 0xcc]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x1016038
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebx + 0xc8]
test eax, eax
je 0x1016049
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor eax, eax
lea edi, [ebx + 0xb8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x428], 0x8007000e
jmp 0x100a9b3