Function at 0x454d50
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58913e
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x603d70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x3c]
xor ebx, ebx
mov eax, 0xf
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], ebx
mov dword [ebp - 0x318], esi
mov byte [ecx], bl
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ebx
mov dword [ebp - 4], ebx
mov byte [esi + 0x58], bl
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ebx
mov byte [esi + 0x74], bl
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa0], ebx
mov byte [esi + 0x90], bl
mov dword [esi + 0xc0], eax
mov dword [esi + 0xbc], ebx
mov byte [esi + 0xac], bl
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], ebx
mov byte [ebp - 0x2f8], bl
push 9
push str.Completes
mov byte [ebp - 4], 5
mov dword [esi + 8], 0x1adf
mov byte [esi], bl
call fcn.00406f50
push 0xb
push str.Incompletes
lea ecx, [esi + 0x58]
mov byte [esi + 1], 1
call fcn.00406f50
push 1
push 0x5a9164
lea ecx, [esi + 0x74]
call fcn.00406f50
push 8
push str.Torrents
lea ecx, [esi + 0x90]
mov dword [esi + 2], 0x1000000
mov byte [esi + 6], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0x1ae1
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call fcn.00406f50
push 0x11
push str.p2p.taolegame.com
lea ecx, [esi + 0xac]
mov dword [esi + 0x28], 0x1b39
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0x14
mov dword [esi + 0x34], 0x7800
call fcn.00406f50
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [esi + 0xc8], 0x1b5a
mov dword [esi + 0x38], 0xa
call dword [0x5a227c]
lea eax, [ebp - 0x218]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x454eb0
sub eax, edi
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x2f8]
call fcn.00406f50
push 1
push 0xffffffffffffffff
push 0x5a3fb8
lea ecx, [ebp - 0x2f8]
call fcn.0043b1e0
push 1
push 0xffffffffffffffff
push 0x5a9164
lea ecx, [ebp - 0x2f8]
mov edi, eax
call fcn.0043b1e0
sub eax, edi
dec eax
push eax
inc edi
push edi
lea edx, [ebp - 0x314]
push edx
lea ecx, [ebp - 0x2f8]
call fcn.0042b6b0
mov edi, dword [0x5a24a4]
push 0x104
lea eax, [ebp - 0x114]
push eax
push str.TEMP
mov byte [ebp - 4], 6
call edi
cmp eax, 0x104
ja 0x454f36
cmp eax, ebx
jne 0x454f6b
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0x5ab2a0
call edi
cmp eax, 0x104
ja 0x454f54
cmp eax, ebx
jne 0x454f6b
mov edx, dword [str.C:Temp]
mov eax, dword [0x5ab29c]
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x274], 0xf
mov dword [ebp - 0x278], ebx
mov byte [ebp - 0x288], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x454f90
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x288]
call fcn.00406f50
mov eax, dword [ebp - 0x288]
mov edi, 0x10
mov byte [ebp - 4], 7
cmp dword [ebp - 0x274], edi
jae 0x454fc9
lea eax, [ebp - 0x288]
push eax
call fcn.0055eb36
add esp, 4
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0xa4
push ebx
call dword [0x5a2254]
push eax
call dword [0x5a287c]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x2c8], 0xf
mov dword [ebp - 0x2cc], ebx
mov byte [ebp - 0x2dc], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x455010
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00406f50
lea ecx, [ebp - 0x2dc]
push ecx
lea edx, [ebp - 0x2c0]
push edx
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00454b10
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x2c8], edi
jb 0x455060
mov eax, dword [ebp - 0x2dc]
push eax
call fcn.0045e9ee
add esp, 4
lea ecx, [ebp - 0x2c0]
push ecx
lea edx, [ebp - 0x234]
push 0x5ab294
push edx
mov dword [ebp - 0x2c8], 0xf
mov dword [ebp - 0x2cc], ebx
mov byte [ebp - 0x2dc], bl
call fcn.0044e7c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xb
call fcn.00408020
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x220], edi
jb 0x4550bc
mov eax, dword [ebp - 0x234]
push eax
call fcn.0045e9ee
add esp, 4
cmp dword [ebp - 0x278], ebx
je 0x4554ff
push 0x5a5668
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x2a4]
push edx
call fcn.0041cdb0
lea ecx, [ebp - 0x2c0]
push ecx
push eax
lea edx, [ebp - 0x234]
push edx
mov byte [ebp - 4], 0xc
call fcn.00431470
push 0x5a5668
push eax
lea eax, [ebp - 0x26c]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040a550
push str.Completes
push eax
lea ecx, [ebp - 0x250]
push ecx
mov byte [ebp - 4], 0xe
call fcn.0040a550
add esp, 0x30
push eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xf
call fcn.00408020
cmp dword [ebp - 0x23c], edi
jb 0x45514b
mov edx, dword [ebp - 0x250]
push edx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
cmp dword [ebp - 0x258], edi
jb 0x455178
mov eax, dword [ebp - 0x26c]
push eax
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x258], 0xf
mov dword [ebp - 0x25c], ebx
mov byte [ebp - 0x26c], bl
cmp dword [ebp - 0x220], edi
jb 0x4551a5
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x290], edi
jb 0x4551d6
mov edx, dword [ebp - 0x2a4]
push edx
call fcn.0045e9ee
add esp, 4
push 0x5a5668
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.0041cdb0
lea edx, [ebp - 0x2c0]
push edx
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 0x10
call fcn.00431470
push 0x5a5668
push eax
lea ecx, [ebp - 0x26c]
push ecx
mov byte [ebp - 4], 0x11
call fcn.0040a550
push str.AppData
push eax
lea edx, [ebp - 0x234]
push edx
mov byte [ebp - 4], 0x12
call fcn.0040a550
add esp, 0x30
push eax
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call fcn.00408020
cmp dword [ebp - 0x220], edi
jb 0x455259
mov eax, dword [ebp - 0x234]
push eax
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
cmp dword [ebp - 0x258], edi
jb 0x455286
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x258], 0xf
mov dword [ebp - 0x25c], ebx
mov byte [ebp - 0x26c], bl
cmp dword [ebp - 0x23c], edi
jb 0x4552b3
mov edx, dword [ebp - 0x250]
push edx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x290], edi
jb 0x4552e4
mov eax, dword [ebp - 0x2a4]
push eax
call fcn.0045e9ee
add esp, 4
push 0x5a5668
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x2a4]
push edx
call fcn.0041cdb0
lea ecx, [ebp - 0x2c0]
push ecx
push eax
lea edx, [ebp - 0x250]
push edx
mov byte [ebp - 4], 0x14
call fcn.00431470
push 0x5a5668
push eax
lea eax, [ebp - 0x26c]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040a550
push str.Incompletes
push eax
lea ecx, [ebp - 0x234]
push ecx
mov byte [ebp - 4], 0x16
call fcn.0040a550
add esp, 0x30
push eax
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0x17
call fcn.00408020
cmp dword [ebp - 0x220], edi
jb 0x455367
mov edx, dword [ebp - 0x234]
push edx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
cmp dword [ebp - 0x258], edi
jb 0x455394
mov eax, dword [ebp - 0x26c]
push eax
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x258], 0xf
mov dword [ebp - 0x25c], ebx
mov byte [ebp - 0x26c], bl
cmp dword [ebp - 0x23c], edi
jb 0x4553c1
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x290], edi
jb 0x4553f2
mov edx, dword [ebp - 0x2a4]
push edx
call fcn.0045e9ee
add esp, 4
push 0x5a5668
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.0041cdb0
lea edx, [ebp - 0x2c0]
push edx
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 0x18
call fcn.00431470
push 0x5a5668
push eax
lea ecx, [ebp - 0x26c]
push ecx
mov byte [ebp - 4], 0x19
call fcn.0040a550
push str.Torrents
push eax
lea edx, [ebp - 0x234]
push edx
mov byte [ebp - 4], 0x1a
call fcn.0040a550
add esp, 0x30
push eax
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0x1b
call fcn.00408020
cmp dword [ebp - 0x220], edi
jb 0x455478
mov eax, dword [ebp - 0x234]
push eax
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
cmp dword [ebp - 0x258], edi
jb 0x4554a5
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x258], 0xf
mov dword [ebp - 0x25c], ebx
mov byte [ebp - 0x26c], bl
cmp dword [ebp - 0x23c], edi
jb 0x4554d2
mov edx, dword [ebp - 0x250]
push edx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
cmp dword [ebp - 0x290], edi
jb 0x4554ff
mov eax, dword [ebp - 0x2a4]
push eax
call fcn.0045e9ee
add esp, 4
cmp dword [ebp - 0x2ac], edi
jb 0x455516
mov ecx, dword [ebp - 0x2c0]
push ecx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x2ac], 0xf
mov dword [ebp - 0x2b0], ebx
mov byte [ebp - 0x2c0], bl
cmp dword [ebp - 0x274], edi
jb 0x455543
mov edx, dword [ebp - 0x288]
push edx
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x274], 0xf
mov dword [ebp - 0x278], ebx
mov byte [ebp - 0x288], bl
cmp dword [ebp - 0x300], edi
jb 0x455570
mov eax, dword [ebp - 0x314]
push eax
call fcn.0045e9ee
add esp, 4
mov dword [ebp - 0x300], 0xf
mov dword [ebp - 0x304], ebx
mov byte [ebp - 0x314], bl
cmp dword [ebp - 0x2e4], edi
jb 0x45559d
mov ecx, dword [ebp - 0x2f8]
push ecx
call fcn.0045e9ee
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d11a
mov esp, ebp
pop ebp
ret