Function at 0x43c730
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4811eb
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4a4a28]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov esi, ecx
push str.CreatePackageDownloadInfo
push 0x493ec0
mov dword [esp + 0x44], esi
call fcn.00420ef0
mov eax, dword [esi + 0x40]
add esp, 8
push str.Download
xor edi, edi
push eax
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [esi + 0x44], edi
mov dword [esp + 0x40], eax
je 0x43ca0d
test eax, eax
je 0x43ca0d
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call ebx
test ax, ax
jge 0x43c7d2
push 0x11
call ebx
test ax, ax
mov dword [esp + 0x30], 1
jl 0x43c7d6
mov dword [esp + 0x30], edi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x44]
mov ecx, dword [eax]
lea edx, [esp + 0x24c]
xor ebx, ebx
cmp dword [esi + 0x2c], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
jle 0x43ca07
mov dword [esp + 0x38], 0x20
test ebx, ebx
jl 0x43ca78
cmp ebx, dword [esi + 0x2c]
jge 0x43ca78
mov ecx, dword [esi + 0x28]
mov edi, dword [ecx + ebx*4]
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0043ccd0
test eax, eax
je 0x43c9f3
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43ca6e
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 + 0x468], 0
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
mov esi, dword [esp + 0x14]
push str.ItemName
call fcn.00421450
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esp, 4
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push str.SWType:_ld__PDrvName:_s__SWVer:_s__Rgn:_s
push ecx
call fcn.004048d0
mov esi, dword [esp + 0x2c]
push str.PkgInfo
call fcn.00421450
add esp, 0x1c
cmp dword [esp + 0x30], 0
je 0x43c908
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push 3
lea eax, [esp + 0x28]
push str.Call_Download_Function___nLevel_ld_nSoftwareType_ld_nPrinterDriverName_s_nSoftwareVersion_s_nRegion_s
push eax
call fcn.004048d0
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push 0
push 0
push ecx
call fcn.0044b320
lea edx, [esp + 0x18]
push edx
push 3
call dword [esp + 0x48]
mov ebx, eax
mov eax, dword [esp + 0x28]
push eax
push ebx
lea ecx, [esp + 0x1c]
push str.status:_p__bResult:_ld
push ecx
call fcn.004048d0
mov esi, dword [esp + 0x24]
push str.CheckResult
call fcn.00421450
add esp, 0x14
cmp dword [esp + 0x30], 0
je 0x43c968
mov edx, dword [esp + 0x28]
push edx
push ebx
lea eax, [esp + 0x1c]
push str.Return_Download_Function___nStatus_p_nbResult_ld
push eax
call fcn.004048d0
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0
push 0
push ecx
call fcn.0044b320
test ebx, ebx
jne 0x43c9c0
cmp dword [esp + 0x28], ebx
je 0x43c9c0
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x44]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov dword [esi + edx], ecx
or dword [edi + 0xc], 0x10
mov edx, dword [eax + 0x44]
mov edx, dword [edx + 4]
test edx, edx
je 0x43c9b6
mov eax, edx
lea ecx, [edi + 0x1c]
lea edi, [eax + 2]
lea ebx, [ebx]
mov si, word [eax]
add eax, 2
test si, si
jne 0x43c9a0
sub eax, edi
sar eax, 1
push eax
push edx
call fcn.00404e80
add dword [esp + 0x34], 1
add dword [esp + 0x38], 4
mov dword [esp + 0x468], 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 0x43c9eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
add ebx, 1
cmp dword [esi + 0x2c], ebx
mov dword [esp + 0x2c], ebx
jg 0x43c81e
mov edi, dword [esp + 0x34]
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x1c], edi
call fcn.0044bc48
mov eax, dword [eax + 4]
cmp dword [eax + 0x68], 0
je 0x43ca48
push 0xa
push 0x104
lea edx, [esp + 0x4c]
push edx
push 0
push edi
call fcn.004685cf
add esp, 0x14
push str.CreatePackageDownloadInfo
push 0x493ec0
lea esi, [esp + 0x4c]
call fcn.00421090
add esp, 8
mov eax, edi
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.00467769
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402720
jmp fcn.00442afc