Function at 0x41c6d0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ef076
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x51e584]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x51e584]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x108], ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x60], vtable.tpsp::TASKLIST.0
call fcn.004bdc40
mov dword [esp + 0x68], ebx
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 + 0x108], 1
mov eax, dword [esi + 0xc]
cmp eax, dword [edi + 0xc]
jle 0x41c876
mov dword [esp + 0x28], ebx
cmp eax, ebx
jle 0x41c896
lea esp, [esp]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cmp edi, dword [esi + 0xc]
jl 0x41c7cc
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2f], bl
call fcn.0049a910
mov byte [esp + 0x108], 2
or dword [esp + 0x14], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x27]
call fcn.0049af20
mov dword [esp + 0x108], 1
test byte [esp + 0x14], 1
je 0x41c7ef
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x80]
call fcn.0049a940
mov ecx, dword [esi + 8]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x10]
mov esi, dword [esp + 0x30]
push eax
mov dword [esp + 0x20], eax
call fcn.0041acc0
test eax, eax
je 0x41c817
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
add edi, 8
jmp 0x41c836
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add edi, 0x3c
push ecx
call fcn.0041c3f0
cmp eax, 0xffffffff
je 0x41c85e
mov edi, dword [esp + 0x2c]
add edi, 0x44
mov esi, eax
call fcn.00421580
lea esi, [esp + 0x68]
mov edi, eax
call fcn.004214e0
mov esi, eax
cmp edi, esi
je 0x41c85e
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, edi
mov ecx, esi
call fcn.0042cfa0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [ecx + 0xc]
jl 0x41c780
jmp 0x41c896
lea edx, [esp + 0x60]
cmp esi, edx
je 0x41c896
mov eax, dword [esp + 0x60]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x60]
call fcn.0042abc0
xor esi, esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x108], 3
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], vtable.tpsp::TASKLIST.0
call fcn.004bdc40
mov dword [esp + 0x48], ebx
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 byte [esp + 0x108], 4
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x24], ebx
cmp ecx, ebx
jle 0x41ce39
mov eax, dword [esp + 0x2c]
add eax, 0x3c
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x24]
cmp esi, ecx
jl 0x41c937
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2f], bl
call fcn.0049a910
mov byte [esp + 0x108], 5
or dword [esp + 0x14], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x27]
call fcn.0049af20
mov dword [esp + 0x108], 4
test byte [esp + 0x14], 2
je 0x41c95a
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x80]
call fcn.0049a940
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x3c]
push eax
call fcn.0041c3f0
mov dword [esp + 0x30], eax
cmp eax, 0xffffffff
jne 0x41cac7
cmp esi, dword [esp + 0x6c]
jl 0x41c9c0
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x8c]
mov byte [esp + 0x43], bl
call fcn.0049a910
mov byte [esp + 0x108], 6
or dword [esp + 0x14], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x3b]
call fcn.0049af20
mov dword [esp + 0x108], 4
test byte [esp + 0x14], 4
je 0x41c9e3
and dword [esp + 0x14], 0xfffffffb
lea ecx, [esp + 0x80]
call fcn.0049a940
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
mov edi, dword [edx + esi*4]
cmp eax, ecx
jge 0x41ca07
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x4c], eax
jmp 0x41caa8
mov eax, dword [esp + 0x54]
cmp ecx, eax
jne 0x41ca1a
inc eax
push eax
lea ecx, [esp + 0x4c]
call fcn.0049b260
inc dword [esp + 0x50]
push 0x48
call fcn.004819d0
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebx
je 0x41ca8f
mov byte [esp + 0x108], 8
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bdc40
mov edx, dword [0x526210]
mov ecx, dword [0x526214]
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, 0x51f6e0
mov dword [esi + 0x40], 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 + 0x44], ebx
jmp 0x41ca91
xor esi, esi
mov byte [esp + 0x108], 4
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [eax + edx*4], esi
inc dword [esp + 0x4c]
cmp edi, esi
je 0x41ce20
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, edi
mov ecx, esi
call fcn.0042cfa0
jmp 0x41ce20
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
cmp ecx, eax
jge 0x41ccce
jmp 0x41cae0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp edx, dword [ecx + 0x48]
jl 0x41cb2c
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x8c]
mov byte [esp + 0x42], bl
call fcn.0049a910
mov byte [esp + 0x108], 9
or dword [esp + 0x14], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x3a]
call fcn.0049af20
mov dword [esp + 0x108], 4
test byte [esp + 0x14], 8
je 0x41cb4f
and dword [esp + 0x14], 0xfffffff7
lea ecx, [esp + 0x80]
call fcn.0049a940
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x10]
push eax
lea esi, [esp + 0x64]
call fcn.0041acc0
test eax, eax
jne 0x41ccb7
mov esi, dword [esp + 0x28]
cmp esi, dword [edi + 0x48]
jl 0x41cbba
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2e], bl
call fcn.0049a910
mov byte [esp + 0x108], 0xa
or dword [esp + 0x14], 0x10
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x26]
call fcn.0049af20
mov dword [esp + 0x108], 4
test byte [esp + 0x14], 0x10
je 0x41cbdd
and dword [esp + 0x14], 0xffffffef
lea ecx, [esp + 0x80]
call fcn.0049a940
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [edi + 0x44]
mov edi, dword [edx + esi*4]
cmp eax, ecx
jge 0x41cc00
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x4c], eax
jmp 0x41cca1
mov eax, dword [esp + 0x54]
cmp ecx, eax
jne 0x41cc13
inc eax
push eax
lea ecx, [esp + 0x4c]
call fcn.0049b260
inc dword [esp + 0x50]
push 0x48
call fcn.004819d0
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
cmp esi, ebx
je 0x41cc88
mov byte [esp + 0x108], 0xc
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bdc40
mov edx, dword [0x526210]
mov ecx, dword [0x526214]
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, 0x51f6e0
mov dword [esi + 0x40], 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 + 0x44], ebx
jmp 0x41cc8a
xor esi, esi
mov byte [esp + 0x108], 4
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [eax + edx*4], esi
inc dword [esp + 0x4c]
cmp edi, esi
je 0x41ccb7
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, edi
mov ecx, esi
call fcn.0042cfa0
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x30]
jl 0x41cae0
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x6c]
jl 0x41cd13
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x8c]
mov byte [esp + 0x27], bl
call fcn.0049a910
mov byte [esp + 0x108], 0xd
or dword [esp + 0x14], 0x20
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x1f]
call fcn.0049af20
mov dword [esp + 0x108], 4
test byte [esp + 0x14], 0x20
je 0x41cd36
and dword [esp + 0x14], 0xffffffdf
lea ecx, [esp + 0x80]
call fcn.0049a940
mov ecx, dword [esp + 0x68]
mov edi, dword [ecx + esi*4]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jge 0x41cd5a
mov edx, dword [esp + 0x48]
mov esi, dword [edx + eax*4]
inc eax
mov dword [esp + 0x4c], eax
jmp 0x41cdfb
mov eax, dword [esp + 0x54]
cmp ecx, eax
jne 0x41cd6d
inc eax
push eax
lea ecx, [esp + 0x4c]
call fcn.0049b260
inc dword [esp + 0x50]
push 0x48
call fcn.004819d0
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
cmp esi, ebx
je 0x41cde2
mov byte [esp + 0x108], 0xf
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bdc40
mov ecx, dword [0x526210]
mov edx, dword [0x526214]
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, 0x51f6e0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x14], 0xe10
mov dword [esi + 0x3c], eax
mov dword [esi + 0x44], ebx
jmp 0x41cde4
xor esi, esi
mov byte [esp + 0x108], 4
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov dword [ecx + eax*4], esi
inc dword [esp + 0x4c]
cmp edi, esi
je 0x41ce11
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, edi
mov ecx, esi
call fcn.0042cfa0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x1c], eax
jg 0x41ce20
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x24], eax
cmp eax, ecx
jl 0x41c8f0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x48]
cmp esi, eax
jge 0x41cfb7
mov dword [esp + 0x1c], esi
lea esp, [esp]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp edx, dword [eax + 0x48]
jl 0x41ce9c
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x8c]
mov byte [esp + 0x27], bl
call fcn.0049a910
mov byte [esp + 0x108], 0x10
or dword [esp + 0x14], 0x40
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x1f]
call fcn.0049af20
mov dword [esp + 0x108], 4
test byte [esp + 0x14], 0x40
je 0x41cebf
and dword [esp + 0x14], 0xffffffbf
lea ecx, [esp + 0x80]
call fcn.0049a940
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x44]
mov eax, dword [esp + 0x1c]
mov edi, dword [edx + eax*4]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jge 0x41ceea
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x4c], eax
jmp 0x41cf8b
mov eax, dword [esp + 0x54]
cmp ecx, eax
jne 0x41cefd
inc eax
push eax
lea ecx, [esp + 0x4c]
call fcn.0049b260
inc dword [esp + 0x50]
push 0x48
call fcn.004819d0
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
cmp esi, ebx
je 0x41cf72
mov byte [esp + 0x108], 0x12
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bdc40
mov edx, dword [0x526210]
mov ecx, dword [0x526214]
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, 0x51f6e0
mov dword [esi + 0x40], 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 + 0x44], ebx
jmp 0x41cf74
xor esi, esi
mov byte [esp + 0x108], 4
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [eax + edx*4], esi
inc dword [esp + 0x4c]
cmp edi, esi
je 0x41cfa1
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, edi
mov ecx, esi
call fcn.0042cfa0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0x48]
jl 0x41ce50
mov edi, dword [esp + 0x2c]
add edi, 0x44
xor esi, esi
mov dword [esp + 0x1c], edi
cmp dword [edi + 4], ebx
jle 0x41cfe2
lea esp, [esp]
mov edx, dword [edi]
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
inc esi
cmp esi, dword [edi + 4]
jl 0x41cfd0
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], ebx
mov dword [esp + 0x24], ebx
cmp eax, ebx
jle 0x41d31e
mov esi, dword [esp + 0x24]
cmp esi, eax
jl 0x41d03f
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0xb4]
mov byte [esp + 0x27], bl
call fcn.0049a910
mov byte [esp + 0x108], 0x13
or dword [esp + 0x14], 0x80
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x1f]
call fcn.0049af20
mov dword [esp + 0x108], 4
test byte [esp + 0x14], 0x80
je 0x41d065
and dword [esp + 0x14], 0xffffff7f
lea ecx, [esp + 0xa8]
call fcn.0049a940
mov eax, dword [esp + 0x48]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0xc]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.00402c60
mov byte [esp + 0x108], 0x14
mov edx, dword [esp + 0x90]
cmp edx, 7
jb 0x41d0b1
mov edx, 7
cmp dword [esp + 0x94], 0x10
mov esi, dword [esp + 0x80]
jae 0x41d0c9
lea esi, [esp + 0x80]
mov ecx, str.Removed
cmp edx, 4
jb 0x41d0e7
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x41d0eb
sub edx, 4
add ecx, 4
add esi, 4
cmp edx, 4
jae 0x41d0d3
cmp edx, ebx
je 0x41d136
movzx eax, byte [esi]
movzx edi, byte [ecx]
sub eax, edi
jne 0x41d126
cmp edx, 1
jbe 0x41d132
movzx eax, byte [esi + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x41d126
cmp edx, 2
jbe 0x41d132
movzx eax, byte [esi + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x41d126
cmp edx, 3
jbe 0x41d132
movzx eax, byte [esi + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov edi, dword [esp + 0x1c]
sar eax, 0x1f
or eax, 1
jmp 0x41d138
mov edi, dword [esp + 0x1c]
xor eax, eax
cmp eax, ebx
jne 0x41d159
mov eax, dword [esp + 0x90]
cmp eax, 7
jae 0x41d14d
or eax, 0xffffffff
jmp 0x41d157
xor edx, edx
cmp eax, 7
setne dl
mov eax, edx
cmp eax, ebx
sete al
cmp al, bl
je 0x41d183
mov byte [esp + 0x108], 4
cmp dword [esp + 0x94], 0x10
jb 0x41d2f0
mov eax, dword [esp + 0x80]
push eax
jmp 0x41d2e8
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x4c]
jl 0x41d1cf
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0xdc]
mov byte [esp + 0x2e], bl
call fcn.0049a910
mov byte [esp + 0x108], 0x15
or dword [esp + 0x14], 0x100
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.0049acd0
push eax
lea ecx, [esp + 0x26]
call fcn.0049af20
mov dword [esp + 0x108], 0x14
test dword [esp + 0x14], 0x100
je 0x41d1f8
and dword [esp + 0x14], 0xfffffeff
lea ecx, [esp + 0xd0]
call fcn.0049a940
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + esi*4]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x30], edx
cmp eax, ecx
jge 0x41d21b
mov ecx, dword [edi]
mov esi, dword [ecx + eax*4]
inc eax
mov dword [edi + 4], eax
jmp 0x41d2b4
mov eax, dword [edi + 0xc]
cmp ecx, eax
jne 0x41d22b
inc eax
push eax
mov ecx, edi
call fcn.0049b260
inc dword [edi + 8]
push 0x48
call fcn.004819d0
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
cmp esi, ebx
je 0x41d29f
mov byte [esp + 0x108], 0x17
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bdc40
mov edx, dword [0x526210]
mov ecx, dword [0x526214]
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, 0x51f6e0
mov dword [esi + 0x40], 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 + 0x44], ebx
jmp 0x41d2a1
xor esi, esi
mov byte [esp + 0x108], 0x14
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [eax + edx*4], esi
inc dword [edi + 4]
cmp dword [esp + 0x30], esi
je 0x41d2ce
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.0042cfa0
mov byte [esp + 0x108], 4
cmp dword [esp + 0x94], 0x10
jb 0x41d2f0
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00481974
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
inc ecx
mov byte [esp + 0x80], bl
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x24], ecx
cmp ecx, eax
jl 0x41cff5
mov edi, vtable.tpsp::TASKLIST.0
mov dword [esp + 0x40], edi
mov byte [esp + 0x108], 0x19
xor esi, esi
cmp dword [esp + 0x50], ebx
jle 0x41d351
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0x41d34a
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc esi
cmp esi, dword [esp + 0x50]
jl 0x41d337
mov eax, dword [esp + 0x48]
push eax
call fcn.00482828
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x108], 0x18
call fcn.004bdff0
lea ecx, [esp + 0x40]
mov byte [esp + 0x108], 1
call fcn.0049bad0
mov dword [esp + 0x60], edi
mov dword [esp + 0x108], 0x1b
xor esi, esi
cmp dword [esp + 0x70], ebx
jle 0x41d3b1
mov ecx, dword [esp + 0x68]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebx
je 0x41d3aa
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, dword [esp + 0x70]
jl 0x41d397
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00482828
add esp, 4
lea ecx, [esp + 0x64]
mov byte [esp + 0x108], 0x1a
call fcn.004bdff0
lea ecx, [esp + 0x60]
mov dword [esp + 0x108], 0xffffffff
call fcn.0049bad0
xor eax, eax
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.004815c9
mov esp, ebp
pop ebp
ret 4