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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ee326
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x51d584]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x51d584]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x100], ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x58], vtable.tpsp::TASKLIST.0
call fcn.004bccf0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x100], 1
mov eax, dword [esi + 0xc]
cmp eax, dword [edi + 0xc]
jle 0x41c1fb
mov dword [esp + 0x24], ebx
cmp eax, ebx
jle 0x41c21b
lea esp, [esp]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
cmp edi, dword [esi + 0xc]
jl 0x41c15c
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x23], bl
call fcn.00499b70
mov byte [esp + 0x100], 2
or dword [esp + 0x10], 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x1b]
call fcn.0049a0b0
mov dword [esp + 0x100], 1
test byte [esp + 0x10], 1
je 0x41c17c
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x78]
call fcn.00499ba0
mov ecx, dword [esi + 8]
mov eax, dword [ecx + edi*4]
mov esi, dword [eax + 0x10]
mov edi, dword [esp + 0x1c]
push esi
call fcn.0041a850
test eax, eax
je 0x41c1a0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
add edi, 8
jmp 0x41c1bb
mov edi, dword [esp + 0x20]
add edi, 0x3c
push esi
call fcn.0041bf80
cmp eax, 0xffffffff
je 0x41c1e3
mov edi, dword [esp + 0x20]
add edi, 0x44
mov esi, eax
call fcn.0040d9e0
lea esi, [esp + 0x60]
mov edi, eax
call fcn.00421010
mov esi, eax
cmp edi, esi
je 0x41c1e3
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, edi
mov ecx, esi
call fcn.0042c7e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [ecx + 0xc]
jl 0x41c110
jmp 0x41c21b
lea edx, [esp + 0x58]
cmp esi, edx
je 0x41c21b
mov eax, dword [esp + 0x58]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x58]
call fcn.0042a6a0
xor esi, esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x100], 3
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], vtable.tpsp::TASKLIST.0
call fcn.004bccf0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x100], 4
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x24], ebx
cmp ecx, ebx
jle 0x41c7c4
lea ebx, [ebx]
mov esi, dword [esp + 0x24]
cmp esi, ecx
jl 0x41c2b7
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x23], bl
call fcn.00499b70
mov byte [esp + 0x100], 5
or dword [esp + 0x10], 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x1b]
call fcn.0049a0b0
mov dword [esp + 0x100], 4
test byte [esp + 0x10], 2
je 0x41c2d7
and dword [esp + 0x10], 0xfffffffd
lea ecx, [esp + 0x78]
call fcn.00499ba0
mov eax, dword [esp + 0x60]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x20]
push eax
add edi, 0x3c
call fcn.0041bf80
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x41c44e
cmp esi, dword [esp + 0x64]
jl 0x41c340
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x3b], bl
call fcn.00499b70
mov byte [esp + 0x100], 6
or dword [esp + 0x10], 4
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x33]
call fcn.0049a0b0
mov dword [esp + 0x100], 4
test byte [esp + 0x10], 4
je 0x41c360
and dword [esp + 0x10], 0xfffffffb
lea ecx, [esp + 0x78]
call fcn.00499ba0
mov ecx, dword [esp + 0x60]
mov esi, dword [ecx + esi*4]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], esi
cmp eax, ecx
jge 0x41c388
mov edx, dword [esp + 0x40]
mov edi, dword [edx + eax*4]
inc eax
mov dword [esp + 0x44], eax
jmp 0x41c42f
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jne 0x41c39b
inc eax
push eax
lea ecx, [esp + 0x44]
call fcn.0049a3f0
mov edi, 1
add dword [esp + 0x48], edi
push 0x44
call fcn.00480dc0
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebx
je 0x41c410
mov byte [esp + 0x100], 8
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bccf0
mov eax, dword [0x525210]
mov ecx, dword [0x525214]
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 dword [esi + 0x3c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0xc], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x14], 0xe10
mov dword [esi + 0x40], ebx
jmp 0x41c412
xor esi, esi
mov byte [esp + 0x100], 4
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [eax + edx*4], esi
add dword [esp + 0x44], edi
mov edi, esi
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x41c7ab
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0042c7e0
jmp 0x41c7ab
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x1c]
jge 0x41c64e
mov ecx, dword [esp + 0x20]
cmp esi, dword [ecx + 0x48]
jl 0x41c4a8
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x3a], bl
call fcn.00499b70
mov byte [esp + 0x100], 9
or dword [esp + 0x10], 8
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x32]
call fcn.0049a0b0
mov dword [esp + 0x100], 4
test byte [esp + 0x10], 8
je 0x41c4c8
and dword [esp + 0x10], 0xfffffff7
lea ecx, [esp + 0x78]
call fcn.00499ba0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x44]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x10]
push eax
lea edi, [esp + 0x5c]
call fcn.0041a850
test eax, eax
jne 0x41c63f
mov ecx, dword [esp + 0x20]
cmp esi, dword [ecx + 0x48]
jl 0x41c52f
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x22], bl
call fcn.00499b70
mov byte [esp + 0x100], 0xa
or dword [esp + 0x10], 0x10
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x1a]
call fcn.0049a0b0
mov dword [esp + 0x100], 4
test byte [esp + 0x10], 0x10
je 0x41c54f
and dword [esp + 0x10], 0xffffffef
lea ecx, [esp + 0x78]
call fcn.00499ba0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x44]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], esi
cmp eax, ecx
jge 0x41c57e
mov edx, dword [esp + 0x40]
mov edi, dword [edx + eax*4]
inc eax
mov dword [esp + 0x44], eax
jmp 0x41c625
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jne 0x41c591
inc eax
push eax
lea ecx, [esp + 0x44]
call fcn.0049a3f0
mov edi, 1
add dword [esp + 0x48], edi
push 0x44
call fcn.00480dc0
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebx
je 0x41c606
mov byte [esp + 0x100], 0xc
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bccf0
mov eax, dword [0x525210]
mov ecx, dword [0x525214]
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 dword [esi + 0x3c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0xc], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x14], 0xe10
mov dword [esi + 0x40], ebx
jmp 0x41c608
xor esi, esi
mov byte [esp + 0x100], 4
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [eax + edx*4], esi
add dword [esp + 0x44], edi
mov edi, esi
mov esi, dword [esp + 0x30]
cmp esi, edi
je 0x41c63b
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0042c7e0
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x1c]
jl 0x41c460
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x64]
jl 0x41c697
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x21], bl
call fcn.00499b70
mov byte [esp + 0x100], 0xd
or dword [esp + 0x10], 0x20
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x19]
call fcn.0049a0b0
mov dword [esp + 0x100], 4
test byte [esp + 0x10], 0x20
je 0x41c6b7
and dword [esp + 0x10], 0xffffffdf
lea ecx, [esp + 0x78]
call fcn.00499ba0
mov ecx, dword [esp + 0x60]
mov esi, dword [ecx + esi*4]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], esi
cmp eax, ecx
jge 0x41c6df
mov edx, dword [esp + 0x40]
mov edi, dword [edx + eax*4]
inc eax
mov dword [esp + 0x44], eax
jmp 0x41c786
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jne 0x41c6f2
inc eax
push eax
lea ecx, [esp + 0x44]
call fcn.0049a3f0
mov edi, 1
add dword [esp + 0x48], edi
push 0x44
call fcn.00480dc0
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebx
je 0x41c767
mov byte [esp + 0x100], 0xf
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bccf0
mov eax, dword [0x525210]
mov ecx, dword [0x525214]
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 dword [esi + 0x3c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0xc], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x14], 0xe10
mov dword [esi + 0x40], ebx
jmp 0x41c769
xor esi, esi
mov byte [esp + 0x100], 4
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [eax + edx*4], esi
add dword [esp + 0x44], edi
mov edi, esi
mov esi, dword [esp + 0x30]
cmp esi, edi
je 0x41c79c
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, esi
mov ecx, edi
call fcn.0042c7e0
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x28], eax
jg 0x41c7ab
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x64]
inc eax
mov dword [esp + 0x24], eax
cmp eax, ecx
jl 0x41c270
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x48]
cmp esi, eax
jge 0x41c946
mov dword [esp + 0x1c], esi
jmp 0x41c7e0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp esi, dword [edi + 0x48]
jl 0x41c82c
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0x84]
mov byte [esp + 0x21], bl
call fcn.00499b70
mov byte [esp + 0x100], 0x10
or dword [esp + 0x10], 0x40
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x19]
call fcn.0049a0b0
mov dword [esp + 0x100], 4
test byte [esp + 0x10], 0x40
je 0x41c84c
and dword [esp + 0x10], 0xffffffbf
lea ecx, [esp + 0x78]
call fcn.00499ba0
mov edx, dword [edi + 0x44]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov esi, dword [edx + esi*4]
mov dword [esp + 0x30], esi
cmp eax, ecx
jge 0x41c873
mov ecx, dword [esp + 0x40]
mov edi, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x44], eax
jmp 0x41c91a
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jne 0x41c886
inc eax
push eax
lea ecx, [esp + 0x44]
call fcn.0049a3f0
mov edi, 1
add dword [esp + 0x48], edi
push 0x44
call fcn.00480dc0
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebx
je 0x41c8fb
mov byte [esp + 0x100], 0x12
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bccf0
mov edx, dword [0x525210]
mov eax, dword [0x525214]
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 dword [esi + 0x3c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0xc], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x14], 0xe10
mov dword [esi + 0x40], ebx
jmp 0x41c8fd
xor esi, esi
mov byte [esp + 0x100], 4
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [edx + ecx*4], esi
add dword [esp + 0x44], edi
mov edi, esi
mov esi, dword [esp + 0x30]
cmp esi, edi
je 0x41c930
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov edx, esi
mov ecx, edi
call fcn.0042c7e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0x48]
jl 0x41c7e0
mov edi, dword [esp + 0x20]
add edi, 0x44
xor esi, esi
mov dword [esp + 0x28], edi
cmp dword [edi + 4], ebx
jle 0x41c96a
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 0x41c958
mov eax, dword [esp + 0x44]
xor esi, esi
mov dword [edi + 4], ebx
mov dword [esp + 0x18], esi
cmp eax, ebx
jle 0x41cc81
jmp 0x41c985
mov esi, dword [esp + 0x18]
cmp esi, eax
jl 0x41c9cb
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0xac]
mov byte [esp + 0x21], bl
call fcn.00499b70
mov byte [esp + 0x100], 0x13
or dword [esp + 0x10], 0x80
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x19]
call fcn.0049a0b0
mov dword [esp + 0x100], 4
test byte [esp + 0x10], 0x80
je 0x41c9f1
and dword [esp + 0x10], 0xffffff7f
lea ecx, [esp + 0xa0]
call fcn.00499ba0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0xc]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x84]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00402c60
mov byte [esp + 0x100], 0x14
mov edx, dword [esp + 0x88]
cmp edx, 7
jb 0x41ca3d
mov edx, 7
cmp dword [esp + 0x8c], 0x10
mov esi, dword [esp + 0x78]
jae 0x41ca4f
lea esi, [esp + 0x78]
mov ecx, str.Removed
cmp edx, 4
jb 0x41ca74
lea esp, [esp]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x41ca78
sub edx, 4
add ecx, 4
add esi, 4
cmp edx, 4
jae 0x41ca60
cmp edx, ebx
je 0x41cac3
movzx eax, byte [esi]
movzx edi, byte [ecx]
sub eax, edi
jne 0x41cab3
cmp edx, 1
jbe 0x41cabf
movzx eax, byte [esi + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x41cab3
cmp edx, 2
jbe 0x41cabf
movzx eax, byte [esi + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x41cab3
cmp edx, 3
jbe 0x41cabf
movzx eax, byte [esi + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov edi, dword [esp + 0x28]
sar eax, 0x1f
or eax, 1
jmp 0x41cac5
mov edi, dword [esp + 0x28]
xor eax, eax
cmp eax, ebx
jne 0x41cae6
mov eax, dword [esp + 0x88]
cmp eax, 7
jae 0x41cada
or eax, 0xffffffff
jmp 0x41cae4
xor edx, edx
cmp eax, 7
setne dl
mov eax, edx
cmp eax, ebx
sete al
cmp al, bl
jne 0x41cc37
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x44]
jl 0x41cb3d
push 0x338
push str.D:WorkCodeTPSPTpsp
push 3
lea ecx, [esp + 0xd4]
mov byte [esp + 0x22], bl
call fcn.00499b70
mov byte [esp + 0x100], 0x15
or dword [esp + 0x10], 0x100
push str.CHECK_failed:__index_____size___:
mov ecx, eax
call fcn.00499e60
push eax
lea ecx, [esp + 0x1a]
call fcn.0049a0b0
mov dword [esp + 0x100], 0x14
test dword [esp + 0x10], 0x100
je 0x41cb66
and dword [esp + 0x10], 0xfffffeff
lea ecx, [esp + 0xc8]
call fcn.00499ba0
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + esi*4]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], edx
cmp eax, ecx
jge 0x41cb89
mov ecx, dword [edi]
mov esi, dword [ecx + eax*4]
inc eax
mov dword [edi + 4], eax
jmp 0x41cc1d
mov eax, dword [edi + 0xc]
cmp ecx, eax
jne 0x41cb99
inc eax
push eax
mov ecx, edi
call fcn.0049a3f0
inc dword [edi + 8]
push 0x44
call fcn.00480dc0
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebx
je 0x41cc08
mov byte [esp + 0x100], 0x17
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKINDEX.0
call fcn.004bccf0
mov edx, dword [0x525210]
mov eax, dword [0x525214]
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 dword [esi + 0x3c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], 0x51e6e0
mov dword [esi + 0xc], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x14], 0xe10
mov dword [esi + 0x40], ebx
jmp 0x41cc0a
xor esi, esi
mov byte [esp + 0x100], 0x14
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov dword [edx + ecx*4], esi
inc dword [edi + 4]
cmp dword [esp + 0x1c], esi
je 0x41cc37
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.0042c7e0
mov byte [esp + 0x100], 4
cmp dword [esp + 0x8c], 0x10
jb 0x41cc56
mov eax, dword [esp + 0x78]
push eax
call fcn.00480d64
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
inc ecx
mov byte [esp + 0x78], bl
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x41c981
mov edi, vtable.tpsp::TASKLIST.0
mov dword [esp + 0x38], edi
mov byte [esp + 0x100], 0x19
xor esi, esi
cmp dword [esp + 0x48], ebx
jle 0x41ccba
lea ebx, [ebx]
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebx
je 0x41ccb3
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, dword [esp + 0x48]
jl 0x41cca0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00481b34
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x100], 0x18
call fcn.004bd0a0
lea ecx, [esp + 0x38]
mov byte [esp + 0x100], 1
call fcn.0049ac60
mov dword [esp + 0x58], edi
mov dword [esp + 0x100], 0x1b
xor esi, esi
cmp dword [esp + 0x68], ebx
jle 0x41cd1a
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0x41cd13
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc esi
cmp esi, dword [esp + 0x68]
jl 0x41cd00
mov eax, dword [esp + 0x60]
push eax
call fcn.00481b34
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x100], 0x1a
call fcn.004bd0a0
lea ecx, [esp + 0x58]
mov dword [esp + 0x100], 0xffffffff
call fcn.0049ac60
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.004809b9
mov esp, ebp
pop ebp
ret 4