Function at 0x100033d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10011656
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x8c0], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x8d8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x3a
push eax
mov word [esp + 0x8c], ax
xor edi, edi
lea eax, [esp + 0x8e]
push eax
call fcn.10008fa0
add esp, 0xc
xor eax, eax
mov word [esp + 0xfc], ax
push 0x3a
push eax
lea eax, [esp + 0x106]
push eax
call fcn.10008fa0
add esp, 0xc
xor eax, eax
mov word [esp + 0x4bc], ax
push 0x206
push eax
lea eax, [esp + 0x4c6]
push eax
call fcn.10008fa0
add esp, 0xc
xor eax, eax
mov word [esp + 0x2b4], ax
push 0x206
push eax
lea eax, [esp + 0x2be]
push eax
call fcn.10008fa0
add esp, 0xc
xor eax, eax
mov word [esp + 0xc0], ax
push 0x3a
push eax
lea eax, [esp + 0xca]
push eax
call fcn.10008fa0
add esp, 0xc
xor eax, eax
mov word [esp + 0x48], ax
push 0x3a
push eax
lea eax, [esp + 0x52]
push eax
call fcn.10008fa0
add esp, 0xc
xor eax, eax
mov word [esp + 0x138], ax
push 0x3a
push eax
lea eax, [esp + 0x142]
push eax
call fcn.10008fa0
add esp, 0xc
xor eax, eax
mov word [esp + 0x6c4], ax
push 0x206
push eax
lea eax, [esp + 0x6ce]
push eax
call fcn.10008fa0
add esp, 0xc
mov dword [esp + 0x14], edi
xor eax, eax
mov word [esp + 0x174], ax
push 0x3e
push eax
lea eax, [esp + 0x17e]
push eax
call fcn.10008fa0
add esp, 0xc
test esi, esi
je 0x10003965
push str._VERSIONCHECK
push esi
call fcn.100047e3
add esp, 8
test eax, eax
je 0x10003854
push str._COMMON
push esi
mov dword [esp + 0x1c], 1
call fcn.100047e3
add esp, 8
test eax, eax
je 0x1000355d
mov bl, 1
jmp 0x10003575
push str._DEVICEDEPEND
push esi
call fcn.100047e3
add esp, 8
test eax, eax
je 0x10003965
mov bl, 2
push 0x104
lea eax, [esp + 0x4c0]
mov byte [esp + 0x14], bl
push eax
push dword [0x1001c134]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x4bc]
push 0x5c
push eax
call fcn.1000473d
add esp, 8
test eax, eax
jne 0x100035b2
mov eax, 0x12007f
jmp 0x1000396a
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x4bc]
push eax
lea eax, [esp + 0x2b8]
push 0x104
push eax
call fcn.10004ae2
add esp, 0xc
lea eax, [esp + 0x2b4]
push 0x10017618
push 0x104
push eax
call fcn.10004a76
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x2c0]
add esp, 0xc
push eax
push 0x1e
lea eax, [esp + 0x104]
push eax
push 0x100176a0
push str.SGNAME
push str.Strings
call edi
test eax, eax
jne 0x10003625
mov eax, 0x16007f
jmp 0x1000396a
cmp bl, 2
jne 0x100036a3
push 0x208
lea eax, [esp + 0x2b8]
push 0
push eax
call fcn.10008fa0
add esp, 0xc
lea eax, [esp + 0x4bc]
push eax
lea eax, [esp + 0x2b8]
push 0x104
push eax
call fcn.10004ae2
add esp, 0xc
lea eax, [esp + 0x2b4]
push str.SETUP02.ini
push 0x104
push eax
call fcn.10004a76
add esp, 0xc
lea eax, [esp + 0x2b4]
push eax
push 0x1e
lea eax, [esp + 0x8c]
push eax
push 0x100176a0
push str.CNCRFN
push str.Strings
call edi
test eax, eax
je 0x1000361b
lea eax, [esp + 0x2b4]
push eax
push 0x1e
lea eax, [esp + 0x280]
push eax
push 0x100176a0
push str.DriverVer
push str.Version
call edi
test eax, eax
jne 0x100036d4
mov eax, 0x19007f
jmp 0x1000396a
lea eax, [esp + 0x278]
push 0x2c
push eax
call fcn.1000473d
add esp, 8
test eax, eax
je 0x100036ca
add eax, 2
push eax
lea eax, [esp + 0xc4]
push 0x1e
push eax
call fcn.10004ae2
add esp, 0xc
lea eax, [esp + 0x138]
lea edx, [esp + 0x48]
cmp bl, 2
jne 0x1000371b
push 2
lea ecx, [esp + 0x88]
jmp 0x10003726
push dword [esp + 0x10]
lea ecx, [esp + 0x100]
push eax
call fcn.10002ae0
add esp, 8
test eax, eax
je 0x1000373d
mov edi, 0x28
jmp 0x10003885
lea edx, [esp + 0x48]
lea ecx, [esp + 0xc0]
call fcn.10002310
mov edi, eax
cmp edi, 0x28
je 0x1000376d
cmp edi, 0xa
je 0x1000376d
cmp edi, 0x14
je 0x10003776
cmp edi, 0x1e
je 0x1000376d
mov eax, 0x24007f
jmp 0x1000396a
cmp edi, 0x14
jne 0x10003885
push str._MACADDR:
push esi
call fcn.100047e3
mov edi, eax
add esp, 8
test edi, edi
je 0x10003951
cmp bl, 2
jne 0x10003951
push 0x40
lea eax, [esp + 0x238]
push 0
push eax
call fcn.10008fa0
add esp, 0xc
lea eax, [esp + 0x1b8]
push 0x3c
push 0
push eax
call fcn.10008fa0
add esp, 0xc
lea eax, [esp + 0x1b8]
push str.SG20
push 0x1e
push eax
call fcn.10004ae2
add esp, 0xc
lea eax, [esp + 0x234]
push 0x15
push edi
push 0x20
push eax
call fcn.10004edd
xor eax, eax
mov dword [esp + 0x54], 7
add esp, 0x10
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
lea edx, [esp + 0x30]
mov dword [esp + 0x8e0], eax
mov ecx, esi
call fcn.10002fb0
cmp dword [esp + 0x44], 8
mov ecx, dword [esp + 0x30]
jae 0x10003823
lea ecx, [esp + 0x30]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x1bc]
push eax
lea edx, [esp + 0x23c]
call fcn.100031f0
add esp, 8
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.10003a30
mov eax, esi
jmp 0x1000396a
push str._DEVICENAME:
push esi
mov byte [esp + 0x18], 2
call fcn.100047e3
add esp, 8
test eax, eax
je 0x10003965
add eax, 0x18
push eax
lea eax, [esp + 0x178]
push 0x20
push eax
call fcn.10004ae2
add esp, 0xc
push str._MACADDR:
push esi
call fcn.100047e3
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100038c7
push 0x16
push ebx
call fcn.100044b3
add esp, 8
cmp eax, 0x15
jb 0x10003965
push 0xc
lea eax, [ebx + 0x12]
push eax
lea eax, [esp + 0x1fc]
push 0x20
push eax
call fcn.10004edd
add esp, 0x10
jmp 0x100038d1
xor eax, eax
mov word [esp + 0x1f4], ax
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov dword [esp + 0x8e0], 1
mov ecx, esi
call fcn.10002fb0
cmp dword [esp + 0x2c], 8
mov ecx, dword [esp + 0x18]
jae 0x1000390d
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x6c8]
push eax
push edi
lea eax, [esp + 0x180]
push eax
push dword [esp + 0x20]
lea edx, [esp + 0x208]
push dword [esp + 0x28]
call fcn.100012e0
add esp, 0x18
lea ecx, [esp + 0x6c4]
mov esi, eax
call fcn.10002560
lea ecx, [esp + 0x18]
call fcn.10003a30
test esi, esi
jne 0x10003955
xor eax, eax
jmp 0x1000396a
cmp esi, 0x80
jne 0x1000384d
mov eax, esi
jmp 0x1000396a
mov eax, 0x7f
mov ecx, dword [esp + 0x8d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c0]
xor ecx, esp
call fcn.100044a4
mov esp, ebp
pop ebp
ret