Function at 0x44d350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49629b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov esi, ecx
push str.CreatePackageDownloadInfo
push 0x4ab404
mov dword [esp + 0x44], esi
call fcn.0042af10
mov eax, dword [esi + 0x40]
add esp, 8
push str.Download
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [esi + 0x44], edi
mov dword [esp + 0x40], eax
je 0x44d44a
test eax, eax
je 0x44d44a
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call ebx
test ax, ax
jge 0x44d3ee
push 0x11
call ebx
test ax, ax
mov dword [esp + 0x38], 1
jl 0x44d3f2
mov dword [esp + 0x38], edi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x44]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x254]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
xor eax, eax
cmp dword [esi + 0x2c], eax
mov dword [esp + 0x34], eax
jg 0x44d4b4
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x20], edi
call fcn.0045ed7b
mov eax, dword [eax + 4]
cmp dword [eax + 0x68], 0
je 0x44d482
push 0xa
push 0x104
lea edx, [esp + 0x54]
push edx
push 0
push edi
call fcn.0047b5c3
push str.CreatePackageDownloadInfo
push 0x4ab404
lea esi, [esp + 0x68]
call fcn.0042b0b0
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.0047a105
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x34]
test eax, eax
jl 0x44d6b5
cmp eax, dword [esi + 0x2c]
jge 0x44d6b5
mov ecx, dword [esi + 0x28]
mov edi, dword [ecx + eax*4]
push esi
lea ebx, [esp + 0x1c]
mov ecx, edi
call fcn.0044d950
test eax, eax
je 0x44d68e
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x44d6ab
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 + 0x470], 0
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call edx
mov esi, dword [esp + 0x10]
push str.ItemName
call fcn.0042b470
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x44d53a
mov eax, str.NULL
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x24]
push str.SWType:_ld__PType:_lu__PDrvName:_s__SWVer:_s__Rgn:_s
push edx
call fcn.004045e0
mov esi, dword [esp + 0x2c]
push str.PkgInfo
call fcn.0042b470
add esp, 0x20
cmp dword [esp + 0x38], 0
je 0x44d5ba
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x44d583
mov eax, str.NULL
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
push 0xa
lea edx, [esp + 0x28]
push str.Call_Download_Function___nLevel_ld_nSoftwareType_ld_nParameterType_lu_nParameter_s_nSoftwareVersion_s_nRegion_s
push edx
call fcn.004045e0
mov eax, dword [esp + 0x30]
add esp, 0x20
push 0
push 0
push eax
call fcn.0045d96d
lea ecx, [esp + 0x18]
push ecx
push 0xa
call dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push edx
mov ebx, eax
push ebx
lea eax, [esp + 0x18]
push str.status:_p__bResult:_ld
push eax
call fcn.004045e0
mov esi, dword [esp + 0x20]
push str.CheckResult
call fcn.0042b470
add esp, 0x14
cmp dword [esp + 0x38], 0
je 0x44d61a
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
lea edx, [esp + 0x18]
push str.Return_Download_Function___nStatus_p_nbResult_ld
push edx
call fcn.004045e0
mov eax, dword [esp + 0x20]
add esp, 0x10
push 0
push 0
push eax
call fcn.0045d96d
test ebx, ebx
jne 0x44d65f
cmp dword [esp + 0x2c], ebx
je 0x44d65f
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [edx + ecx*4], eax
or dword [edi + 0xc], 0x10
cmp dword [esp + 0x18], ebx
jne 0x44d65a
mov edx, dword [esp + 0x24]
push edx
call fcn.00430640
mov ecx, dword [esi + 0x44]
add esp, 4
mov dword [esp + 0x48], edx
mov dword [ecx + 0x10], eax
add dword [esp + 0x14], 1
mov dword [esp + 0x470], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44d68a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
add eax, 1
cmp dword [esi + 0x2c], eax
mov dword [esp + 0x34], eax
jg 0x44d4b0
mov edi, dword [esp + 0x14]
jmp 0x44d444
push 0x80004005
call fcn.004022b0
jmp fcn.00455154