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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc7fe15
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0xcaf584]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0xcaf584]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x138], ebx
lea ecx, [esp + 0x68]
mov dword [esp + 0x64], vtable.tpsp::TASKLIST.0
call fcn.00c4e720
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x138], 1
mov eax, dword [esi + 0xc]
cmp eax, dword [edi + 0xc]
jle 0xbae0cc
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jle 0xbae0ec
nop
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
cmp edi, dword [esi + 0xc]
jl 0xbade6c
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x32], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 2
or dword [esp + 0x14], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x2a]
call fcn.00c2bc10
mov dword [esp + 0x138], 1
test byte [esp + 0x14], 1
je 0xbade8f
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0xd8]
call fcn.00c2b700
mov ecx, dword [esi + 8]
mov eax, dword [ecx + edi*4]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x30], edx
mov byte [esp + 0x138], 3
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], vtable.tpsp::TASKINDEX.0
call fcn.00c4e720
mov ecx, dword [0xcb7250]
mov edx, dword [0xcb7254]
mov eax, 0xcb06e0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0x98], 0xe10
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], ebx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x138], 4
xor edi, edi
cmp dword [eax + 0xc], ebx
jle 0xbae019
mov edi, edi
mov ecx, dword [esp + 0x20]
cmp edi, dword [ecx + 0xc]
jl 0xbadfa8
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x31], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 5
or dword [esp + 0x14], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x29]
call fcn.00c2bc10
mov dword [esp + 0x138], 4
test byte [esp + 0x14], 2
je 0xbadfcb
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x100]
call fcn.00c2b700
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
mov esi, dword [eax + edi*4]
lea ecx, [esp + 0x84]
cmp esi, ecx
je 0xbadffa
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0xc]
call eax
mov edx, esi
lea ecx, [esp + 0x84]
call fcn.00bbe7d0
mov ecx, dword [esp + 0x94]
cmp dword [esp + 0x30], ecx
je 0xbae08c
mov edx, dword [esp + 0x20]
inc edi
cmp edi, dword [edx + 0xc]
jl 0xbadf60
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 1
call fcn.00bbcdb0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
add edi, 0x3c
push eax
call fcn.00bada80
cmp eax, 0xffffffff
je 0xbae074
mov edi, dword [esp + 0x28]
add edi, 0x44
mov esi, eax
call fcn.00bb2c30
lea esi, [esp + 0x6c]
mov edi, eax
call fcn.00bb2b90
mov esi, eax
cmp edi, esi
je 0xbae074
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, edi
mov ecx, esi
call fcn.00bbe7d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ecx + 0xc]
jl 0xbade20
jmp 0xbae0ec
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 1
call fcn.00bbcdb0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add edi, 8
call fcn.00bb2c30
lea esi, [esp + 0x6c]
mov edi, eax
call fcn.00bb2b90
mov esi, eax
cmp edi, esi
je 0xbae074
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
jmp 0xbae06b
lea edx, [esp + 0x64]
cmp esi, edx
je 0xbae0ec
mov eax, dword [esp + 0x64]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x64]
call fcn.00bbc220
xor edi, edi
mov dword [esp + 0x1c], edi
mov byte [esp + 0x138], 6
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], vtable.tpsp::TASKLIST.0
call fcn.00c4e720
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x138], 7
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
jle 0xbae83e
mov eax, dword [esp + 0x28]
add eax, 0x3c
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x20]
cmp esi, ecx
jl 0xbae18d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x31], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 8
or dword [esp + 0x14], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x29]
call fcn.00c2bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 4
je 0xbae1b0
and dword [esp + 0x14], 0xfffffffb
lea ecx, [esp + 0x100]
call fcn.00c2b700
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x40]
push eax
call fcn.00bada80
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
jne 0xbae320
cmp esi, dword [esp + 0x70]
jl 0xbae216
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x32], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 9
or dword [esp + 0x14], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x2a]
call fcn.00c2bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 8
je 0xbae239
and dword [esp + 0x14], 0xfffffff7
lea ecx, [esp + 0x100]
call fcn.00c2b700
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov esi, dword [edx + esi*4]
cmp eax, ecx
jge 0xbae25d
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0xbae301
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0xbae270
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.00c2bf50
inc dword [esp + 0x54]
push 0x4c
call fcn.00c12640
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
cmp edi, ebx
je 0xbae2e8
mov byte [esp + 0x138], 0xb
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.00c4e720
mov edx, dword [0xcb7250]
mov ecx, dword [0xcb7254]
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov eax, 0xcb06e0
mov dword [edi + 0x44], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x14], 0xe10
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x48], ebx
jmp 0xbae2ea
xor edi, edi
mov byte [esp + 0x138], 7
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [eax + edx*4], edi
inc dword [esp + 0x50]
cmp esi, edi
je 0xbae825
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.00bbe7d0
jmp 0xbae825
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jge 0xbae6c6
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp edi, dword [ecx + 0x48]
jl 0xbae37c
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x42], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 0xc
or dword [esp + 0x14], 0x10
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x3a]
call fcn.00c2bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 0x10
je 0xbae39f
and dword [esp + 0x14], 0xffffffef
lea ecx, [esp + 0x100]
call fcn.00c2b700
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x44]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x38], ecx
mov byte [esp + 0x138], 0xd
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], vtable.tpsp::TASKINDEX.0
call fcn.00c4e720
mov edx, dword [0xcb7250]
mov ecx, dword [0xcb7254]
mov eax, 0xcb06e0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x98], 0xe10
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], ebx
mov byte [esp + 0x138], 0xe
mov eax, dword [esp + 0x70]
xor esi, esi
cmp eax, ebx
jle 0xbae523
cmp esi, eax
jl 0xbae4b4
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x43], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 0xf
or dword [esp + 0x14], 0x20
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x3b]
call fcn.00c2bc10
mov dword [esp + 0x138], 0xe
test byte [esp + 0x14], 0x20
je 0xbae4d7
and dword [esp + 0x14], 0xffffffdf
lea ecx, [esp + 0xd8]
call fcn.00c2b700
mov edx, dword [esp + 0x6c]
mov edi, dword [edx + esi*4]
lea eax, [esp + 0x84]
cmp edi, eax
je 0xbae505
mov edx, dword [esp + 0x84]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edx, edi
lea ecx, [esp + 0x84]
call fcn.00bbe7d0
mov ecx, dword [esp + 0x94]
cmp dword [esp + 0x38], ecx
je 0xbae5d1
mov eax, dword [esp + 0x70]
inc esi
cmp esi, eax
jl 0xbae4b4
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 7
call fcn.00bbcdb0
mov edx, dword [esp + 0x28]
cmp edi, dword [edx + 0x48]
jl 0xbae57f
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x33], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 0x10
or dword [esp + 0x14], 0x40
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x2b]
call fcn.00c2bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 0x40
je 0xbae5a2
and dword [esp + 0x14], 0xffffffbf
lea ecx, [esp + 0x100]
call fcn.00c2b700
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x2c]
mov esi, dword [ecx + edx*4]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], esi
cmp eax, ecx
jge 0xbae5ea
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0xbae699
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 7
call fcn.00bbcdb0
jmp 0xbae6af
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0xbae5fd
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.00c2bf50
mov edi, 1
add dword [esp + 0x54], edi
push 0x4c
call fcn.00c12640
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, ebx
je 0xbae67a
mov byte [esp + 0x138], 0x12
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.00c4e720
mov edx, dword [0xcb7250]
mov ecx, dword [0xcb7254]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov eax, 0xcb06e0
mov dword [esi + 0x44], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x14], 0xe10
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], ebx
jmp 0xbae67c
xor esi, esi
mov byte [esp + 0x138], 7
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [eax + edx*4], esi
add dword [esp + 0x50], edi
mov edi, esi
mov esi, dword [esp + 0x38]
cmp esi, edi
je 0xbae6af
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.00bbe7d0
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jl 0xbae330
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x70]
jl 0xbae70e
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x27], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 0x13
or dword [esp + 0x14], 0x80
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x1f]
call fcn.00c2bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 0x80
je 0xbae734
and dword [esp + 0x14], 0xffffff7f
lea ecx, [esp + 0x100]
call fcn.00c2b700
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov esi, dword [edx + ecx*4]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jge 0xbae75c
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0xbae800
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0xbae76f
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.00c2bf50
inc dword [esp + 0x54]
push 0x4c
call fcn.00c12640
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0xbae7e7
mov byte [esp + 0x138], 0x15
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.00c4e720
mov edx, dword [0xcb7250]
mov ecx, dword [0xcb7254]
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov eax, 0xcb06e0
mov dword [edi + 0x44], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x14], 0xe10
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x48], ebx
jmp 0xbae7e9
xor edi, edi
mov byte [esp + 0x138], 7
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [eax + edx*4], edi
inc dword [esp + 0x50]
cmp esi, edi
je 0xbae816
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.00bbe7d0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x1c], eax
jg 0xbae825
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
inc eax
mov dword [esp + 0x20], eax
cmp eax, ecx
jl 0xbae146
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x48]
cmp edi, eax
jge 0xbae9c1
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov esi, 0x100
cmp edx, dword [eax + 0x48]
jl 0xbae8a1
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x27], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 0x16
or dword [esp + 0x14], esi
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x1f]
call fcn.00c2bc10
mov dword [esp + 0x138], 7
test dword [esp + 0x14], esi
je 0xbae8c6
and dword [esp + 0x14], 0xfffffeff
lea ecx, [esp + 0x100]
call fcn.00c2b700
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x44]
mov eax, dword [esp + 0x1c]
mov esi, dword [edx + eax*4]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jge 0xbae8f1
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0xbae995
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0xbae904
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.00c2bf50
inc dword [esp + 0x54]
push 0x4c
call fcn.00c12640
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0xbae97c
mov byte [esp + 0x138], 0x18
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.00c4e720
mov edx, dword [0xcb7250]
mov ecx, dword [0xcb7254]
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov eax, 0xcb06e0
mov dword [edi + 0x44], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x14], 0xe10
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x48], ebx
jmp 0xbae97e
xor edi, edi
mov byte [esp + 0x138], 7
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [eax + edx*4], edi
inc dword [esp + 0x50]
cmp esi, edi
je 0xbae9ab
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.00bbe7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0x48]
jl 0xbae851
mov esi, dword [esp + 0x28]
add esi, 0x44
xor edi, edi
mov dword [esp + 0x1c], esi
cmp dword [esi + 4], ebx
jle 0xbae9e5
mov edx, dword [esi]
mov ecx, dword [edx + edi*4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
inc edi
cmp edi, dword [esi + 4]
jl 0xbae9d3
mov eax, dword [esp + 0x50]
xor edi, edi
mov dword [esi + 4], ebx
mov dword [esp + 0x20], edi
cmp eax, ebx
jle 0xbaed2f
jmp 0xbaea04
mov edi, dword [esp + 0x20]
cmp edi, eax
jl 0xbaea4a
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x27], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 0x19
or dword [esp + 0x14], 0x200
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x1f]
call fcn.00c2bc10
mov dword [esp + 0x138], 7
test dword [esp + 0x14], 0x200
je 0xbaea73
and dword [esp + 0x14], 0xfffffdff
lea ecx, [esp + 0x100]
call fcn.00c2b700
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0xc]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00b92c50
mov byte [esp + 0x138], 0x1a
mov edx, dword [esp + 0xe8]
cmp edx, 7
jb 0xbaeabf
mov edx, 7
cmp dword [esp + 0xec], 0x10
mov edi, dword [esp + 0xd8]
jae 0xbaead7
lea edi, [esp + 0xd8]
mov ecx, str.Removed
cmp edx, 4
jb 0xbaeaf5
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0xbaeaf9
sub edx, 4
add ecx, 4
add edi, 4
cmp edx, 4
jae 0xbaeae1
cmp edx, ebx
je 0xbaeb44
movzx eax, byte [edi]
movzx esi, byte [ecx]
sub eax, esi
jne 0xbaeb34
cmp edx, 1
jbe 0xbaeb40
movzx eax, byte [edi + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0xbaeb34
cmp edx, 2
jbe 0xbaeb40
movzx eax, byte [edi + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0xbaeb34
cmp edx, 3
jbe 0xbaeb40
movzx eax, byte [edi + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov esi, dword [esp + 0x1c]
sar eax, 0x1f
or eax, 1
jmp 0xbaeb46
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp eax, ebx
jne 0xbaeb67
mov eax, dword [esp + 0xe8]
cmp eax, 7
jae 0xbaeb5b
or eax, 0xffffffff
jmp 0xbaeb65
xor edx, edx
cmp eax, 7
setne dl
mov eax, edx
cmp eax, ebx
sete al
cmp al, bl
je 0xbaeb91
mov byte [esp + 0x138], 7
cmp dword [esp + 0xec], 0x10
jb 0xbaed01
mov eax, dword [esp + 0xd8]
push eax
jmp 0xbaecf9
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x50]
jl 0xbaebdd
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x90]
mov byte [esp + 0x33], bl
call fcn.00c2b6d0
mov byte [esp + 0x138], 0x1b
or dword [esp + 0x14], 0x400
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00c2b9c0
push eax
lea ecx, [esp + 0x2b]
call fcn.00c2bc10
mov dword [esp + 0x138], 0x1a
test dword [esp + 0x14], 0x400
je 0xbaec06
and dword [esp + 0x14], 0xfffffbff
lea ecx, [esp + 0x84]
call fcn.00c2b700
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + edi*4]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], edx
cmp eax, ecx
jge 0xbaec29
mov ecx, dword [esi]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esi + 4], eax
jmp 0xbaecc5
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne 0xbaec39
inc eax
push eax
mov ecx, esi
call fcn.00c2bf50
inc dword [esi + 8]
push 0x4c
call fcn.00c12640
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0xbaecb0
mov byte [esp + 0x138], 0x1d
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.00c4e720
mov edx, dword [0xcb7250]
mov ecx, dword [0xcb7254]
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov eax, 0xcb06e0
mov dword [edi + 0x44], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x14], 0xe10
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x48], ebx
jmp 0xbaecb2
xor edi, edi
mov byte [esp + 0x138], 0x1a
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [eax + edx*4], edi
inc dword [esi + 4]
cmp dword [esp + 0x30], edi
je 0xbaecdf
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00bbe7d0
mov byte [esp + 0x138], 7
cmp dword [esp + 0xec], 0x10
jb 0xbaed01
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00c125e4
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
inc ecx
mov byte [esp + 0xd8], bl
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], 0xf
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0xbaea00
mov edi, vtable.tpsp::TASKLIST.0
mov dword [esp + 0x44], edi
mov byte [esp + 0x138], 0x1f
xor esi, esi
cmp dword [esp + 0x54], ebx
jle 0xbaed6a
jmp 0xbaed50
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0xbaed63
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc esi
cmp esi, dword [esp + 0x54]
jl 0xbaed50
mov eax, dword [esp + 0x4c]
push eax
call fcn.00c13498
add esp, 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x138], 0x1e
call fcn.00c4ead0
lea ecx, [esp + 0x44]
mov byte [esp + 0x138], 1
call fcn.00c2c7c0
mov dword [esp + 0x64], edi
mov dword [esp + 0x138], 0x21
xor esi, esi
cmp dword [esp + 0x74], ebx
jle 0xbaedca
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebx
je 0xbaedc3
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, dword [esp + 0x74]
jl 0xbaedb0
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00c13498
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x138], 0x20
call fcn.00c4ead0
lea ecx, [esp + 0x64]
mov dword [esp + 0x138], 0xffffffff
call fcn.00c2c7c0
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00c12239
mov esp, ebp
pop ebp
ret 4