Function at 0x43e110
Capabilities:
Read .ini file
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480158
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push str.QueryItemMatchingFileSpec
push 0x493ec0
call fcn.00420ef0
add esp, 8
mov dword [esp + 0x14], 2
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e170
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], 0
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e1a2
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x40], 1
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e1d1
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov ecx, dword [ebp + 8]
mov byte [esp + 0x40], 2
mov eax, dword [ecx + 0x3c]
cmp eax, 2
je 0x43e1fa
cmp eax, 3
jne 0x43e3b8
mov ecx, dword [ecx + 0x44]
mov esi, dword [ecx + 8]
push str.LogFilePath
call fcn.00421450
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
add esp, 4
or eax, ecx
jge 0x43e233
push 0x104
lea ecx, [esp + 0x1c]
call fcn.004047c0
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
push 0x104
push edi
push 0x48da18
push str.Firmware
push str.DownDLLLog
call esi
test eax, eax
jbe 0x43e3b8
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x43e288
push 0x104
lea ecx, [esp + 0x20]
call fcn.004047c0
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 8]
push ecx
push 0x104
push ebx
push 0x48da18
push str.Param
push str.DownDLLLog
call esi
test edi, edi
jne 0x43e2b1
xor eax, eax
jmp 0x43e2cb
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e2b6
sub eax, edx
sar eax, 1
js 0x43e454
cmp eax, dword [edi - 8]
jg 0x43e454
test ebx, ebx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
jne 0x43e2e5
xor eax, eax
jmp 0x43e305
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e2f0
sub eax, edx
sar eax, 1
js 0x43e454
cmp eax, dword [ebx - 8]
jg 0x43e454
mov dword [ebx - 0xc], eax
push str.Firmware
mov esi, edi
mov word [ebx + eax*2], 0
call fcn.00421450
add esp, 4
push str.Param
mov esi, ebx
call fcn.00421450
add esp, 4
lea edx, [esp + 0x10]
push edx
push str.EPFWUPD.EXE
push edi
call fcn.0043de10
mov esi, dword [esp + 0x1c]
add esp, 0xc
push str.EPFWUPD.EXE
mov dword [esp + 0x24], eax
call fcn.00421450
add esp, 4
cmp dword [esp + 0x20], 0
je 0x43e3b8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push 5
push ecx
mov ecx, ebx
call fcn.0042d480
add esp, 0xc
test eax, eax
je 0x43e3b8
mov esi, dword [esp + 0x24]
test esi, esi
je 0x43e3b8
push esi
push str.ProcessHandle
call fcn.004216a0
mov edx, dword [esp + 0x30]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43e3b8
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x14]
push ecx
push str.QueryItemMatchingFileSpec
push 0x493ec0
call fcn.00421170
mov esi, dword [esp + 0x20]
add edi, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x40], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43e3f4
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x40], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e415
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e43d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402720
int3