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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x12ffe15
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x132f584]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x132f584]
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.012ce720
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 0x122e0cc
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jle 0x122e0ec
nop
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
cmp edi, dword [esi + 0xc]
jl 0x122de6c
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x32], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 2
or dword [esp + 0x14], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x2a]
call fcn.012abc10
mov dword [esp + 0x138], 1
test byte [esp + 0x14], 1
je 0x122de8f
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0xd8]
call fcn.012ab700
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.012ce720
mov ecx, dword [0x1337250]
mov edx, dword [0x1337254]
mov eax, 0x13306e0
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 0x122e019
mov edi, edi
mov ecx, dword [esp + 0x20]
cmp edi, dword [ecx + 0xc]
jl 0x122dfa8
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x31], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 5
or dword [esp + 0x14], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x29]
call fcn.012abc10
mov dword [esp + 0x138], 4
test byte [esp + 0x14], 2
je 0x122dfcb
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x100]
call fcn.012ab700
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
mov esi, dword [eax + edi*4]
lea ecx, [esp + 0x84]
cmp esi, ecx
je 0x122dffa
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0xc]
call eax
mov edx, esi
lea ecx, [esp + 0x84]
call fcn.0123e7d0
mov ecx, dword [esp + 0x94]
cmp dword [esp + 0x30], ecx
je 0x122e08c
mov edx, dword [esp + 0x20]
inc edi
cmp edi, dword [edx + 0xc]
jl 0x122df60
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 1
call fcn.0123cdb0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
add edi, 0x3c
push eax
call fcn.0122da80
cmp eax, 0xffffffff
je 0x122e074
mov edi, dword [esp + 0x28]
add edi, 0x44
mov esi, eax
call fcn.01232c30
lea esi, [esp + 0x6c]
mov edi, eax
call fcn.01232b90
mov esi, eax
cmp edi, esi
je 0x122e074
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, edi
mov ecx, esi
call fcn.0123e7d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ecx + 0xc]
jl 0x122de20
jmp 0x122e0ec
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 1
call fcn.0123cdb0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add edi, 8
call fcn.01232c30
lea esi, [esp + 0x6c]
mov edi, eax
call fcn.01232b90
mov esi, eax
cmp edi, esi
je 0x122e074
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
jmp 0x122e06b
lea edx, [esp + 0x64]
cmp esi, edx
je 0x122e0ec
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.0123c220
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.012ce720
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 0x122e83e
mov eax, dword [esp + 0x28]
add eax, 0x3c
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x20]
cmp esi, ecx
jl 0x122e18d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x31], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 8
or dword [esp + 0x14], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x29]
call fcn.012abc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 4
je 0x122e1b0
and dword [esp + 0x14], 0xfffffffb
lea ecx, [esp + 0x100]
call fcn.012ab700
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.0122da80
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
jne 0x122e320
cmp esi, dword [esp + 0x70]
jl 0x122e216
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x32], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 9
or dword [esp + 0x14], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x2a]
call fcn.012abc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 8
je 0x122e239
and dword [esp + 0x14], 0xfffffff7
lea ecx, [esp + 0x100]
call fcn.012ab700
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 0x122e25d
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0x122e301
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x122e270
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.012abf50
inc dword [esp + 0x54]
push 0x4c
call fcn.01292640
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
cmp edi, ebx
je 0x122e2e8
mov byte [esp + 0x138], 0xb
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.012ce720
mov edx, dword [0x1337250]
mov ecx, dword [0x1337254]
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, 0x13306e0
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 0x122e2ea
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 0x122e825
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0123e7d0
jmp 0x122e825
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jge 0x122e6c6
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp edi, dword [ecx + 0x48]
jl 0x122e37c
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x42], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 0xc
or dword [esp + 0x14], 0x10
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x3a]
call fcn.012abc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 0x10
je 0x122e39f
and dword [esp + 0x14], 0xffffffef
lea ecx, [esp + 0x100]
call fcn.012ab700
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.012ce720
mov edx, dword [0x1337250]
mov ecx, dword [0x1337254]
mov eax, 0x13306e0
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 0x122e523
cmp esi, eax
jl 0x122e4b4
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x43], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 0xf
or dword [esp + 0x14], 0x20
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x3b]
call fcn.012abc10
mov dword [esp + 0x138], 0xe
test byte [esp + 0x14], 0x20
je 0x122e4d7
and dword [esp + 0x14], 0xffffffdf
lea ecx, [esp + 0xd8]
call fcn.012ab700
mov edx, dword [esp + 0x6c]
mov edi, dword [edx + esi*4]
lea eax, [esp + 0x84]
cmp edi, eax
je 0x122e505
mov edx, dword [esp + 0x84]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edx, edi
lea ecx, [esp + 0x84]
call fcn.0123e7d0
mov ecx, dword [esp + 0x94]
cmp dword [esp + 0x38], ecx
je 0x122e5d1
mov eax, dword [esp + 0x70]
inc esi
cmp esi, eax
jl 0x122e4b4
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 7
call fcn.0123cdb0
mov edx, dword [esp + 0x28]
cmp edi, dword [edx + 0x48]
jl 0x122e57f
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x33], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 0x10
or dword [esp + 0x14], 0x40
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x2b]
call fcn.012abc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 0x40
je 0x122e5a2
and dword [esp + 0x14], 0xffffffbf
lea ecx, [esp + 0x100]
call fcn.012ab700
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 0x122e5ea
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0x122e699
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 7
call fcn.0123cdb0
jmp 0x122e6af
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x122e5fd
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.012abf50
mov edi, 1
add dword [esp + 0x54], edi
push 0x4c
call fcn.01292640
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, ebx
je 0x122e67a
mov byte [esp + 0x138], 0x12
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.012ce720
mov edx, dword [0x1337250]
mov ecx, dword [0x1337254]
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, 0x13306e0
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 0x122e67c
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 0x122e6af
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0123e7d0
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jl 0x122e330
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x70]
jl 0x122e70e
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x27], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 0x13
or dword [esp + 0x14], 0x80
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x1f]
call fcn.012abc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 0x80
je 0x122e734
and dword [esp + 0x14], 0xffffff7f
lea ecx, [esp + 0x100]
call fcn.012ab700
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 0x122e75c
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0x122e800
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x122e76f
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.012abf50
inc dword [esp + 0x54]
push 0x4c
call fcn.01292640
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0x122e7e7
mov byte [esp + 0x138], 0x15
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.012ce720
mov edx, dword [0x1337250]
mov ecx, dword [0x1337254]
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, 0x13306e0
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 0x122e7e9
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 0x122e816
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0123e7d0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x1c], eax
jg 0x122e825
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 0x122e146
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x48]
cmp edi, eax
jge 0x122e9c1
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov esi, 0x100
cmp edx, dword [eax + 0x48]
jl 0x122e8a1
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x27], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 0x16
or dword [esp + 0x14], esi
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x1f]
call fcn.012abc10
mov dword [esp + 0x138], 7
test dword [esp + 0x14], esi
je 0x122e8c6
and dword [esp + 0x14], 0xfffffeff
lea ecx, [esp + 0x100]
call fcn.012ab700
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 0x122e8f1
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0x122e995
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x122e904
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.012abf50
inc dword [esp + 0x54]
push 0x4c
call fcn.01292640
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0x122e97c
mov byte [esp + 0x138], 0x18
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.012ce720
mov edx, dword [0x1337250]
mov ecx, dword [0x1337254]
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, 0x13306e0
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 0x122e97e
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 0x122e9ab
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0123e7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0x48]
jl 0x122e851
mov esi, dword [esp + 0x28]
add esi, 0x44
xor edi, edi
mov dword [esp + 0x1c], esi
cmp dword [esi + 4], ebx
jle 0x122e9e5
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 0x122e9d3
mov eax, dword [esp + 0x50]
xor edi, edi
mov dword [esi + 4], ebx
mov dword [esp + 0x20], edi
cmp eax, ebx
jle 0x122ed2f
jmp 0x122ea04
mov edi, dword [esp + 0x20]
cmp edi, eax
jl 0x122ea4a
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x27], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 0x19
or dword [esp + 0x14], 0x200
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x1f]
call fcn.012abc10
mov dword [esp + 0x138], 7
test dword [esp + 0x14], 0x200
je 0x122ea73
and dword [esp + 0x14], 0xfffffdff
lea ecx, [esp + 0x100]
call fcn.012ab700
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.01212c50
mov byte [esp + 0x138], 0x1a
mov edx, dword [esp + 0xe8]
cmp edx, 7
jb 0x122eabf
mov edx, 7
cmp dword [esp + 0xec], 0x10
mov edi, dword [esp + 0xd8]
jae 0x122ead7
lea edi, [esp + 0xd8]
mov ecx, str.Removed
cmp edx, 4
jb 0x122eaf5
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x122eaf9
sub edx, 4
add ecx, 4
add edi, 4
cmp edx, 4
jae 0x122eae1
cmp edx, ebx
je 0x122eb44
movzx eax, byte [edi]
movzx esi, byte [ecx]
sub eax, esi
jne 0x122eb34
cmp edx, 1
jbe 0x122eb40
movzx eax, byte [edi + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x122eb34
cmp edx, 2
jbe 0x122eb40
movzx eax, byte [edi + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x122eb34
cmp edx, 3
jbe 0x122eb40
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 0x122eb46
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp eax, ebx
jne 0x122eb67
mov eax, dword [esp + 0xe8]
cmp eax, 7
jae 0x122eb5b
or eax, 0xffffffff
jmp 0x122eb65
xor edx, edx
cmp eax, 7
setne dl
mov eax, edx
cmp eax, ebx
sete al
cmp al, bl
je 0x122eb91
mov byte [esp + 0x138], 7
cmp dword [esp + 0xec], 0x10
jb 0x122ed01
mov eax, dword [esp + 0xd8]
push eax
jmp 0x122ecf9
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x50]
jl 0x122ebdd
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x90]
mov byte [esp + 0x33], bl
call fcn.012ab6d0
mov byte [esp + 0x138], 0x1b
or dword [esp + 0x14], 0x400
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.012ab9c0
push eax
lea ecx, [esp + 0x2b]
call fcn.012abc10
mov dword [esp + 0x138], 0x1a
test dword [esp + 0x14], 0x400
je 0x122ec06
and dword [esp + 0x14], 0xfffffbff
lea ecx, [esp + 0x84]
call fcn.012ab700
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 0x122ec29
mov ecx, dword [esi]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esi + 4], eax
jmp 0x122ecc5
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne 0x122ec39
inc eax
push eax
mov ecx, esi
call fcn.012abf50
inc dword [esi + 8]
push 0x4c
call fcn.01292640
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0x122ecb0
mov byte [esp + 0x138], 0x1d
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.012ce720
mov edx, dword [0x1337250]
mov ecx, dword [0x1337254]
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, 0x13306e0
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 0x122ecb2
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 0x122ecdf
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.0123e7d0
mov byte [esp + 0x138], 7
cmp dword [esp + 0xec], 0x10
jb 0x122ed01
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.012925e4
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 0x122ea00
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 0x122ed6a
jmp 0x122ed50
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0x122ed63
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc esi
cmp esi, dword [esp + 0x54]
jl 0x122ed50
mov eax, dword [esp + 0x4c]
push eax
call fcn.01293498
add esp, 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x138], 0x1e
call fcn.012cead0
lea ecx, [esp + 0x44]
mov byte [esp + 0x138], 1
call fcn.012ac7c0
mov dword [esp + 0x64], edi
mov dword [esp + 0x138], 0x21
xor esi, esi
cmp dword [esp + 0x74], ebx
jle 0x122edca
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebx
je 0x122edc3
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, dword [esp + 0x74]
jl 0x122edb0
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.01293498
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x138], 0x20
call fcn.012cead0
lea ecx, [esp + 0x64]
mov dword [esp + 0x138], 0xffffffff
call fcn.012ac7c0
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.01292239
mov esp, ebp
pop ebp
ret 4