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

Disassembly:
push 0xffffffffffffffff
push 0x567443
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
cmp dword [eax + 4], 1
jne 0x504623
mov ecx, dword [eax + 0x10]
xor ebp, ebp
or edx, 0xffffffff
xor esi, esi
xor ebx, ebx
cmp ecx, ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x28], 0
jg 0x504247
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x54]
call fcn.0049eff0
mov ebx, vtable.cWCStr.0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], 1
lea ecx, [esp + 0x4c]
cmp esi, ebp
je 0x504529
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.00413c80
jmp 0x504541
mov eax, dword [esp + 0x88]
cmp byte [0x5beade], 0
jne 0x504512
mov eax, dword [eax + 0x14]
mov edi, dword [eax + ebx*8]
mov esi, dword [eax + ebx*8 + 4]
lea eax, [eax + ebx*8]
push str.taskSetId
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
jne 0x50427a
mov byte [esp + 0x28], 1
jmp 0x5042a3
mov eax, dword [str.pendedBlock]
push eax
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
je 0x5044fe
push 0x56eb44
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
jne 0x5042c0
cmp dword [esi + 4], 3
jne 0x504623
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
jmp 0x5044fe
push str.options
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
jne 0x5042ef
push 1
push str.backupOptions
push esi
mov dword [esp + 0x2c], esi
call fcn.004fe530
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x5044fe
push str.tasks
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
jne 0x50430a
mov dword [esp + 0x24], esi
jmp 0x5044fe
push str.schedule
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
jne 0x504325
mov dword [esp + 0x2c], esi
jmp 0x5044fe
push str.displayName
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
jne 0x50434d
cmp dword [esi + 4], 5
jne 0x504623
mov eax, dword [esi + 0x14]
mov dword [esp + 0x14], eax
jmp 0x5044fe
push str.assignedDate
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
je 0x5044c4
push str.modificationTime
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
je 0x5044c4
push 0x575a68
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
jne 0x5043a1
cmp dword [esi + 4], 5
jne 0x504623
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
jmp 0x5044fe
push str.lastStatus
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
jne 0x5043c9
cmp dword [esi + 4], 5
jne 0x504623
mov edx, dword [esi + 0x14]
mov dword [esp + 0x1c], edx
jmp 0x5044fe
push str.sessionId
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
jne 0x5043f6
cmp dword [esi + 4], 5
jne 0x504623
mov eax, dword [esi + 0x14]
push eax
call fcn.0051a080
add esp, 4
jmp 0x5044fe
push str.assignedTime
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
je 0x5044fe
push str.size
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
je 0x5044fe
push str.filesCount
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
je 0x5044fe
push str.lastFinishTime
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
je 0x5044fe
push str.lastStartTime
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
je 0x5044fe
push str.estimatedTime
push edi
call fcn.0051c42a
add esp, 8
test eax, eax
je 0x5044fe
push 0xffffffffffffffff
push ebp
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x6c]
call fcn.00402f20
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xa0]
push ecx
push str._nUnparsed_value__s
push edx
mov dword [esp + 0x80], ebp
call fcn.00408140
add esp, 0xc
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x5c], vtable.cWCS.0
call fcn.0049ee80
jmp 0x5044fe
cmp dword [esi + 4], 3
jne 0x504623
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
push ecx
call fcn.004b5ed0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
add esp, 8
mov dword [esp + 0x44], edx
cmp eax, ebp
je 0x5044fe
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [eax], edx
mov dword [eax + 4], ecx
inc ebx
cmp ebx, dword [esp + 0x34]
jl 0x504240
mov esi, dword [esp + 0x14]
jmp 0x5041fd
or eax, 0xffffffff
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
push str.ID__I64d
push ecx
call fcn.00408140
add esp, 0x10
lea ecx, [esp + 0x4c]
call fcn.0049e900
mov edi, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
test al, al
je 0x5045c7
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x64]
call fcn.0049eff0
mov dword [esp + 0x5c], ebx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x64]
push str.Asserion__Display_name_is_empty_of_task_set__I64d
push ecx
mov byte [esp + 0x84], 2
call fcn.00401080
mov edx, dword [esp + 0x70]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ebp
push edx
push esi
call fcn.005010b0
add esp, 0x38
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 1
mov dword [esp + 0x5c], vtable.cWCS.0
call fcn.0049ee80
push 0x668
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x88], eax
mov byte [esp + 0x74], 3
test eax, eax
je 0x5045ff
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push esi
push ecx
mov ecx, dword [esp + 0x58]
push edx
push ecx
mov ecx, eax
call fcn.0043ff00
mov esi, eax
jmp 0x504601
xor esi, esi
mov byte [esp + 0x74], 1
test esi, esi
jne 0x50463c
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x4c], vtable.cWCS.0
call fcn.0049ee80
mov eax, 0x41
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x100], ebp
mov dword [esi + 0x104], edi
mov dword [esi + 0xe0], edx
mov byte [esi + 0x124], 0
test eax, eax
je 0x504674
push eax
lea ecx, [esi + 0x50]
call fcn.004471d0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x5046b3
push 0
lea ecx, [esp + 0x44]
call fcn.0049ab60
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 4
call fcn.0049aed0
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esi + 0x18]
call fcn.004471d0
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 1
call fcn.0049ac30
mov ebx, esi
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x74], 5
test eax, eax
jne 0x5046ea
mov edx, dword [esi + 0x658]
mov ebp, dword [esp + 0xa0]
push edx
push str._nTaskset__s_has_NO_options_
push ebp
call fcn.00408140
add esp, 0xc
jmp 0x50476d
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push ecx
push edx
push eax
lea ecx, [esi + 0x138]
call fcn.00502c40
mov edi, eax
test edi, edi
je 0x504766
mov eax, dword [esi + 0x658]
mov ecx, dword [esp + 0xa0]
push eax
push str._nError_in_parsing_taskset__s_options_
push ecx
call fcn.00408140
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
mov byte [esp + 0x78], 1
call eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x4c], vtable.cWCS.0
call fcn.0049ee80
mov eax, edi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ebp, dword [esp + 0xa0]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5047a2
push 0xffffffffffffffff
push str.__TaskSet_has_no_body_
mov ecx, ebp
call fcn.0049eeb0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5047e5
mov eax, dword [esi + 0x658]
push eax
push str._nTaskset__s_has_NO_schedule_
push ebp
call fcn.00408140
add esp, 0xc
jmp 0x5047fb
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00504110
mov edi, eax
test edi, edi
je 0x5047d1
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
mov byte [esp + 0x78], 1
call edx
jmp 0x504737
cmp dword [esi + 0x10c], 0
jne 0x504783
mov eax, dword [esi]
mov byte [esp + 0x74], 1
mov ecx, esi
jmp 0x50484a
push eax
lea ecx, [esi + 0x1e8]
call fcn.004fffc0
mov edi, eax
test edi, edi
jne 0x504728
mov eax, dword [esp + 0x30]
test eax, eax
je 0x504819
push eax
lea ecx, [esi + 0x114]
call fcn.00436f70
mov edi, eax
test edi, edi
jne 0x504728
mov eax, dword [esp + 0x84]
test eax, eax
je 0x504828
xor ebx, ebx
mov dword [eax], esi
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x50483d
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov byte [esp + 0x74], 1
test ebx, ebx
je 0x504850
mov eax, dword [ebx]
mov ecx, ebx
mov edx, dword [eax]
push 1
call edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x4c], vtable.cWCS.0
call fcn.0049ee80
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret