Function at 0x4704c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.004894c0
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.LTloadUnf__s____s__n
push 0
call fcn.004714b0
add esp, 0x10
push 0x297c
push 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.004886d0
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x296c], 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x2970], 0
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x2978], 0
mov byte [ebp - 0x1008], 0
push 0x7ff
push 0
lea eax, [ebp - 0x1007]
push eax
call fcn.004886d0
add esp, 0xc
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x407]
push ecx
call fcn.004886d0
add esp, 0xc
mov edx, dword [0x4cbf40]
mov dword [ebp - 0x1014], edx
mov eax, dword [0x4cbf44]
mov dword [ebp - 0x1010], eax
mov cx, word [0x4cbf48]
mov word [ebp - 0x100c], cx
mov dl, byte [0x4cbf4a]
mov byte [ebp - 0x100a], dl
mov eax, dword [str.DriverName]
mov dword [ebp - 0x1020], eax
mov ecx, dword [0x4cbf50]
mov dword [ebp - 0x101c], ecx
mov dx, word [0x4cbf54]
mov word [ebp - 0x1018], dx
mov al, byte [0x4cbf56]
mov byte [ebp - 0x1016], al
mov dword [ebp - 0x102c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1024], 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x800
lea edx, [ebp - 0x1008]
push edx
push 0
push 0
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x102c]
movsx edx, byte [ebp + ecx - 0x1008]
test edx, edx
je 0x4706fb
lea eax, [ebp - 0x1020]
push eax
call fcn.00489c70
add esp, 4
push eax
lea ecx, [ebp - 0x1020]
push ecx
mov edx, dword [ebp - 0x102c]
lea eax, [ebp + edx - 0x1008]
push eax
call fcn.00489fce
add esp, 0xc
test eax, eax
jne 0x4706d0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x400
lea edx, [ebp - 0x408]
push edx
push 0
mov eax, dword [ebp - 0x102c]
lea ecx, [ebp + eax - 0x1008]
push ecx
lea edx, [ebp - 0x1014]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [ebp - 0x1024], 0
jne 0x4706a2
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049c8ee
add esp, 8
test eax, eax
jne 0x4706a2
mov dword [ebp - 0x1024], 1
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp - 4]
shl eax, 9
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + eax + 4]
push edx
call fcn.00489ae0
add esp, 8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x102c]
lea ecx, [ebp + eax - 0x1008]
push ecx
call fcn.00489c70
add esp, 4
mov edx, dword [ebp - 0x102c]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x102c], eax
jmp 0x470600
cmp dword [ebp - 0x1024], 0
jne 0x470725
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x408]
push edx
push str.LTloadUnf___:_DriverName__s__is_differ.___s__n
push 0
call fcn.004714b0
add esp, 0x10
xor eax, eax
jmp 0x47097c
mov dword [ebp - 0x1028], 0x400
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x808]
push edx
push 0
push str.DriverVer
push str.Version
call fcn.00473be0
add esp, 0x18
test eax, eax
je 0x470830
lea eax, [ebp - 0x1034]
push eax
lea ecx, [ebp - 0x1038]
push ecx
lea edx, [ebp - 0x103c]
push edx
push str._d__d__d
lea eax, [ebp - 0x808]
push eax
call fcn.0048af45
add esp, 0x14
cmp eax, 3
jne 0x4707cd
mov eax, dword [ebp - 0x1034]
cdq
mov ecx, 0x2710
idiv ecx
mov ecx, edx
imul ecx, ecx, 0x2710
mov eax, dword [ebp - 0x103c]
cdq
mov esi, 0x64
idiv esi
imul edx, edx, 0x64
add ecx, edx
mov eax, dword [ebp - 0x1038]
cdq
mov esi, 0x64
idiv esi
add ecx, edx
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x296c], ecx
push 0x2c
lea eax, [ebp - 0x808]
push eax
call fcn.00418740
add esp, 8
mov dword [ebp - 0x1030], eax
cmp dword [ebp - 0x1030], 0
je 0x470817
push 0x63
mov ecx, dword [ebp - 0x1030]
add ecx, 1
push ecx
mov edx, dword [ebp + 0x10]
add edx, 0x2908
push edx
call fcn.00489d00
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x296b], 0
jmp 0x47082e
push 0x4cbfa8
mov ecx, dword [ebp + 0x10]
add ecx, 0x2908
push ecx
call fcn.00489ae0
add esp, 8
jmp 0x470847
push 0x4cbfac
mov edx, dword [ebp + 0x10]
add edx, 0x2908
push edx
call fcn.00489ae0
add esp, 8
mov dword [ebp - 0x1028], 0x400
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x808]
push edx
push 0
push str.DriverCode
push 0x4cbfbc
call fcn.00473be0
add esp, 0x18
test eax, eax
je 0x470893
lea eax, [ebp - 0x808]
push eax
call fcn.00470400
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x2970], eax
cmp dword [ebp + 0x14], 0
jne 0x4708a6
call fcn.00473800
mov dword [ebp - 0x1040], eax
jmp 0x4708af
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1040], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1040]
mov dword [eax + 0x2974], ecx
cmp dword [ebp + 0xc], 0
je 0x4708ea
push 0x103
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
add eax, 0x2804
push eax
call fcn.00489d00
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 0x2907], 0
jmp 0x4708f4
mov edx, dword [ebp + 0x10]
mov byte [edx + 0x2804], 0
mov dword [ebp - 0x1028], 0x400
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x808]
push edx
push 0x4cbfc8
push str.UpdateType
push str.DriverInfo
call fcn.00473be0
add esp, 0x18
test eax, eax
je 0x470968
lea eax, [ebp - 0x808]
push eax
call fcn.0048aed8
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x2978], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x2978], 0
jl 0x47095b
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x2978], 2
jle 0x470968
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x2978], 0
push str.LTloadUnf___:_success._n
push 0
call fcn.004714b0
add esp, 8
mov eax, 1
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret