Function at 0x43c7a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x496520
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x44]
xor edi, edi
cmp ebx, edi
je 0x43cab0
cmp word [ebx], di
je 0x43cab0
mov esi, dword [esp + 0x3c]
test byte [esi + 0xc], 0x10
je 0x43cab0
call fcn.0045525d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x43c806
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], edi
mov ebp, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov eax, ebp
mov dword [esp + 0x24], ecx
and eax, 0x400000
xor ecx, ecx
or eax, ecx
je 0x43c844
push 0x4a933c
lea ecx, [esp + 0x1c]
call fcn.00404a80
jmp 0x43c93c
mov eax, ebp
xor ecx, ecx
and eax, 0x2000000
or eax, ecx
lea ecx, [esp + 0x18]
je 0x43c864
push str.ScannerDriver
call fcn.00404a80
jmp 0x43c93c
lea edx, [esp + 0x1c]
push edx
mov edx, esi
mov dword [esp + 0x20], edi
call fcn.0043c270
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x43c898
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push 0x4a0734
push ecx
call fcn.004045e0
add esp, 0xc
jmp 0x43c93c
mov esi, dword [esi + 4]
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0xc], eax
jle 0x43c8b9
cmp eax, edi
jl 0x43c8b4
cmp eax, dword [esi + 0xc]
jge 0x43c8b4
mov edx, dword [esi + 8]
mov esi, dword [edx + eax*4]
jmp 0x43c8bb
call fcn.00455154
xor esi, esi
cmp esi, edi
je 0x43ca88
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
push 1
mov ecx, esi
call edx
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
push eax
lea edi, [esp + 0x1c]
xor eax, eax
call fcn.00430810
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 0x1c]
add esp, 4
push ecx
push edx
mov ecx, esi
call eax
test eax, eax
je 0x43c91e
mov edx, dword [esi]
mov edx, dword [edx + 0x78]
mov eax, edi
push eax
push 1
mov ecx, esi
call edx
mov ecx, dword [ebx + 4]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00435540
jmp 0x43c922
mov edi, dword [esp + 0x20]
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
push 0
mov ecx, esi
call eax
test edi, edi
je 0x43ca88
mov ebx, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x44]
call fcn.00404740
lea ecx, [esp + 0x44]
call fcn.00402380
lea ecx, [esp + 0x40]
push ecx
mov ebx, str.EpsonDownload.log
mov byte [esp + 0x38], 2
call fcn.004339c0
add esp, 4
and ebp, 0x2400000
mov dword [esp + 0x20], ebp
mov eax, 0
jne 0x43c99e
test eax, eax
jne 0x43c99e
mov edx, dword [esp + 0x18]
push edx
call fcn.00430640
add esp, 4
test eax, eax
jne 0x43c99e
test edx, edx
jne 0x43c99e
push str.InsallPlus
lea ecx, [esp + 0x1c]
call fcn.00404a80
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
push eax
push 0x410
push 0x410
lea ecx, [esp + 0x50]
call fcn.00404490
push eax
push 0x49f850
push esi
push str.DownDLLLog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, dword [esp + 0x44]
xor ecx, ecx
cmp ecx, eax
sbb edx, edx
neg edx
je 0x43ca42
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
call fcn.0040b620
push 0x5c
push edi
call fcn.0047b8c0
add esp, 8
test eax, eax
jne 0x43c9f9
or eax, 0xffffffff
jmp 0x43c9fd
sub eax, edi
sar eax, 1
mov ecx, dword [edi - 0xc]
add ecx, 0xffffffff
cmp eax, ecx
jne 0x43ca37
mov eax, dword [edi - 0xc]
add eax, 0xffffffff
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
call fcn.00409970
mov ebx, dword [esp + 0x3c]
mov byte [esp + 0x34], 3
mov esi, dword [eax]
call fcn.00439d30
lea ecx, [esp + 0x20]
call fcn.00402360
jmp 0x43ca42
mov ebx, dword [esp + 0x3c]
mov esi, edi
call fcn.00439d30
add edi, 0xfffffff0
mov byte [esp + 0x34], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ca63
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ca88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cab0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc