Function at 0x4aedc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f6c63
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x7c]
test eax, eax
mov dword [esp + 0x20], eax
je 0x4aee1a
mov eax, dword [eax]
test eax, eax
je 0x4aee1a
push eax
call dword [0x610260]
lea eax, [ebx + 0x14]
push eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0x190], 0
call fcn.004e1ab0
mov byte [esp + 0x188], 1
mov esi, dword [esp + 0xcc]
test esi, esi
je 0x4aee61
lea ecx, [ecx]
mov ecx, esi
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [esi + 0x28]
push 1
call eax
test esi, esi
jne 0x4aee50
xor esi, esi
push str.TASK
lea ecx, [esp + 0x80]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
call dword [0x610498]
lea ecx, [esp + 0x7c]
lea edi, [esp + 0xb4]
mov byte [esp + 0x188], 2
call fcn.004e2070
mov edi, eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x68], edi
mov byte [esp + 0x188], 1
call dword [0x6105a0]
cmp edi, esi
je 0x4af355
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov byte [esp + 0x188], 5
mov eax, dword [ebx + 0x84]
mov eax, dword [eax]
lea edx, [ebx + 0x80]
mov esi, edx
mov edi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
cmp esi, ecx
mov ebx, dword [edx + 4]
je 0x4aef12
cmp esi, edx
je 0x4aef1a
call dword [0x6105e8]
xor ecx, ecx
cmp edi, ebx
je 0x4aeff1
cmp esi, ecx
jne 0x4aef2c
call dword [0x6105e8]
cmp edi, dword [esi + 4]
jne 0x4aef37
call dword [0x6105e8]
mov edx, dword [edi + 0x10]
cmp dword [edx + 0x70], 0x12c
lea ebx, [edi + 0x10]
jl 0x4aef6d
cmp edi, dword [esi + 4]
jne 0x4aef51
call dword [0x6105e8]
mov eax, dword [ebx]
cmp dword [eax + 0x70], 0x320
jge 0x4aef6d
cmp edi, dword [esi + 4]
jne 0x4aef67
call dword [0x6105e8]
lea esi, [esp + 0x2c]
jmp 0x4aefcf
cmp edi, dword [esi + 4]
jne 0x4aef78
call dword [0x6105e8]
mov ecx, dword [ebx]
cmp dword [ecx + 0x70], 0x320
jl 0x4aefaa
cmp edi, dword [esi + 4]
jne 0x4aef8e
call dword [0x6105e8]
mov edx, dword [ebx]
cmp dword [edx + 0x70], 0x578
jge 0x4aefaa
cmp edi, dword [esi + 4]
jne 0x4aefa4
call dword [0x6105e8]
lea esi, [esp + 0x4c]
jmp 0x4aefcf
cmp edi, dword [esi + 4]
jne 0x4aefb5
call dword [0x6105e8]
mov eax, dword [ebx]
cmp dword [eax + 0x70], 0x578
jne 0x4aefd5
cmp edi, dword [esi + 4]
jne 0x4aefcb
call dword [0x6105e8]
lea esi, [esp + 0x3c]
push ebx
call fcn.00422d80
lea esi, [esp + 0x24]
call fcn.004492e0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
jmp 0x4aef07
lea ecx, [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x70], ecx
lea edx, [esp + 0x4c]
lea eax, [esp + 0x3c]
push str.DOWNLOAD
lea ecx, [esp + 0x120]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call dword [0x610498]
push str.COMPLETE
lea ecx, [esp + 0x13c]
mov byte [esp + 0x18c], 6
call dword [0x610498]
push str.RECYCLE
lea ecx, [esp + 0x158]
mov byte [esp + 0x18c], 7
call dword [0x610498]
lea ecx, [esp + 0x11c]
mov byte [esp + 0x188], 8
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + edx + 0x70]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4af0cc
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x4af0cc
mov ebx, dword [esi + 8]
cmp ecx, ebx
jbe 0x4af09d
call dword [0x6105e8]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x4af0ab
call dword [0x6105e8]
cmp esi, esi
je 0x4af0b5
call dword [0x6105e8]
mov eax, ebx
sub eax, edi
push 0x477e00
sar eax, 2
push eax
push ebx
push edi
call fcn.0047a530
add esp, 0x10
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x4af0da
call dword [0x6105e8]
mov ebx, edi
lea esp, [esp]
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x24], eax
jbe 0x4af0f2
call dword [0x6105e8]
test esi, esi
je 0x4af0fa
cmp esi, esi
je 0x4af100
call dword [0x6105e8]
cmp ebx, dword [esp + 0x24]
je 0x4af176
mov ecx, dword [esp + 0x18]
cmp dword [esp + ecx + 0x5c], 0
jne 0x4af136
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x68]
lea edx, [esp + 0xb4]
push edx
call fcn.004e2140
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + ecx + 0x5c], eax
je 0x4af2dc
test esi, esi
jne 0x4af140
call dword [0x6105e8]
cmp ebx, dword [esi + 8]
jb 0x4af14b
call dword [0x6105e8]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x18]
mov ecx, dword [esp + ecx + 0x5c]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.004af810
cmp ebx, dword [esi + 8]
jb 0x4af16e
call dword [0x6105e8]
add ebx, 4
jmp 0x4af0e0
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 0x1c
add eax, 4
cmp eax, 0xc
mov dword [esp + 0x18], eax
jb 0x4af074
mov ecx, dword [esp + 0x6c]
lea edi, [esp + 0x98]
call fcn.004c97a0
mov edx, edi
mov bl, 9
push edx
mov byte [esp + 0x18c], bl
call fcn.004d7b40
add esp, 4
test al, al
jne 0x4af1bc
call fcn.004d83b0
push 0x6111d4
lea ecx, [esp + 0x80]
call dword [0x610498]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x18c], 0xa
call fcn.004e22e0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x17], al
mov byte [esp + 0x188], bl
call dword [0x6105a0]
lea ecx, [esp + 0x98]
mov byte [esp + 0x188], 8
call dword [0x6105a0]
mov byte [esp + 0x188], 5
mov ecx, dword [0x6105a0]
push ecx
push 3
push 0x1c
lea edx, [esp + 0x128]
push edx
call fcn.005e6ad6
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x4af244
push eax
call fcn.005e6954
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
je 0x4af261
push eax
call fcn.005e6954
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
je 0x4af27e
push eax
call fcn.005e6954
add esp, 4
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x18c], 0
call fcn.004e1b60
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x4af2b4
mov eax, dword [eax]
cmp eax, esi
je 0x4af2b4
push eax
call dword [0x61025c]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x188], 5
mov edx, dword [0x6105a0]
push edx
push 3
push 0x1c
lea eax, [esp + 0x128]
push eax
call fcn.005e6ad6
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x4af30f
push eax
call fcn.005e6954
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
je 0x4af32c
push eax
call fcn.005e6954
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
je 0x4af349
push eax
call fcn.005e6954
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
lea ecx, [esp + 0xb4]
push ecx
mov byte [esp + 0x18c], 0
call fcn.004e1b60
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x4af37f
mov eax, dword [eax]
cmp eax, esi
je 0x4af37f
push eax
call dword [0x61025c]
xor al, al
jmp 0x4af2b8