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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4efe15
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x51f584]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x51f584]
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.004be720
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 0x41e0cc
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jle 0x41e0ec
nop
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
cmp edi, dword [esi + 0xc]
jl 0x41de6c
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x32], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 2
or dword [esp + 0x14], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x2a]
call fcn.0049bc10
mov dword [esp + 0x138], 1
test byte [esp + 0x14], 1
je 0x41de8f
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0xd8]
call fcn.0049b700
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.004be720
mov ecx, dword [0x527250]
mov edx, dword [0x527254]
mov eax, 0x5206e0
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 0x41e019
mov edi, edi
mov ecx, dword [esp + 0x20]
cmp edi, dword [ecx + 0xc]
jl 0x41dfa8
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x31], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 5
or dword [esp + 0x14], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x29]
call fcn.0049bc10
mov dword [esp + 0x138], 4
test byte [esp + 0x14], 2
je 0x41dfcb
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x100]
call fcn.0049b700
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
mov esi, dword [eax + edi*4]
lea ecx, [esp + 0x84]
cmp esi, ecx
je 0x41dffa
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0xc]
call eax
mov edx, esi
lea ecx, [esp + 0x84]
call fcn.0042e7d0
mov ecx, dword [esp + 0x94]
cmp dword [esp + 0x30], ecx
je 0x41e08c
mov edx, dword [esp + 0x20]
inc edi
cmp edi, dword [edx + 0xc]
jl 0x41df60
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 1
call fcn.0042cdb0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
add edi, 0x3c
push eax
call fcn.0041da80
cmp eax, 0xffffffff
je 0x41e074
mov edi, dword [esp + 0x28]
add edi, 0x44
mov esi, eax
call fcn.00422c30
lea esi, [esp + 0x6c]
mov edi, eax
call fcn.00422b90
mov esi, eax
cmp edi, esi
je 0x41e074
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, edi
mov ecx, esi
call fcn.0042e7d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ecx + 0xc]
jl 0x41de20
jmp 0x41e0ec
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 1
call fcn.0042cdb0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add edi, 8
call fcn.00422c30
lea esi, [esp + 0x6c]
mov edi, eax
call fcn.00422b90
mov esi, eax
cmp edi, esi
je 0x41e074
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
jmp 0x41e06b
lea edx, [esp + 0x64]
cmp esi, edx
je 0x41e0ec
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.0042c220
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.004be720
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 0x41e83e
mov eax, dword [esp + 0x28]
add eax, 0x3c
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x20]
cmp esi, ecx
jl 0x41e18d
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x31], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 8
or dword [esp + 0x14], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x29]
call fcn.0049bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 4
je 0x41e1b0
and dword [esp + 0x14], 0xfffffffb
lea ecx, [esp + 0x100]
call fcn.0049b700
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.0041da80
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
jne 0x41e320
cmp esi, dword [esp + 0x70]
jl 0x41e216
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x32], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 9
or dword [esp + 0x14], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x2a]
call fcn.0049bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 8
je 0x41e239
and dword [esp + 0x14], 0xfffffff7
lea ecx, [esp + 0x100]
call fcn.0049b700
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 0x41e25d
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0x41e301
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x41e270
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.0049bf50
inc dword [esp + 0x54]
push 0x4c
call fcn.00482640
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
cmp edi, ebx
je 0x41e2e8
mov byte [esp + 0x138], 0xb
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.004be720
mov edx, dword [0x527250]
mov ecx, dword [0x527254]
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, 0x5206e0
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 0x41e2ea
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 0x41e825
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0042e7d0
jmp 0x41e825
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jge 0x41e6c6
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp edi, dword [ecx + 0x48]
jl 0x41e37c
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x42], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 0xc
or dword [esp + 0x14], 0x10
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x3a]
call fcn.0049bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 0x10
je 0x41e39f
and dword [esp + 0x14], 0xffffffef
lea ecx, [esp + 0x100]
call fcn.0049b700
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.004be720
mov edx, dword [0x527250]
mov ecx, dword [0x527254]
mov eax, 0x5206e0
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 0x41e523
cmp esi, eax
jl 0x41e4b4
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x43], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 0xf
or dword [esp + 0x14], 0x20
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x3b]
call fcn.0049bc10
mov dword [esp + 0x138], 0xe
test byte [esp + 0x14], 0x20
je 0x41e4d7
and dword [esp + 0x14], 0xffffffdf
lea ecx, [esp + 0xd8]
call fcn.0049b700
mov edx, dword [esp + 0x6c]
mov edi, dword [edx + esi*4]
lea eax, [esp + 0x84]
cmp edi, eax
je 0x41e505
mov edx, dword [esp + 0x84]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edx, edi
lea ecx, [esp + 0x84]
call fcn.0042e7d0
mov ecx, dword [esp + 0x94]
cmp dword [esp + 0x38], ecx
je 0x41e5d1
mov eax, dword [esp + 0x70]
inc esi
cmp esi, eax
jl 0x41e4b4
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 7
call fcn.0042cdb0
mov edx, dword [esp + 0x28]
cmp edi, dword [edx + 0x48]
jl 0x41e57f
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x33], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 0x10
or dword [esp + 0x14], 0x40
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x2b]
call fcn.0049bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 0x40
je 0x41e5a2
and dword [esp + 0x14], 0xffffffbf
lea ecx, [esp + 0x100]
call fcn.0049b700
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 0x41e5ea
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0x41e699
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 7
call fcn.0042cdb0
jmp 0x41e6af
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x41e5fd
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.0049bf50
mov edi, 1
add dword [esp + 0x54], edi
push 0x4c
call fcn.00482640
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, ebx
je 0x41e67a
mov byte [esp + 0x138], 0x12
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004be720
mov edx, dword [0x527250]
mov ecx, dword [0x527254]
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, 0x5206e0
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 0x41e67c
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 0x41e6af
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0042e7d0
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jl 0x41e330
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x70]
jl 0x41e70e
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x27], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 0x13
or dword [esp + 0x14], 0x80
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x1f]
call fcn.0049bc10
mov dword [esp + 0x138], 7
test byte [esp + 0x14], 0x80
je 0x41e734
and dword [esp + 0x14], 0xffffff7f
lea ecx, [esp + 0x100]
call fcn.0049b700
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 0x41e75c
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0x41e800
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x41e76f
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.0049bf50
inc dword [esp + 0x54]
push 0x4c
call fcn.00482640
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0x41e7e7
mov byte [esp + 0x138], 0x15
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.004be720
mov edx, dword [0x527250]
mov ecx, dword [0x527254]
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, 0x5206e0
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 0x41e7e9
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 0x41e816
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0042e7d0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x1c], eax
jg 0x41e825
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 0x41e146
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x48]
cmp edi, eax
jge 0x41e9c1
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov esi, 0x100
cmp edx, dword [eax + 0x48]
jl 0x41e8a1
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x27], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 0x16
or dword [esp + 0x14], esi
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x1f]
call fcn.0049bc10
mov dword [esp + 0x138], 7
test dword [esp + 0x14], esi
je 0x41e8c6
and dword [esp + 0x14], 0xfffffeff
lea ecx, [esp + 0x100]
call fcn.0049b700
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 0x41e8f1
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x50], eax
jmp 0x41e995
mov eax, dword [esp + 0x58]
cmp ecx, eax
jne 0x41e904
inc eax
push eax
lea ecx, [esp + 0x50]
call fcn.0049bf50
inc dword [esp + 0x54]
push 0x4c
call fcn.00482640
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0x41e97c
mov byte [esp + 0x138], 0x18
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.004be720
mov edx, dword [0x527250]
mov ecx, dword [0x527254]
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, 0x5206e0
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 0x41e97e
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 0x41e9ab
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0042e7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0x48]
jl 0x41e851
mov esi, dword [esp + 0x28]
add esi, 0x44
xor edi, edi
mov dword [esp + 0x1c], esi
cmp dword [esi + 4], ebx
jle 0x41e9e5
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 0x41e9d3
mov eax, dword [esp + 0x50]
xor edi, edi
mov dword [esi + 4], ebx
mov dword [esp + 0x20], edi
cmp eax, ebx
jle 0x41ed2f
jmp 0x41ea04
mov edi, dword [esp + 0x20]
cmp edi, eax
jl 0x41ea4a
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x10c]
mov byte [esp + 0x27], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 0x19
or dword [esp + 0x14], 0x200
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x1f]
call fcn.0049bc10
mov dword [esp + 0x138], 7
test dword [esp + 0x14], 0x200
je 0x41ea73
and dword [esp + 0x14], 0xfffffdff
lea ecx, [esp + 0x100]
call fcn.0049b700
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.00402c50
mov byte [esp + 0x138], 0x1a
mov edx, dword [esp + 0xe8]
cmp edx, 7
jb 0x41eabf
mov edx, 7
cmp dword [esp + 0xec], 0x10
mov edi, dword [esp + 0xd8]
jae 0x41ead7
lea edi, [esp + 0xd8]
mov ecx, str.Removed
cmp edx, 4
jb 0x41eaf5
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x41eaf9
sub edx, 4
add ecx, 4
add edi, 4
cmp edx, 4
jae 0x41eae1
cmp edx, ebx
je 0x41eb44
movzx eax, byte [edi]
movzx esi, byte [ecx]
sub eax, esi
jne 0x41eb34
cmp edx, 1
jbe 0x41eb40
movzx eax, byte [edi + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x41eb34
cmp edx, 2
jbe 0x41eb40
movzx eax, byte [edi + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x41eb34
cmp edx, 3
jbe 0x41eb40
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 0x41eb46
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp eax, ebx
jne 0x41eb67
mov eax, dword [esp + 0xe8]
cmp eax, 7
jae 0x41eb5b
or eax, 0xffffffff
jmp 0x41eb65
xor edx, edx
cmp eax, 7
setne dl
mov eax, edx
cmp eax, ebx
sete al
cmp al, bl
je 0x41eb91
mov byte [esp + 0x138], 7
cmp dword [esp + 0xec], 0x10
jb 0x41ed01
mov eax, dword [esp + 0xd8]
push eax
jmp 0x41ecf9
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x50]
jl 0x41ebdd
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x90]
mov byte [esp + 0x33], bl
call fcn.0049b6d0
mov byte [esp + 0x138], 0x1b
or dword [esp + 0x14], 0x400
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049b9c0
push eax
lea ecx, [esp + 0x2b]
call fcn.0049bc10
mov dword [esp + 0x138], 0x1a
test dword [esp + 0x14], 0x400
je 0x41ec06
and dword [esp + 0x14], 0xfffffbff
lea ecx, [esp + 0x84]
call fcn.0049b700
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 0x41ec29
mov ecx, dword [esi]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esi + 4], eax
jmp 0x41ecc5
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne 0x41ec39
inc eax
push eax
mov ecx, esi
call fcn.0049bf50
inc dword [esi + 8]
push 0x4c
call fcn.00482640
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0x41ecb0
mov byte [esp + 0x138], 0x1d
lea ecx, [edi + 4]
mov dword [edi], vtable.tpsp::TASKINDEX.0
call fcn.004be720
mov edx, dword [0x527250]
mov ecx, dword [0x527254]
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, 0x5206e0
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 0x41ecb2
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 0x41ecdf
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.0042e7d0
mov byte [esp + 0x138], 7
cmp dword [esp + 0xec], 0x10
jb 0x41ed01
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.004825e4
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 0x41ea00
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 0x41ed6a
jmp 0x41ed50
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0x41ed63
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc esi
cmp esi, dword [esp + 0x54]
jl 0x41ed50
mov eax, dword [esp + 0x4c]
push eax
call fcn.00483498
add esp, 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x138], 0x1e
call fcn.004bead0
lea ecx, [esp + 0x44]
mov byte [esp + 0x138], 1
call fcn.0049c7c0
mov dword [esp + 0x64], edi
mov dword [esp + 0x138], 0x21
xor esi, esi
cmp dword [esp + 0x74], ebx
jle 0x41edca
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebx
je 0x41edc3
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, dword [esp + 0x74]
jl 0x41edb0
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00483498
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x138], 0x20
call fcn.004bead0
lea ecx, [esp + 0x64]
mov dword [esp + 0x138], 0xffffffff
call fcn.0049c7c0
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.00482239
mov esp, ebp
pop ebp
ret 4