Function at 0x405210
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443b31
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x4629b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24c]
xorps xmm0, xmm0
mov dword [ebp - 0x348], edi
push eax
mov dword [ebp - 0x344], edi
movq qword [ebp - 0x24c], xmm0
mov dword [ebp - 0x244], 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
cmp byte [ebp - 0x24b], 0x7f
jbe 0x405293
cmp byte [ebp - 0x24a], 0x7f
jbe 0x405293
push 0x4464a0
mov ecx, edi
call fcn.00405090
mov eax, edi
jmp 0x4061ac
push 0x12
push 0
push 0
push 0x456f0c
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov esi, eax
mov dword [ebp - 0x340], esi
cmp esi, 0xffffffff
je 0x405280
lea ecx, [ebp - 0x22c]
call fcn.004050b0
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x33c], eax
nop dword [eax]
nop word [eax + eax]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2b4], 0x1c
push ecx
push eax
push 0x456f0c
xorps xmm0, xmm0
push 0
push esi
movlpd qword [ebp - 0x2b0], xmm0
movlpd qword [ebp - 0x2a8], xmm0
movlpd qword [ebp - 0x2a0], xmm0
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x405330
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x406182
push 0
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], 0
push eax
push 0
push 0
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x406182
push dword [ebp - 0x2e4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0x344], esi
test esi, esi
je 0x406166
push 0
push 0
mov dword [esi], 6
lea eax, [ebp - 0x2b4]
push dword [ebp - 0x2e4]
push esi
push eax
push dword [ebp - 0x340]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
test eax, eax
je 0x40615f
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406166
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x230], 0
push eax
push 4
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], 0
push eax
push 4
lea eax, [ebp - 0x240]
xorps xmm0, xmm0
push eax
push 0x294040
push esi
movq qword [ebp - 0x238], xmm0
call edi
test eax, eax
jne 0x405424
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406166
push 0x190
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0042f620
add esp, 0xc
mov dword [ebp - 0x234], 4
lea eax, [ebp - 0x214]
push 0
push eax
push 0x190
lea eax, [ebp - 0x210]
push eax
push 0xc
lea eax, [ebp - 0x238]
push eax
push 0x294044
push esi
call edi
test eax, eax
je 0x4054fe
push 0x446fe0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push str.5u_l_rT
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 2
push eax
call fcn.00404a70
add esp, 0x24
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x2fc]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0
call fcn.004050d0
push 0x190
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0042f620
add esp, 0xc
mov dword [ebp - 0x234], 6
lea eax, [ebp - 0x214]
push 0
push eax
push 0x190
lea eax, [ebp - 0x210]
push eax
push 0xc
lea eax, [ebp - 0x238]
push eax
push 0x294044
push esi
call edi
test eax, eax
je 0x4055d8
push 0x446fe0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push 0x447004
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 4
push eax
call fcn.00404a70
add esp, 0x24
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0
call fcn.004050d0
push 0x190
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0042f620
add esp, 0xc
mov dword [ebp - 0x234], 8
lea eax, [ebp - 0x214]
push 0
push eax
push 0x190
lea eax, [ebp - 0x210]
push eax
push 0xc
lea eax, [ebp - 0x238]
push eax
push 0x294044
push esi
call edi
test eax, eax
je 0x4056b2
push 0x446fe0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push 0x447024
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 6
push eax
call fcn.00404a70
add esp, 0x24
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0
call fcn.004050d0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x23c], 0
push eax
push 4
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x234], 5
push eax
push 0xc
lea eax, [ebp - 0x238]
push eax
push 0x294044
push esi
call edi
test eax, eax
je 0x405794
mov eax, dword [ebp - 0x23c]
movzx ecx, al
push ecx
movzx eax, ah
push eax
movzx eax, word [ebp - 0x23a]
push eax
push str._u__02u__02u
lea eax, [ebp - 0x210]
push 0xffffffffffffffff
push eax
call fcn.00404fc0
push 0x447060
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 8
push eax
call fcn.00404a70
add esp, 0x3c
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0
call fcn.004050d0
push 0x190
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0042f620
add esp, 0xc
mov dword [ebp - 0x234], 7
lea eax, [ebp - 0x214]
push 0
push eax
push 0x190
lea eax, [ebp - 0x210]
push eax
push 0xc
lea eax, [ebp - 0x238]
push eax
push 0x294044
push esi
call edi
test eax, eax
je 0x40586a
push 0x446fe0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push 0x44707c
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00404a70
add esp, 0x24
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
call fcn.004050d0
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x2cc]
xorps xmm0, xmm0
mov dword [ebp - 0x2e0], eax
movlpd qword [ebp - 0x2dc], xmm0
movlpd qword [ebp - 0x2d4], xmm0
movups xmmword [ebp - 0x25c], xmm0
call fcn.004050b0
lea ecx, [ebp - 0x274]
call fcn.004050b0
xor eax, eax
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x214]
push eax
push 0x10
lea eax, [ebp - 0x25c]
push eax
push 0x14
lea eax, [ebp - 0x2e0]
push eax
push 0x29404c
push esi
call edi
test eax, eax
je 0x4059fd
mov eax, dword [ebp - 0x25c]
cmp eax, 1
jne 0x4058fa
push 0x447098
jmp 0x405923
cmp eax, 2
jne 0x405906
push str._e5u_N
jmp 0x405923
cmp eax, 5
jne 0x405912
push str.EQ5u_N_
jmp 0x405923
cmp eax, 3
jne 0x40591e
push str._e5u_N_
jmp 0x405923
push str.5u_lf
lea ecx, [ebp - 0x274]
call fcn.00405130
mov eax, dword [ebp - 0x25c]
cmp eax, 1
je 0x40594f
cmp eax, 3
je 0x40594f
cmp eax, 5
je 0x40594f
cmp eax, 9
je 0x40594f
push str._e5u
jmp 0x405954
push str.EQ5u
lea ecx, [ebp - 0x2cc]
call fcn.00405130
push 0x447128
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a40
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0xe
push eax
call fcn.00404a70
add esp, 0x24
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x338], eax
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x278], 0
push eax
push 0x24
lea eax, [ebp - 0x298]
mov dword [ebp - 0x234], 0
push eax
push 0xc
lea eax, [ebp - 0x238]
xorps xmm0, xmm0
push eax
push 0x294044
push esi
movups xmmword [ebp - 0x298], xmm0
movups xmmword [ebp - 0x288], xmm0
call edi
test eax, eax
je 0x406128
mov eax, dword [ebp - 0x288]
movsd xmm3, qword [0x4472a8]
push 0x60
push 0
movd xmm1, eax
shr eax, 0x1f
cvtdq2pd xmm1, xmm1
addsd xmm1, qword [eax*8 + 0x4472b0]
mov eax, dword [ebp - 0x28c]
movd xmm0, eax
movaps xmm2, xmm1
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4472b0]
mov eax, dword [ebp - 0x330]
divsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulsd xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x4472b0]
lea eax, [ebp - 0x80]
push eax
minsd xmm2, xmm3
divsd xmm0, xmm1
movsd qword [ebp - 0x358], xmm2
mulsd xmm0, xmm3
movsd qword [ebp - 0x350], xmm0
call fcn.0042f620
movsd xmm0, qword [ebp - 0x350]
lea eax, [ebp - 0x80]
add esp, 4
movsd qword [esp], xmm0
push str._.1f___
push 0xffffffffffffffff
push eax
call fcn.00404fa0
push str.5u_l5u
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x10
push eax
call fcn.00404a70
add esp, 0x38
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
mov eax, dword [ebp - 0x330]
push str._mWh_
push eax
push str._ld__s
lea eax, [ebp - 0x80]
push 0xffffffffffffffff
push eax
call fcn.00404fa0
lea eax, [ebp - 0x22c]
push str.S_MR
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x11
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x12
push eax
call fcn.00404a70
add esp, 0x38
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
push str._mWh_
push dword [ebp - 0x288]
lea eax, [ebp - 0x80]
push str._ld__s
push 0xffffffffffffffff
push eax
call fcn.00404fa0
push 0x4471a8
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x13
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x14
push eax
call fcn.00404a70
add esp, 0x38
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
push str._mWh_
push dword [ebp - 0x28c]
lea eax, [ebp - 0x80]
push str._ld__s
push 0xffffffffffffffff
push eax
call fcn.00404fa0
push 0x4471a8
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x15
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x16
push eax
call fcn.00404a70
add esp, 0x38
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
mov al, byte [ebp - 0x24a]
test al, al
je 0x405d5b
cmp al, 0x7f
ja 0x405d5b
movsd xmm0, qword [ebp - 0x358]
lea eax, [ebp - 0x210]
sub esp, 8
movsd qword [esp], xmm0
push str._.1f___
push 0xffffffffffffffff
push eax
call fcn.00404fc0
add esp, 0x14
jmp 0x405d76
push 0x4471c4
push 0x4471d0
lea eax, [ebp - 0x210]
push 0xffffffffffffffff
push eax
call fcn.00404fc0
add esp, 0x10
push str.5u_leP
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 0x17
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x18
push eax
call fcn.00404a70
add esp, 0x24
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
mov eax, dword [ebp - 0x334]
push 0x4471f4
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4472b0]
lea eax, [ebp - 0x80]
mulsd xmm0, qword [0x4472a0]
movsd qword [esp], xmm0
push str._.3f__s
push 0xffffffffffffffff
push eax
call fcn.00404fa0
push str.S_MR5u
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00404a70
add esp, 0x3c
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
mov eax, dword [ebp - 0x338]
cmp eax, 0x20000000
je 0x405edc
cmp eax, 0x40000000
je 0x405edc
cmp eax, 0x80000000
je 0x405edc
push str._mW_
push eax
push str._ld__s
lea eax, [ebp - 0x80]
push 0xffffffffffffffff
push eax
call fcn.00404fa0
add esp, 0x14
jmp 0x405ef4
push str.N___A
push 0x4471d0
lea eax, [ebp - 0x80]
push 0xffffffffffffffff
push eax
call fcn.00404fa0
add esp, 0x10
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404aa0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x1c
push eax
call fcn.00404a70
add esp, 0x24
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
push 4
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 4
lea eax, [ebp - 0x290]
push eax
push 0
push 0
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.5u_l
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1d
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x1e
push eax
call fcn.00404a70
add esp, 0x24
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
push str._mWh_
push dword [ebp - 0x284]
lea eax, [ebp - 0x80]
push str._ld__s
push 0xffffffffffffffff
push eax
call fcn.00404fa0
push 0x447258
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1f
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x20
push eax
call fcn.00404a70
add esp, 0x38
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
push str._mWh_
push dword [ebp - 0x280]
lea eax, [ebp - 0x80]
push str._ld__s
push 0xffffffffffffffff
push eax
call fcn.00404fa0
push str.NO5u_l
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x2fc]
push eax
call fcn.00404b30
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x21
push ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00404a70
push 0x446fe4
push eax
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 0x22
push eax
call fcn.00404a70
add esp, 0x38
lea ecx, [ebp - 0x22c]
push eax
call fcn.004050f0
lea ecx, [ebp - 0x32c]
call fcn.004050d0
lea ecx, [ebp - 0x314]
call fcn.004050d0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xc
call fcn.004050d0
push 0x446fe4
lea ecx, [ebp - 0x22c]
call fcn.00405200
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x274]
call fcn.004050d0
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0
call fcn.004050d0
mov esi, dword [ebp - 0x344]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x33c]
mov esi, dword [ebp - 0x340]
inc eax
mov dword [ebp - 0x33c], eax
cmp eax, 0x64
jb 0x4052e0
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov ecx, dword [ebp - 0x348]
lea eax, [ebp - 0x22c]
push eax
call fcn.00405040
lea ecx, [ebp - 0x22c]
call fcn.004050d0
mov eax, dword [ebp - 0x348]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d960
mov esp, ebp
pop ebp
ret