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

Disassembly:
push 0xffffffffffffffff
push 0x605ad6
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x7664f8]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x1c], esi
cmp dword [esi + 0x104], edi
je 0x5d7013
lea ecx, [esp + 0x20]
call fcn.0042cb70
add esi, 4
push esi
lea eax, [esp + 0x60]
push str.AppEventsSchemesNames_s
push eax
mov dword [esp + 0x178], edi
call fcn.0055c6b1
add esp, 0xc
push edi
lea ecx, [esp + 0x18]
push ecx
push edi
push 0x20006
push edi
push edi
push edi
lea edx, [esp + 0x78]
push edx
push 0x80000001
call dword [0x60700c]
test eax, eax
jne 0x5d700a
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d6fe0
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push 1
push edi
push edi
push eax
call dword [0x607014]
test eax, eax
je 0x5d701a
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x607004]
lea ecx, [esp + 0x20]
call fcn.0042cee0
xor eax, eax
jmp 0x5d71c8
mov edx, dword [esp + 0x14]
push edx
call dword [0x607004]
lea eax, [esp + 0x14]
push eax
push 0x20019
push edi
push str.AppEventsSchemesApps
push 0x80000001
call dword [0x607008]
test eax, eax
jne 0x5d700a
mov ebx, dword [section..rdata]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x18]
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x70]
push eax
push edi
mov ebp, 0x104
push ecx
mov dword [esp + 0x38], ebp
xor esi, esi
call ebx
test eax, eax
jne 0x5d7109
jmp 0x5d7080
lea eax, [esp + 0x5c]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d7098
sub eax, edx
push eax
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x48]
call fcn.00402a80
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 1
call fcn.0042dcf0
cmp dword [esp + 0x58], 0x10
mov byte [esp + 0x16c], 0
jb 0x5d70e2
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0055c72e
add esp, 4
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x70]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x38], ebp
call ebx
test eax, eax
je 0x5d7080
mov eax, dword [esp + 0x14]
push eax
call dword [0x607004]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ecx, ebx
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5d7188
xor ebp, ebp
cmp edi, eax
jb 0x5d7144
call fcn.0055cb74
mov esi, dword [esp + 0x2c]
cmp dword [esi + ebp + 0x18], 0x10
jb 0x5d7151
mov esi, dword [esi + ebp + 4]
jmp 0x5d7155
lea esi, [esi + ebp + 4]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.005d66f0
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ecx, ebx
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebp, 0x1c
cmp edi, eax
jb 0x5d7144
xor edi, edi
cmp esi, edi
je 0x5d71aa
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push esi
call fcn.0042c4c0
mov eax, dword [esp + 0x3c]
push eax
call fcn.0055c72e
add esp, 0x14
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.0055c72e
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.0055c6a2
add esp, 0x15c
ret