Function at 0x44ec30
Capabilities:
Check if file exists
Log keystrokes via polling
Read .ini file
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4941e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
push str.ExecuteDownloadItem
push 0x4ab404
call fcn.0042af10
add esp, 8
mov dword [esp + 0x18], 2
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44ec90
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 + 0x14], eax
mov dword [esp + 0x48], 0
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44ecc2
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov byte [esp + 0x48], 1
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44ecf1
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 8]
mov byte [esp + 0x48], 2
mov eax, dword [ecx + 0x3c]
cmp eax, 2
je 0x44ed1a
cmp eax, 3
jne 0x44f04b
mov ecx, dword [ecx + 0x44]
mov esi, dword [ecx + 0xc]
push str.LogFilePath
call fcn.0042b470
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
add esp, 4
or eax, ecx
jge 0x44ed53
push 0x104
lea ecx, [esp + 0x20]
call fcn.004044c0
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
push 0x104
push ebx
push 0x49f850
push str.Firmware
push str.DownDLLLog
call esi
test eax, eax
jbe 0x44f04b
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x44eda8
push 0x104
lea ecx, [esp + 0x24]
call fcn.004044c0
mov edi, dword [esp + 0x20]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0xc]
push ecx
push 0x104
push edi
push 0x49f850
push str.Param
push str.DownDLLLog
call esi
test ebx, ebx
jne 0x44edd1
xor eax, eax
jmp 0x44edeb
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44edd6
sub eax, edx
sar eax, 1
js 0x44eec2
cmp eax, dword [ebx - 8]
jg 0x44eec2
test edi, edi
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], 0
jne 0x44ee05
xor eax, eax
jmp 0x44ee25
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44ee10
sub eax, edx
sar eax, 1
js 0x44eec2
cmp eax, dword [edi - 8]
jg 0x44eec2
mov dword [edi - 0xc], eax
push str.Firmware
mov esi, ebx
mov word [edi + eax*2], 0
call fcn.0042b470
add esp, 4
push str.Param
mov esi, edi
call fcn.0042b470
add esp, 4
lea edx, [esp + 0x14]
push edx
push str.EPFWUPD.EXE
push ebx
call fcn.0044e930
mov esi, dword [esp + 0x20]
add esp, 0xc
push str.EPFWUPD.EXE
mov dword [esp + 0x2c], eax
call fcn.0042b470
add esp, 4
cmp dword [esp + 0x28], 0
je 0x44f04b
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call esi
test ax, ax
jge 0x44eecc
push 0x11
call esi
test ax, ax
jge 0x44eecc
mov dword [esp + 0x28], 1
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44eed9
push 0x80004005
call fcn.004022b0
push 0x80070057
call fcn.004022b0
mov dword [esp + 0x28], 0
jmp 0x44ef75
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x48], 3
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44ef11
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
mov eax, str.Missing
je 0x44ef16
mov eax, str.Staying
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [esp + 0x30]
push str.Downloaded_item_is_launched._nCMD:_s_nOPT:_s_nSTS:_s
push ecx
call fcn.004045e0
mov esi, dword [esp + 0x38]
add esp, 0x14
push 0
push 0x24
push esi
call fcn.0045d96d
xor edx, edx
cmp eax, 6
sete dl
lea eax, [esi - 0x10]
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
mov dword [esp + 0x24], edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ef6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0
je 0x44f043
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push 5
push edx
mov ecx, edi
call fcn.004395b0
add esp, 0xc
test eax, eax
je 0x44efbb
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x44efbb
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44efbb
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x28], 0
je 0x44f04b
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44efe0
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 + 0x28], eax
mov byte [esp + 0x48], 4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edi
push edx
lea eax, [esp + 0x34]
push str.Terminated_downloaded_item._nCMD:_s_nOPT:_s_nSTS:_lu
push eax
call fcn.004045e0
mov esi, dword [esp + 0x3c]
add esp, 0x14
push 0
push 0x40
push esi
call fcn.0045d96d
lea eax, [esi - 0x10]
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f04b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x44f04b
mov dword [esp + 0x18], 0x4c7
mov ecx, dword [esp + 0x18]
push ecx
push str.ExecuteDownloadItem
push 0x4ab404
call fcn.0042b190
mov esi, dword [esp + 0x24]
add ebx, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x48], 1
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x44f087
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0xfffffff0
mov byte [esp + 0x48], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44f0a8
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x48], 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 0x44f0d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4