Function at 0x43cb20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x493d38
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x34]
xor esi, esi
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], esi
call fcn.00404740
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.EpsonDownload.log
mov dword [esp + 0x34], esi
call fcn.004339c0
add esp, 4
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43cb8f
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 + 0x1c], eax
mov byte [esp + 0x30], 1
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43cbbe
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x30], 2
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x1c]
cmp dword [eax + 0xc], ecx
jle 0x43cbf4
test ecx, ecx
jl 0x43cbef
cmp ecx, dword [eax + 0xc]
jge 0x43cbef
mov edx, dword [eax + 8]
mov ebp, dword [edx + ecx*4]
jmp 0x43cbf6
call fcn.00455154
xor ebp, ebp
test ebp, ebp
je 0x43cd25
mov eax, dword [ebp]
mov edx, dword [eax + 0x80]
push 1
mov ecx, ebp
call edx
mov edi, dword [edi + 8]
push edi
lea edi, [esp + 0x20]
xor eax, eax
call fcn.00430810
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
add esp, 4
push ecx
push str.ParseIDEALogEntry
mov ecx, ebp
call edx
test eax, eax
je 0x43cd16
mov eax, dword [ebp]
mov edx, dword [eax + 0x78]
mov ecx, edi
push ecx
push 2
mov ecx, ebp
call edx
test eax, eax
je 0x43cd16
mov eax, dword [esi - 8]
mov edi, dword [esp + 0x20]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x410
or eax, ecx
jge 0x43cc7c
push 0x410
lea ecx, [esp + 0x1c]
call fcn.004044c0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edi
push 0x410
push esi
push 0x49f850
push eax
push str.DownDLLLog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x43cd16
test esi, esi
jne 0x43cca4
xor eax, eax
jmp 0x43ccc5
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ccb0
sub eax, edx
sar eax, 1
js 0x43cdad
cmp eax, dword [esi - 8]
jg 0x43cdad
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov esi, dword [esp + 0x38]
call fcn.00430420
lea ecx, [esp + 0x18]
push ecx
mov ebx, eax
call fcn.004339c0
lea edx, [esp + 0x1c]
add esp, 4
push edx
call fcn.00439a70
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x43cd12
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x18]
push eax
call fcn.00405560
mov esi, dword [esp + 0x18]
mov edx, dword [ebp]
mov eax, dword [edx + 0x80]
push 0
mov ecx, ebp
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cd46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cd6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cd93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
push 0x80070057
call fcn.004022b0
int3