Function at 0x4361b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x48a241
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x230]
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43620b
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x228], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x436240
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x200
lea ecx, [esp + 0x20]
push 0
push ecx
mov byte [esp + 0x234], 1
call fcn.0046c870
movsx esi, bl
push esi
lea edx, [esp + 0x24]
push str._c:_
push edx
call fcn.004067e0
push esi
lea eax, [esp + 0x34]
push 0x49c848
push eax
call fcn.004067e0
push str.driverparam.ini
lea ecx, [esp + 0x38]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
push 0
push eax
call fcn.0046b81d
xor edx, edx
add esp, 0x38
cmp eax, 0xffffffff
mov eax, dword [esp + 0x10]
setne dl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov esi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4362d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
lea ecx, [esp + 0x10]
je 0x4362e6
push str.driverparam.ini
jmp 0x4362eb
push str.param.ini
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
mov edi, dword [esp + 0x24]
add esp, 0xc
push eax
push 0x200
lea edx, [esp + 0x24]
push edx
push 0x494704
push edi
push str.DRIVER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43633b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x436342
sub eax, edx
je 0x4364dd
mov ecx, ebp
call fcn.00435650
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jle 0x436557
movzx ecx, bl
push ecx
push eax
call fcn.0046b659
add esp, 8
test eax, eax
je 0x436557
sub eax, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x436557
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4363a2
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push 0x49c650
push ecx
mov byte [esp + 0x230], 2
call fcn.004067e0
mov esi, dword [esp + 0x18]
add esp, 8
push 0
push 4
push esi
call fcn.0044f968
cmp eax, 7
jne 0x43640c
lea eax, [esi - 0x10]
mov byte [esp + 0x228], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4364dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4364dd
lea ecx, [esp + 0x1c]
push ecx
push 0x49c738
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
test eax, eax
je 0x4364ab
push 0
push ebx
mov ecx, ebp
call fcn.00435a60
lea eax, [esi - 0x10]
mov byte [esp + 0x228], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436452
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x228], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436476
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4364a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x43652e
lea eax, [esi - 0x10]
mov byte [esp + 0x228], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4364cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push 0x49c740
call fcn.0044f968
lea eax, [edi - 0x10]
mov byte [esp + 0x228], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43652c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00468ce5
add esp, 0x21c
ret 4
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
test eax, eax
je 0x4364cf
push 0
push ebx
mov ecx, ebp
call fcn.00435a60
lea eax, [edi - 0x10]
mov byte [esp + 0x228], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43659d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x228], 0xffffffff
lea eax, [esi - 0x10]
jmp 0x436488