Function at 0x4089bf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1290
call fcn.0040c750
mov al, byte [0x42868c]
push ebx
push esi
push edi
push 0x3f
mov byte [ebp - 0x290], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x28f]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
sete al
cmp byte [0x42a141], bl
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
je 0x408baa
push 0x426d20
push dword [ebp + 8]
call fcn.0040bc7c
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x408cfb
push esi
mov edi, 0x100
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0040cb7a
add esp, 0xc
test eax, eax
je 0x408a9f
lea eax, [ebp - 0x110]
push str.NetAdapter
push eax
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
je 0x408a5d
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x110]
push str.VendorID
push eax
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
je 0x408a92
lea eax, [ebp - 0x110]
push str.4358
push eax
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
je 0x408a92
mov dword [ebp - 8], 1
cmp dword [ebp - 8], ebx
je 0x408a9c
cmp dword [ebp - 0xc], ebx
jne 0x408a9f
push esi
jmp 0x408a2b
push esi
call fcn.0040bcdb
cmp dword [ebp - 8], ebx
pop ecx
je 0x408baa
cmp dword [ebp - 0xc], ebx
je 0x408baa
cmp dword [ebp - 4], ebx
jne 0x408baa
push dword [ebp + 8]
lea eax, [ebp - 0x1290]
push 0x1000
push eax
push str.FileConstants
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
cmp byte [ebp - 0x1290], bl
lea esi, [ebp - 0x1290]
je 0x408baa
push 0x4250c8
push esi
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
je 0x408b8f
push str.CFID
push esi
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
je 0x408b8f
push esi
push 0x426b70
push 0x426b6c
call fcn.00409227
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x290]
push eax
push str._s__lu
push esi
call fcn.0040c87f
mov eax, dword [ebp - 0x10]
add esp, 0x1c
cmp ax, 0x1106
jne 0x408b8f
shr eax, 0x10
push eax
push str.DEV_
lea eax, [ebp - 0x190]
push str._s_04X
push eax
call fcn.0040becd
mov edi, dword [ebp + 0xc]
add esp, 0x10
mov eax, edi
cmp byte [eax], bl
je 0x408b8f
lea eax, [ebp - 0x190]
push edi
push eax
call fcn.0040c410
pop ecx
test eax, eax
pop ecx
je 0x408ba3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [edi + eax + 1], bl
lea edi, [edi + eax + 1]
jne 0x408b6b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], bl
lea esi, [esi + eax + 1]
jmp 0x408ae7
mov dword [ebp - 4], 1
cmp byte [0x42a13c], bl
jne 0x408bee
cmp byte [0x42a13d], bl
jne 0x408bee
cmp byte [0x42a13e], bl
jne 0x408bee
cmp byte [0x42a13f], bl
jne 0x408bee
cmp byte [0x42a140], bl
jne 0x408bee
cmp byte [0x42a142], bl
jne 0x408bee
cmp byte [0x42a143], bl
jne 0x408bee
cmp byte [0x42a144], bl
je 0x408ce7
push 0x426d20
push dword [ebp + 8]
call fcn.0040bc7c
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x408cfb
push edi
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.0040cb7a
add esp, 0xc
test eax, eax
je 0x408ce0
lea eax, [ebp - 0x110]
push str.4d36e972_e325_11ce_bfc1_08002be10318
push eax
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
je 0x408c42
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x110]
push str.PCIVEN_1106
push eax
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
jne 0x408c87
lea eax, [ebp - 0x110]
push str.USBVID_040D
push eax
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
jne 0x408c87
lea eax, [ebp - 0x110]
push str.USBVID_160A
push eax
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
je 0x408cc5
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], 1
jne 0x408cd7
mov esi, dword [ebp + 0xc]
cmp byte [esi], bl
je 0x408c07
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0040c250
pop ecx
test eax, eax
pop ecx
jne 0x408cbe
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
jmp 0x408c96
mov dword [ebp - 4], 1
cmp dword [ebp - 8], ebx
je 0x408c07
cmp dword [ebp - 4], ebx
je 0x408c07
cmp dword [ebp - 0xc], ebx
je 0x408c07
push edi
call fcn.0040bcdb
pop ecx
cmp dword [ebp - 8], ebx
je 0x408cfb
cmp dword [ebp - 4], ebx
je 0x408cfb
cmp dword [ebp - 0xc], ebx
je 0x408cfb
push 1
pop eax
jmp 0x408cfd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret