Function at 0x514360
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x748ae4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5ec
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
push 0x400
mov dword [ebp - 0x5f8], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
mov dword [0x83ced8], eax
push 2
push edi
push edi
push 0x803670
mov word [0x83cedc], ax
mov dword [0x83cec8], eax
mov word [0x83cecc], ax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov dword [ebp - 0x5d4], eax
cmp eax, 0xffffffff
je 0x5145aa
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x43c], 0x1c
push ecx
xor esi, esi
push esi
push eax
mov dword [ebp - 0x5dc], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x514547
nop dword [eax + eax]
push 0
push 0x100
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x5d4]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
test eax, eax
je 0x514547
push 3
lea eax, [ebp - 0x558]
push 0x809978
push eax
call fcn.0071c63a
add esp, 0xc
test eax, eax
je 0x514491
push 0x26
lea eax, [ebp - 0x558]
push str.1A3E09BE_1E45_494B_9174_D7385B45BBF5
push eax
call fcn.0071c63a
add esp, 0xc
test eax, eax
jne 0x514524
lea ecx, [ebp - 0x558]
call fcn.00515460
test eax, eax
je 0x514524
test edi, edi
je 0x51450b
jle 0x51451d
mov esi, 0x83ced0
mov dword [ebp - 0x5d8], 2
lea edx, [ebp - 0x1c]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x5144d2
add edx, 4
mov dword [ebp - 0x5d8], 0xfffffffe
add esi, 4
movzx ecx, byte [edx]
movzx eax, byte [esi]
sub ecx, eax
jne 0x514507
movzx ecx, byte [edx + 1]
movzx eax, byte [esi + 1]
sub ecx, eax
jne 0x514507
cmp dword [ebp - 0x5d8], 0xfffffffe
je 0x514507
movzx ecx, byte [edx + 2]
movzx eax, byte [esi + 2]
sub ecx, eax
jne 0x514507
movzx ecx, byte [edx + 3]
movzx eax, byte [esi + 3]
sub ecx, eax
test ecx, ecx
jle 0x51451d
mov eax, dword [0x83ced0]
mov dword [ebp - 0x1c], eax
mov ax, word [0x83ced4]
mov word [ebp - 0x18], ax
mov esi, dword [ebp - 0x5dc]
inc edi
lea eax, [ebp - 0x43c]
inc esi
push eax
push esi
push dword [ebp - 0x5d4]
mov dword [ebp - 0x5dc], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x514430
push dword [ebp - 0x5d4]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov cx, word [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [0x83ced8], eax
mov word [0x83cedc], cx
test edi, edi
jle 0x5145aa
mov dword [ebp - 0x420], eax
mov edi, 0x3fa
lea eax, [ebp - 0x406]
mov word [ebp - 0x41c], cx
mov dword [ebp - 0x5e0], eax
lea ecx, [ebp - 0x40a]
mov dword [ebp - 0x5e4], 0x22
lea eax, [ebp - 0x41a]
mov dword [ebp - 0x5d8], 0xffffffea
jmp 0x5145f1
push ecx
lea eax, [ebp - 0x420]
push eax
call fcn.005150d0
lea ecx, [ebp - 0x40c]
mov edi, 0x400
add ecx, eax
mov dword [ebp - 0x5e0], ecx
lea ecx, [eax + 0x1c]
mov dword [ebp - 0x5e4], ecx
mov ecx, 0xfffffff0
sub ecx, eax
mov dword [ebp - 0x5d8], ecx
lea ecx, [ebp - 0x410]
add ecx, eax
sub edi, eax
lea eax, [ebp + eax - 0x420]
mov dword [ebp - 0x5dc], eax
xorps xmm0, xmm0
mov dword [ebp - 0x5d4], ecx
xor eax, eax
xor ecx, ecx
push ebx
cpuid
mov dword [ebp - 0x1c], ebx
movups xmmword [ebp - 0x5f4], xmm0
pop ebx
lea esi, [ebp - 0x5f4]
mov dword [esi], eax
lea eax, [ebp - 0x5f4]
mov esi, dword [ebp - 0x1c]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x5dc]
test eax, eax
jne 0x514643
call fcn.00717f7f
mov dword [eax], 0x16
jmp 0x51466b
cmp edi, 0x10
jb 0x514654
movups xmm0, xmmword [ebp - 0x5f4]
movups xmmword [eax], xmm0
jmp 0x514670
push edi
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
call fcn.00717f7f
mov dword [eax], 0x22
call fcn.00710a8c
mov eax, 1
lea edi, [ebp - 0x5f4]
xor ecx, ecx
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x5f4], xmm0
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x5d8]
mov dword [edi + 8], ecx
add esi, 0x400
mov ecx, dword [ebp - 0x5d4]
mov dword [edi + 0xc], edx
test ecx, ecx
jne 0x5146bb
call fcn.00717f7f
mov dword [eax], 0x16
jmp 0x5146e1
cmp esi, 4
jb 0x5146ca
mov eax, dword [ebp - 0x5f4]
mov dword [ecx], eax
jmp 0x5146e6
push esi
push 0
push ecx
call fcn.0070dcd0
add esp, 0xc
call fcn.00717f7f
mov dword [eax], 0x22
call fcn.00710a8c
mov ecx, dword [ebp - 0x5e0]
lea eax, [ebp - 0x5ec]
push 8
push eax
mov edx, esi
call fcn.004b4b50
add esp, 8
lea edi, [ebp - 0x5f4]
mov eax, 3
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x5f4], xmm0
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
lea eax, [ebp - 0x420]
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x5e4]
mov dword [edi + 8], ecx
mov ecx, 0x400
sub ecx, esi
mov dword [edi + 0xc], edx
add eax, esi
jne 0x51474b
call fcn.00717f7f
mov dword [eax], 0x16
jmp 0x514773
cmp ecx, 0x10
jb 0x51475c
movups xmm0, xmmword [ebp - 0x5f4]
movups xmmword [eax], xmm0
jmp 0x514778
push ecx
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
call fcn.00717f7f
mov dword [eax], 0x22
call fcn.00710a8c
add esi, 0x10
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x54c], 0xf
mov byte [ebp - 0x560], 0
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x534], 0xf
mov byte [ebp - 0x548], 0
mov dword [ebp - 0x520], 0
mov dword [ebp - 0x51c], 0xf
mov byte [ebp - 0x530], 0
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x504], 0xf
mov byte [ebp - 0x518], 0
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x4ec], 0xf
mov byte [ebp - 0x500], 0
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 0xf
mov byte [ebp - 0x4e8], 0
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0xf
mov byte [ebp - 0x4d0], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0xf
mov byte [ebp - 0x4b8], 0
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 0xf
mov byte [ebp - 0x4a0], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0xf
mov byte [ebp - 0x488], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
lea ecx, [ebp - 0x560]
mov dword [ebp - 4], 0
call fcn.005159e0
test al, al
je 0x514fe4
cmp dword [ebp - 0x45c], 0x10
lea edx, [ebp - 0x470]
mov dword [ebp - 0x444], 0
cmovae edx, dword [ebp - 0x470]
mov ecx, edx
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5148f2
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x454]
call fcn.00460f20
mov byte [ebp - 4], 1
lea edx, [ebp - 0x4b8]
cmp dword [ebp - 0x4a4], 0x10
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x4b8]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514940
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x5149aa
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5149a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51508f
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x474], 0x10
lea edx, [ebp - 0x488]
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x488]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5149e0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x514a4a
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514a40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x515094
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x4bc], 0x10
lea edx, [ebp - 0x4d0]
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x4d0]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514a80
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x514aea
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514ae0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x515099
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x48c], 0x10
lea edx, [ebp - 0x4a0]
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x4a0]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514b20
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x514b8a
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514b80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51509e
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x4d4], 0x10
lea edx, [ebp - 0x4e8]
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x4e8]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514bc0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x514c2a
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514c20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5150a3
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x54c], 0x10
lea edx, [ebp - 0x560]
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x560]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514c60
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x514cca
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514cc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5150a8
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x534], 0x10
lea edx, [ebp - 0x548]
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x548]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514d00
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x514d6a
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514d60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5150ad
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x504], 0x10
lea edx, [ebp - 0x518]
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x518]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514da0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x514e0a
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514e00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5150b2
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x4ec], 0x10
lea edx, [ebp - 0x500]
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x500]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514e40
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x514eaa
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514ea0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5150b7
push edx
push ecx
call fcn.006f4f2f
add esp, 8
cmp dword [ebp - 0x51c], 0x10
lea edx, [ebp - 0x530]
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp - 0x530]
mov ecx, edx
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x514ee0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00460f20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x454]
call fcn.00463880
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x514f46
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514f3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5150bc
push edx
push ecx
call fcn.006f4f2f
add esp, 8
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x454]
mov edx, 0x400
sub edx, esi
cmp edx, ecx
jb 0x514f85
cmp dword [ebp - 0x440], 0x10
push ecx
cmovae eax, dword [ebp - 0x454]
lea ecx, [ebp - 0x420]
push eax
add ecx, esi
call fcn.004b4b50
add esp, 8
add esi, dword [ebp - 0x444]
jmp 0x514faa
cmp dword [ebp - 0x440], 0x10
lea ecx, [ebp - 0x420]
push edx
cmovae eax, dword [ebp - 0x454]
add ecx, esi
push eax
call fcn.004b4b50
add esp, 8
mov esi, 0x400
mov edx, dword [ebp - 0x440]
cmp edx, 0x10
jb 0x514fe4
mov ecx, dword [ebp - 0x454]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x514fda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5150c1
push edx
push ecx
call fcn.006f4f2f
add esp, 8
lea ecx, [ebp - 0x560]
call fcn.00515680
push esi
lea eax, [ebp - 0x420]
mov byte [ebp - 0x568], 0
push eax
lea ecx, [ebp - 0x5d0]
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5c0], 0
mov dword [ebp - 0x5d0], 0x67452301
mov dword [ebp - 0x5cc], 0xefcdab89
mov dword [ebp - 0x5c8], 0x98badcfe
mov dword [ebp - 0x5c4], 0x10325476
call fcn.00513a30
push 0x10
push ecx
lea ecx, [ebp - 0x5d0]
call fcn.00513940
mov ecx, dword [ebp - 0x5f8]
add esp, 4
mov edx, 0x10
push eax
call fcn.004b4b50
add esp, 8
mov eax, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
int3